Altera_Forum
Honored Contributor
12 years agoalt_printf() not working properly
Hi, I have a problem with the alt_printf() function on my Altera Cyclone IV EP4CE22E22 and Nios II. I got jtaguart as stdout, I've done a simple code like this:
# include "sys/alt_stdio.h" int main() { char a=0x44; alt_printf("A=%x;",a); while(1); return 0; } and as a result I obtain: A=; without any number, what can I do?