Why does the printf debug only print weird symbols?

I am trying to debug a programm written by someone else using the printf debug function, but I only get weird symbols. Is it possible that the baudrate is not correct? 

Parents Reply
  • no matter which baudrate I set, I don't get clear text

    So think about what that tells you: there must be some systematic flaw in your setup.

    Check your clock source!

    Have you used an oscilloscope or analyser to check what baud rate you are actually getting?

    With the simulated debugger I get clear text,

    That's because the simulator just uses the PC's COM port - it's not actually simulating the operation of the UART.

    A uLink-ME is fine for this.

Children
More questions in this forum