This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

printf debbung without uart

Hello all,
I would like to know if there is a way in the simulation with uVision to use a printf to display debugging information on window of uVision to a micro cortex m3 without committing a uart and without using ulink.
Tanks

Parents
  • Yes you can print to the command window without UART implementation. Look into the Function Editor in the Simulator. There is a printf function that only operates within the debugger.

    This is NOT the printf that outputs streams to a UART or a simulated UART. It is used only within a Signal or debugger Function to output to the command window. However, you can direct the command window to a file for saving if necessary.

    You can set a BreakPoint execute to fire off the debugger printf at selected loactions within you code.

    See the Debugger for details.

    Bradford

Reply
  • Yes you can print to the command window without UART implementation. Look into the Function Editor in the Simulator. There is a printf function that only operates within the debugger.

    This is NOT the printf that outputs streams to a UART or a simulated UART. It is used only within a Signal or debugger Function to output to the command window. However, you can direct the command window to a file for saving if necessary.

    You can set a BreakPoint execute to fire off the debugger printf at selected loactions within you code.

    See the Debugger for details.

    Bradford

Children
No data