- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear experts,
I am using Cyclone III with EPCS64 (64Mbits). In SOPCbuilder, I chose "Assign base addresses" and have my epcs_flash_controller configured at base=0x00201800 end=0x00201FFF. My question: 1) Why the size of memory is only 0x7FF (0x00201FFF - 0x00201800)? Is this less than 64Mbits? Thank you in advance for the help. Best regards, SkwLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
the EPCS controller is the controller for the serial flash. It contains some registers for reading and writing data from and to the serial flash. This is done via serial SPI communication. So you do not need an address space which matches the size oft he flash. The epcs controller also contains 1KB of internal RAM for a bootloader. If properly configured the bootloader copies an application from the serial flash to a memory in the system and jumps to the startaddress of the application.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HJS,
Thank you for the reply. Do you have any good reference about how to write bootloader to load image from EPCS to external RAM? Thanks, Skw- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Skw,
if you use the simple standard method for loading the fpga configuration and the software from the serial flash you do not have to write yout own bootloader. This is all done automatically. What you have to do is set the cpu reset vector (suppose you are using the nios) to the epcs_flash_controller. And you have convert your software elf file to a flash file which directly start after the fpga configuration in the flash (sof2flash). Regards, HJS
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