You, right. The stm32 board has the special usb settings.Is there anything special in the boot.py of your STM32F411 board? The STM32 ports of MicroPython have some extra features enabled via the pyb.usb_mode() function. The way STM32 USB port is handled is rather different to the way it's done on the Raspberry Pi Pico.
Yes, my Pico has an independent power supply. Board gathers the data from the sensors and prints it to a display and the console (serial-port). And I connect the board to PC for an errors check, sometimes.To help me understand your setup, is it something like a battery-powered data logger that periodically prints a line of data to the console (= USB serial port)?
Your understanding absolutely right. One correction, the board resets when my IDE (PyCharm or Thonny) connects to the Pico via REPL. USB cable connection has no influence to the program execution.On STM32, you can connect the board and it outputs some data based on ongoing state, but with the Raspberry Pi Pico, the board resets and those data are lost?
Statistics: Posted by nesergen — Sun Mar 16, 2025 10:45 am