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

General discussion • Re: .uf2 upload problem (raspberry pi pico 2)

$
0
0
I own a rasberry pi pico 2 (RP2350) and i have a problem. By uploading the code through Thonny everything works. However, when I put the .uf2 file into the device's memory, the board will not turn on the code. What should I do to make the board automatically turn on the code after uploading to the device.
If you are using uPython then the firmware looks to first execute BOOT.PY then MAIN.PY. You can pass GLOBAL variables from the first to the second. You need to follow this convention. See https://docs.micropython.org/en/v1.9.3/ ... cript.html

Also, the official interface is MPREMOTE. Use this to find problems that IDE's don't. See https://docs.micropython.org/en/latest/ ... emote.html

Statistics: Posted by DS256 — Fri Dec 27, 2024 7:24 pm



Viewing all articles
Browse latest Browse all 6059

Trending Articles