Skip to content
Discussion options

You must be logged in to vote

I don't completely understand this because mboot isn't supposed to be able to overwrite itself, but I suspect your best bet is to attempt to re-install mboot. Normally you'd do this via the st bootloader, but you can also do this from MicroPython using fwupdate.py

$ cd ports/stm32/mboot
$ make -j BOARD=PYBD_SF3
$ gzip build-PYBD_SF3/firmware.dfu
$ mpremote fs cp fwupdate.py build-PYBD_SF3/firmware.dfu.gz :
$ mpremote
>>> import fwupdate
>>> fwupdate.update_mboot('firmware.dfu.gz')

Replies: 5 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@jimmo
Comment options

@vijay-packetp
Comment options

@jimmo
Comment options

@jimmo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jimmo
Comment options

Answer selected by vijay-packetp
@jimmo
Comment options

@jimmo
Comment options

Comment options

You must be logged in to vote
4 replies
@jimmo
Comment options

@vijay-packetp
Comment options

@jimmo
Comment options

@vijay-packetp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants