Since I flash new versions of MicroPython quite frequently, I decided to add a BOOT0 switch.
The pyboard is mounted in a SliceCase
The red wire runs to 3.3v and the white wire runs to the pull-down resistor on BOOT0. A dab of hot glue holds the switch in place on the processor.
Now I can enter DFU mode by pressing BOOT0 and RESET.
Adding a BOOT0 switch
Re: Adding a BOOT0 switch
Good use for MCU - now it doesn't take so much space uselessly
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: Adding a BOOT0 switch
Do you only have to short BOOT0 and 3V3 during reset, or does it have to be permanently shorted during the whole flashing process?
pyBoard v1.0 + LCD32MKv1.0 | WiPy + Expansion Board | GitHub
Re: Adding a BOOT0 switch
The BOOT0 switch only needs to be held while the board resets. You can release it a split second after releasing the reset button.
The red/yellow/blue LEDs turn on dimly, which is your indication that you're in DFU mode.
Incidently, with the new firmware, you can use: to enter into DFU mode, so the only time I need to use the BOOT0 switch now is when I totally bork the board.
The red/yellow/blue LEDs turn on dimly, which is your indication that you're in DFU mode.
Incidently, with the new firmware, you can use:
Code: Select all
pyb.bootloader()
Re: Adding a BOOT0 switch
Awesome! Thank you!
pyBoard v1.0 + LCD32MKv1.0 | WiPy + Expansion Board | GitHub