- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the IDE to complier a programme.error:elf2fash boot copier overlaps
data in flash .I don't know why? My programme have problem or other ? Thank you!Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you set the proper Address in the SOPC Builder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you use the flash programmer, it populates the beginning of the flash with the bootloader. Have you stuck some read only data in that location?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BadOmen,
Here you say the bootloader which is at the beginning of the flash. I want to know what bootloader here it is.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't want to be running code out of flash (you can but it's better just to populate it into the flash and let the bootloader move it).
You also can't have your write data section in flash either (flash doesn't support writing a single byte or word at a time). If you want to avoid having the bootloader there, you can manually do the flash programming from the Nios II SDK shell and when you go to create the software flash file you do not specify the --boot command (watch the command lines in the IDE to see what the flash programmer is doing). But before doing that can you explain exactly where you want to boot from, and where you have located your code (text, rodata, rwdata). Also are you using a reference design or is this a system you made yourself?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I also got the same error information when I am running the Nios II IDE with the "Hello World" Example.
The followings are those error message, could you take a quick look at them? Kind Status Priority Description Resource In Folder Location Error *** [ext_flash.flash] Error 5 hello_world_0 Error 53 PM - (??) elf2flash: Error generating Flash file, exiting[Jan 19, 2005 2] hello_world_0 line 58 Error 53 PM - (??) elf2flash: Error reading boot copier[Jan 19, 2005 2] hello_world_0 line 58 Error 53 PM - (??) elf2flash: Read error: File not found: /boot_loader_cfi.srec[Jan 19, 2005 2] hello_world_0 line 58
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