this post was submitted on 03 Oct 2023
1 points (100.0% liked)

Raspberry Pi Pico

303 readers
1 users here now

Unofficial Raspberry Pi Pico/RP2040 Forum on Lemmy.

Visit us on discord! @Discord

Other Lemmy Communities (not affiliated, see related post to make suggestions for changes)

General Electronics

Embedded (generic)

Embedded (hardware specific)

Radio Frequency / RF

founded 1 year ago
MODERATORS
 

Hi all. Tho I have this problem a long time, I try to ask here too.

When I use PicoProbe for debug my code with Visual Studio Code (or Codium), can't get serial monitor working on the target Pico.

I have hooked up everything correctly, the probe's Rx/Tx GPIOs are connected to the target's UART0 Tx/Rx correctly (checked it, Tx-Rx and Rx-Tx, swapped it, no data at all. Tried to touch the wires to random spots, garbage appeared on the serial monitor, so the probe is probably listening)

Using USB as UART, connected directly to the target device does give me serial output, but through the probe and with UART, absolutely nothing.

I used the 'hello_serial' example project, built it with Codium (or VSCode), using the same plugins the pico_installer would setup. (MS CMake Tools, MS C++ tools and Cortex debug).

Debugging with openocd, or just running the built firmware on it's own and listening to it with the probe has the same result: nothing.

Same on Windows, same on Linux.

Anyone has any idea? I can program the Picos this way, but I really need serial for debugging. I could use two USB cables, but soonly enough that won't work.

Am I missing something? I did lots of search, but this feature should just work.

edit: fixed some typos

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here