Altera_Forum
Honored Contributor
12 years agoCyclone V A7 problem downloading ELF to Nios in SBT
I have a 5CEFA7F31C6N design. I have it built and complied in Quartus and can load the SOF with a USB Blaster from either the Quartus programmer or from inside SBT Eclipse tools.. but I cannot get the ELF to load into the Nios. I have tried this on two boards and they both behave exactly the same.
I get the following error message when I try to load from inside SBT using "run as configuration" ... using cable "usb-blaster [usb-0]", device 1, instance 0x00 resetting and pausing target processor: failed leaving target processor paused
I have confirmed that conf_done is high (sof loaded), the core clock is present, the logical reset is high.... I notice that when I bring up the "create, manage, and run configurations" window with the "Target Connection" tab selected inside "Run Configurations" that the Processor name is not correct and the Byte Stream Device name is not correct either. I've also tried to load the flash directly through the Nios Command Shell but it has the same problem.. it cannot get the NIOS to cooperate.. It looks to me like either the Nios is not running or their is a mismatch in the actual names and expected names and that is causing the system to break down. The actual names are viper_nios for the processor and jtag_uart_0 for the stream device but the SBT Run shows them as nios2_0 & jtaguart_0 inside the window that I listed above... It will still "seem" to get a connection after trying a few times but when I hit run it chokes and throws up the error that I listed above. I've done a lot of other things to try and get around this but I'm hoping that somebody will have an idea or be able to point me in a new direction... Any ideas? david coburn