program Micropython board without using the USB connector #14484
Replies: 3 comments 4 replies
-
You have to use the SWD pins to upload the firmware. As part of that, it can have embedded Python code, so called frozen bytecode. That will be bundled with the firmware when you build the firmware. Only main.py and boot.py cannot be embedded as frozen bytecode. But that could be changed in main.c. If UART pins are available in our set-up you can have a REPL prompt at an UART. Then you can upload Python code during runtime, e.g. using mpremote. |
Beta Was this translation helpful? Give feedback.
-
Are you using a wifi network with your boards? If you can get the webrepl running in your firmware, you could use that to modify .py files. |
Beta Was this translation helpful? Give feedback.
-
I got it working! I used a Pico Probe to load the .elf file onto the Pico. Now I want to try this using the Adafruit ItsyBitsy RP2040..... Thanks for the help!! |
Beta Was this translation helpful? Give feedback.
-
Hello, all!
I could use some help, please.
I'm wondering if it is possible to program an RP2040 board without using the USB connector?
I have a few boards in mind: Pi Pico, Adafruit ItsyBitsy RP2040, & the Adafruit Feather RP2040. The board will be in a housing that will not allow access to the USB connector or the boot select button.....
I think I can use the SWD pins on the board to program them, but I think that only applies to programming in C. Correct?
Is there a way to program the board in Micropython without using a USB connector?
Thanks in advance for any help!
--Don
Beta Was this translation helpful? Give feedback.
All reactions