- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,all
I want to add update function to my EP2C8 + EPCS16 board using rs232 port, I know that the fpga configuration data is stored in EPCS16 from address 0x0, when power on, EP2C8 read configuration data from epcs16 by AS mode, I want to place another configuration data copy in epcs16, and when power on, fpga read the new configuration data, how can I do it ? or anyone know other update solution? thanks very muchLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far as programming the EPCS16 device, you may be able to use the Serial Flash Loader megafunction:
http://www.altera.com/literature/an/an370.pdf or you could use the "EPCS Device Controller Core" (SoPC builder based) http://www.altera.com/literature/hb/nios2/n2cpu_nii51012.pdf For loading multiple configurations, you'll need to use the remote update core: http://www.altera.com/literature/ug/ug_altremote.pdf Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for your reply.
It's useful for me. ep2c8 must read config data from address 0 of the epcs16 ? can i change ep2c8 read config data from another address when power on?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On power-on no. However, using the remote update core, you can specify a different address and trigger a reconfig.
So 1 - On power-on, config data at address 0 will always be booted first. 2 - If you want to boot from another address other than 0, write to the remote update core to specify the new address and trigger a reconfig. Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks
I think I should do these to implement system updating by rs232 : rs232 receive config data and software (flash file) from PC, and store it in sdram, after all bytes are received successful, using epcs hal funtion write config data to epcs16 from address 0, and write software image follow it. then restart system, That's OK ? Any other better idles ?
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