How to update pyborad firmware
Reason
We need to use the async
module for some advanced multiprocess usage.
The Official Documentation
https://github.com/micropython/micropython/wiki/Pyboard-Firmware-Update
Install dfu-util
sudo apt install dfu-util
Download firmware
Go to https://micropython.org/download/all
Download a dfu file that fits your board.
Let your board get into DFU mode
This step varies depending on different boards.
Backup or Restore your old firmware
Backup:
sudo dfu-util --alt 0 --upload pyboard-original.dat -s:524288
Restore:
sudo dfu-util --alt 0 -D pyboard-original.dat -d 0483:df11 -s 0x8000000
Upgrade your pyboard firmware
sudo dfu-util --alt 0 -D pybv11-20200902-v1.13.dfu