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,
Below I will attached our screenshot on how we run the NiosII application from our side. By the way during our investigation, there is times when the output terminal on SBT did not show anything. We figure it out that the .sof is being compiled to be used to monitor the signal tap. Then we tried using other .sof file which is inside the "ready to test folder" and it working back which is there is output on the SBT.
- wwanalim_intel2 years ago
Contributor
Below I attached the screenshot of our step along with the file that you can use.