- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
my system is a Cyclone 3 FPGA with external SDRAM for memory, with a EPCS64 attached for configuration and code storage. I am programming via a JTAG attached byteBlaster. I can run/debug the code using the NIOS toolset, but if I try and run the system standalone then the code does not appear to run. i.e. disconnect the byte blaster and re-power the system. In standalone mode the FPGA definitely is programmed - lots of LEDS flash and some built in test occurs. Running Quartus 13.1 Web Edition on Win XP 32 bit. Thanks AlunLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you used the flash programmer to program your system's CFI or EPCS flash? In other words, how do you expect that external SDRAM to be populated with code if that code doesn't reside in some sort of non-volatile memory and get loaded into SDRAM?
If you've already managed the above properly, you could be seeing some sort of unlicensed core issue. Cheers! slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All this has worked before. I am updating the toolsets from using Quartus 9.1. This has not been easy.
I am sure all the hardware works. Using 9.1 I can program the EPCS etiher through JTAG or using active serial and the code runs. Using 13.1 I can program the EPCS etiher through JTAG or using active serial and the code doesn't run. I guess I'm missing something in the BSP setup - but where ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check if Nios reset address matches EPCS base address.
Also check if you are using the correct EPCS boot loader. When you boot from jtag, can your code access EPCS?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK found it - had my doh moment.
Problem was I hadn't included the elf file in the flash programmer 'files to convert' section. :oops: So a picnic problem. On to the next one. Thanks for all the suggestions Alun
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