Dear sir
For debugging i am using printf function .i have problem when it printing it prints only one character.
please answer me urgently . i am using TWR k60f120m tower board with on board osjtag with kinetic design studio
my code some portion
1) now i write my code
printf("ad7193 is ok\n\r\n\r");
else
printf("ad7193 is not ok");
for(;;) {
//Block(0xffff);
ad7193_setreg(AD7193_REG_MODE,0x090D56,3);
Block(0xffff);
value=ad7193_getreg(AD7193_REG_MODE,3);
printf(print,value);
Block(0xfffff);
value=ad7193_getreg(AD7193_REG_CONF,3);
printf("config reg\n\r %x\n\r",value);
value=ad7193_getreg(AD7193_REG_ID,1);
printf("Id reg\n\r %x\n\r",value);
value=ad7193_getreg(AD7193_REG_STAT ,1);
printf("stat reg\n\r %x\n\r",value);
Block(1000000);
2) ouput of console port
it prints only first character of printf
3) inserting my debugger image
4) inserting startup for semihosting enabling
Hi Lijo,
I have replied to your question on this other post:
Re: K60 PE Micro debugging not working console using printf
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------