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 Fathulnaim,
Yes I have a max10 development kit as well. I have duplicated the issue before on another board using 19.1 lite.
Yes it works as shown in(20_1_spi_160124_nios_console). However I have to check ignore mismatched system ID and ignore mismatched system timestamp in the debug configuration as shown. If not there would be an error.
Regards,
Reuben Goh