Forum Discussion
NiosII booting from on-chip memory SPI issue
- 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
Hi,
We want to check on these things again.
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.
2 . If above is true, can you try to perform test with the simple normal hello world prints and see if that can continue.
- Need to get information on this too.
Below this reply, we will post screenshot of our output prints that loops continuously.
- wwanalim_intel2 years ago
Contributor
Below is the output from the terminal that I copy paste into text file. Are we getting the same output?