Forum Discussion
reubengoh
Occasional Contributor
2 years agoNiosII booting from on-chip memory SPI issue
Hi all, I am using quartus prime 19.1 lite, and I am trying to load a simple SPI program that sends SPI commands using NIOS II processor. The board that I am using is DECA Max10 Development Board. I...
- 2 years ago
Hi all,
Just an update to this issue.
The problem has been resolved by disabling the alt_printf statement in my C code. My .pof works now, and it can send the spi commands after power cycling the board.
My guess is that as there is no communication between the board and the nios2 terminal, the alt_printf pointer got lost when executing the function. Hence when loading .pof, all alt_printf must be disabled.
Regards,
Reuben Goh
reubengoh
Occasional Contributor
2 years agoHi Fathulnaim,
1 . Does NiosII output prints using .pof continuos or stopped after 53 lines as well?
- Can check this from the terminal in Nios II SBT. After programming the .sof (the file that you run earlier which give 53 line of output), run as hardware in SBT, and uncheck the .elf
I did the steps above but I do not get any output in the terminal in Nios II SBT. I uncheck the Download ELF to selected target system(as attached)
Regards,
Reuben Goh