Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

General • Re: Obtaining data on a PC through USB

$
0
0
For example, on STM32F411, the connection of the board to the USB did not affect the execution of the program.
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.

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)? 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?

Maybe Raspberry Pi Picos do the reset-on-connect thing that Arduinos do. I've never actually tested that

Statistics: Posted by scruss — Sat Mar 15, 2025 3:53 pm



Viewing all articles
Browse latest Browse all 7503

Trending Articles