- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The NiosII's program is located in the onchip_memory. So I generate the SOF file with the onchip_memory.hex file and use it for downloading the FPGA. The FPGA starts but the program sems to be always reseted and when I disconnect the USB blaster it stops. My design sends messages on hyperterminal with an UART and I can see the well coming message always displayed. I use QuartusII9.1 sp1 and NiosIIe without debugger.
The program works well when I use IDE Eclipse to download it. Thanks for your help.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have a watchdog?
Do you have a JTAG Uart in your system? Is your sof time-limited?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have watchdog or Jtag UART (only 3 poi 1 flash controller 1 UART232 & 1 onchipmemory). I use niosII/e & the SOF isn't time limited. I have just find a problem with the functions I used to access to the flash. When I remove all these functions the Nios program didn't reboot anymore, but I always need the USB Blaster. I noticed that the function alt_epcs_flash_init() didn't work when I used the Nios IDE to download the program but it works when the program is storaged in the onchip_memory with the hex file. I'm doing others test to understand. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In fact I needed to force the epcs_flash_programmer in the altera_avalon_epcs_f.c file. The access to flash is ok and alt_epcs_flash_init() didn't work (as previously). Does anybody know the differences between the functions of the altera_avalon_epcs_f.c file and epcs_commands.c. It remains only the pb with the USB blaster.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page