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

Nucleo L0 Debugging with USB

Hi All,

I'm going through the STM32Cube RTC example, and I'd like to see the output of the sprintf in the serial window. I opened the serial window and nothing is being printed.

I've been reading around debugging using uVision IDE, and read that serial window works with ULink and some other debug adapters but I didn't read anything about USB.

Currently I'm just using the mini usb port of the STM32L053R8 Nucleo board to program the chip. Is it possible with USB to read serial data?

If not, is there a way to set up a COM to PC without using debug adapters?

Thanks!

Parents
  • The Sprintf does not print to a com port. What it does is write to the ram. You can see the
    string if you look in the memory window at the address of the pointer to the string.

    in the memory window there is a text box where you should put the variable name of the string pointer. the data should appear in the memory window as the program is executing in debug.

Reply
  • The Sprintf does not print to a com port. What it does is write to the ram. You can see the
    string if you look in the memory window at the address of the pointer to the string.

    in the memory window there is a text box where you should put the variable name of the string pointer. the data should appear in the memory window as the program is executing in debug.

Children