- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am fresh in FPGA design. Right now, I am updating the sof n elf file to the FPGA board by the USB Blaster and the Flash Programmer. I would like to updated these files by the RS232, and I will write a simple PC software for the update. And I want the board to start-up when it's power on. So, should I first put everything to flash memory? Create a boot loader to load the flash to RAM when the board powered on? And if I want to update, can I put everything into the flash n then reset the board? Do anyone have experience n which documents should I refer to? Thanks a lotLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This particular feature has been addressed many times on the forum. Refer to the following:
http://www.alteraforum.com/forum/showthread.php?t=4799&referrerid=2226 http://www.alteraforum.com/forum/showthread.php?t=4192&referrerid=2226 http://www.alteraforum.com/forum/showthread.php?t=20623&referrerid=2226 In fact just to a google search on "NIOS" and "Remote Update" Basically you have to worry about 3 things: 1 - Downloading the fpga and NIOS software images to the board via RS232. Obviously you're going to have to write your own software for this (both on PC and NIOS) 2 - Program the fpga and software images into flash. You're using a NIOS so using the CFI flash controller or EPCS controller is your easiest bet. 3 - Triggering a reconfiguration once you have downloaded the image. Now you haven't stated what your configuration scheme is or what type of flash you are using. Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I did search in google but I dont know the key words "Remote Update" :P, thx for telling me that
i am using the CFI contorller and I hv 128Mb flash memory. What is a configuration scheme?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Configuration scheme refers to the method used for configuring the FPGA. Depending on the device you are using, options are Active Serial, Passive Serial, Active Parallel, Passive Parallel.
Which FPGA are you using. Is some other device apart from the FPGA pulling the data from flash and configuring the FPGA or is the FPGA doing the work itself? Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thx Jake,
I am using Active Parallel, Cyclone III, EP3C120F780, I want the FPGA do the work itself I added the UART(RS-232 Serial Port) already and I can use this to receive data from PC- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I believe you'll want to also use the Cyclone III remote update core:
http://www.altera.com/literature/ug/ug_embedded_ip.pdf Jake
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page