- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
Here is what i am trying to do - I have reference design which runs perfectly well on my Cyclone V GT board using quartus 13.0. Now, I have used the same design to be used by Quartus 14.1 version. Before using the design i have upgraded all the IPs being used and made the signals compatible accordingly. After generating the design - when i tried to build the design using Nios II there was error while downloading elf. Error states that - it is trying to access a memory which is beyond the on chip memory range of .bss. What can be done?:confused: Anmag.Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you re-generate the BSP and recompile your application code after re-generating the design?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I did that.
When moving a design from Quartus 13.0 to Quartus 14.1, does the onchip memory requirement also increase, although no changes are done in the design?? If yes, why does this happen?? I was able to overcome the issue by reducing my design, but its not something I wish to do. Is there some other way out??- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The GCC compiler upgrades from 4.1.2 (13.0) to 4.8.3 (14.1). Whenever the GCC compiler updates, software sizes changes, where in this case, it increases the size. You could try to tweak some BSP settings via the BSP editor. ie reduced driver, optimization, small c library, clean exit.
Can you increase on-chip memory size? Another (not recommended) way that you can do is to keep the 13.0 elf and use it on the 14.1 hardware. Since your system has no changes and the base addresses are the same. Again, I need to stress that this is not recommended.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't yet gone through with the BSP settings change, I will try with these options.
Yes, I can increase the on chip memory size and in fact I tried with that option too. With increase memory size the nios2 is not giving any issue and everything is fine with that. But with this change I am not able to program the Cyclone V GT board using new sof. The programming stops after reaching 94%. Any idea why this is happening??- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any error message given?
Can you try with different USB cable? Maybe you can reduce JTAG speed in USB blaster II (I think). How many % of the memory utilization with the increased memory?
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