- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using a custom board with an EP1C12 a flash, and a SDRAM module.
I'm getting problems with the sdram module (seems that after download the elf via usb blaster to the sdram, the sdram gets corrupted). Is it possible to download the .elf to the onchip memory (instead of sdram or flash)? How can I set the reset address to the starting of the on chip memory? Thanks in advance, MarcoLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Macro,
I do not understand what you actually want to do. Since you have a flash in you custom board, why not use it to store both .sof and .elf image? The reset address can be set to the start address which .elf is stored in flash. I think, the real problem to you, is to set on-chip memory as running space of software due to error of sdram. This can be done in Nios II IDE, you can edit the system library property, link your elf to on-chip rom instead of sdram or ext_ram. Hope this helps a bit. Seu_xugh http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you Seu_xugh,
this is exactly what I need. I successfully compiled a small program that entirely runs on the onchip memory and now I'm able to make write/verify tests on the sdram. Cheers, Marco
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