Forum Discussion
tehjingy_Altera
Regular Contributor
2 years agoHi
For the printf did you include the <stdio.h> header or the <alt_printf.h> header? Could you use the alt_printf.h one.
You do not need to mkimage it, you just flash the binary into the qspi using the command:
quartus_hps -c 1 -o pv -a 0x000000 <<application.binary>>
Regards
Jingyang, Teh
CAlex
Contributor
2 years agoHi,
I didn't use the alt_printf.h for there will be some mutliple include issues.
I've read the alt_printf.h and found out for cycloneVsoc ALT_PRINTF() is the same as printf.
"quartus_hps -c 1 -o pv -a 0x000000 <<application.binary>>" for this order, where should I use it?
SPL or debug console? Or other places?
Reguards.