We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi guys, So I'm facing an annoying issue using printf in keil. The IDE does not show what I print, furthermore it just keeps printing continuously random characters like these : ™™™™úú±úy±q±ù±± ± ± ™ú± ± ± ‘±± ™üý™±±ú±úú %±üú©ú±™þ All I did was declare a variable, and then print it : printf(" %d \n", testVariable);
- I included stdio.h - I created a file with the fputc function But still nothing works. Does anyone have any idea?.. Thank you very much !
keil : 5.23 StM32373C eval board.
Evidently using the SWV via "Serial debug (printf) viewer", and not a USART
Ok I thought USART BR. So if I understand clearly ( according to that link too : http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_serialwin.htm ) the printf viewer is a serial windows which means it has its own BR ( the one Andrew was talking about previously)?
So my problem was probably that this BR value was(might still be) wrong, which brings me to the following question : where do I set this BR value? Secondly how do I know the correct value to put it ? How do I know the BR of the << device >> the printf is communicating with?
Thank you very much guys !