- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HELP!
When I down my program to the My board---ep2c35, I set .text and .rodata into flash memory in System Library Page.Built project.............OK! RUN AS HARDWARE...................Verify failed! SO I set .text and .rodata into SSRAM,all is fine. why?why I can not place .text data into flash?Anyone have some advice?Thanks!Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can only set these segments to 'flash' if you actually burn them to flash. The normal download step tries to simply write the contents of the segments as if the destination was RAM.
If you are planning to burn your program to flash and run out of flash you need to run FlashProgrammer first, then you can run the program. I'm not sure what to suggest for the download portion, you could try letting it download and see if the verify works since the correct stuff should be in flash at that point. One thing to be aware of is that you won't be able to run out of a flash chip and write data to it from the same program, at least not in general. I fell into that trap before. If you are planning to burn your program to flash and run out of SRAM you don't have to do anything, just run flash programmer, set your reset address to flash and you're good to go.
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