- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a niosII project running on a custom board, This custom board has a cyclone EP1C12Q240C7 and the same SRAM used on the NIOS Cyclone development kit. My problem is that my application won't run if my variables are located in the external RAM, but it works fine with Program memory and ROM (.text & .rodata) located in external ram. I was just wondering if anyone has any quick thoughts on what could be going on. Thanks.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi thowl,
> My problem is that my application won't run if my variables are located in > the external RAM, but it works fine with Program memory and ROM (.text & .rodata) > located in external ram. Make sure you include the boot copier (--boot option) when you generate your flash file -- otherwise your code will not be relocated when it's run from flash. Regards, --Scott- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I met the same problem during my development on DSP board. Something wrong with the timing settings in your CPU configuration, I think. You can create an IUL linking to your SRAM to make it sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey guys,
Thanks for the input. It turns out the problem was a timing issue, I created an IUL for my sram with modified timing specs and it seems to have fixed the problem.
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