RPi Pico rp2040 "USB ENABLE RESET VIA BAUD RATE"

I'm attempting to migrate a sketch written for the Ardiuino NANO to the RPi RP2040 Pico microcontoller. The sketch compiles, uploads and runs on the Pico, as long as the host computer to which it connects is not connecting via at 1200 baud - at which time Pico spontaneously reboots.

The RPi Pico has a clever software reset "feature" that reboots the Pico when a remote client connects at 1200 baud. As best I can determine, that feature can be over-ridden with a setting in:
...\Arduino15\packages\rp2040\hardware\rp2040\3.3.2\pico_sdk\rc\rp2_common\pico_stdio_usb\include\pico\stdio_usb.h
by changing:
#ifndef PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE
#define PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE 1
#endif
to:
#define PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE 0

I have changed that setting and it doesn't seem to make any difference. The Pico successfully connects as long as the baud rate is not 1200.

What am I doing wrong? Is there something I need to set somewhere else to activate this change in the resulting .UF2 file?

Thanks in advance for any assistance,

-larry

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.