Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI am back again without any clue...
Thanks for system console tool info Daixiwen, I didn't know this functionality. I made my program fit the onchip memory (reset_vector -> epcs) (c++, exit, clean_exit disabled / jtag_small_driver / alt_printf), and it ... works. It reads and writes the whole sram (I used 3 data values : 0x55aa55aa, 0xaa55aa55 and data=x for @ddr=x). One interesting thing is that when I use IDE+.sof it works well, but when I use boot from EPCS, nios boot but crash without reaching the end of sram (I know that the program starts and crash during reading/writing sram, but I don't know when). Something is wrong, but what ? The same program (compiled with all functionalities) in sram which rd/wr onchip works well both with IDE and EPCS methods. Does it works because the program is smaller than my project ? Quartus & bsp editor setting are very similar so I don't understand why my project doesn't work. I have also checked schematics, connections quality on the board. The more I try different things, the less I see the solution. Maybe I should have asked it for christmas ^^