2014-04-12 01:37 AM
2014-04-12 04:38 AM
Whatever your tool chain, you fail to provide any association between your USART output routines, and those the tool uses for stdout (putchar, puts, printf, etc), review documentation related to targeting, and board support. Give the awkward clock setup, I might assume CooCox?
Also, I would recommend front testing for TXE, rather than back testing for TC2014-04-12 05:45 AM
I would recommend you to try semihosting first, then ITMing and leaving uarting for the very end when everything earlier works as expected.
2014-04-15 06:57 AM
Hello Brutte, hello everyone :)
In debug mode with semihosting activated printf work fine, adding previously this lineSH_SendChar(c);
at PrintChar function inside printf.c I don't what do you want to say with ITming ¿? More ideas?? Thanks in advance for your help..2014-04-15 07:32 AM
I would recommend you to try semihosting first, then ITMing and leaving uarting for the very end when everything earlier works as expected.
Because ITM via SWD/SWV is totally simple and not fraught with all kinds of issues of it's own?http://www.keil.com/pack/doc/cmsis/Core/html/group___i_t_m___debug__gr.html
http://www.keil.com/appnotes/files/apnt_230.pdf