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

show debug information

Hello,

I want to install printf("hallo welt %d\n", intvariable) in my code for debug information. Where can I see this information when I have no usart? Is there a command line in uvision where I can see this?

Bernd

Parents
  • Where can I see this information when I have no usart?

    Since you didn't specify a processor type, it's a bit hard to give a definite answer. It depends on the type of chip and emulator.

    You may be able to modify the printf() function to use a different type of interface, or emulate a UART in software on one of the processor pins (fairly easy to do for transmit, but quite a bit of work if you want to receive anything).

Reply
  • Where can I see this information when I have no usart?

    Since you didn't specify a processor type, it's a bit hard to give a definite answer. It depends on the type of chip and emulator.

    You may be able to modify the printf() function to use a different type of interface, or emulate a UART in software on one of the processor pins (fairly easy to do for transmit, but quite a bit of work if you want to receive anything).

Children