-
-
Notifications
You must be signed in to change notification settings - Fork 24
firmware
Latest pre-built firmwares are provided in this repository.
If you have cloned this repository, the firmwares wil be in the MicroPython_K210_LoBo/firmware directory.
If you just want to flash the firmware, without cloning the whole repository,
download the firmware zip archive (MicroPython_firmwares) from this repository or from my server.
Extract the archive to some empty directory. Change the working directory to it.
Four prebuilt firmwares are provided:
-
default
default configuration, no sqlite module, one MicroPython task; in this directory -
sqlite
default configuration, sqlite module included, one MicroPython task; insqlite
directory -
twotasks
no KPU (8 MB SRAM used), sqlite module included, two MicroPython task; intwotasks
directory -
ota
default configuration, no sqlite module, one MicroPython task, OTA enabled; inota
directory
To flash the pre-built firmware to your K210 board, run (in this directory):
./ktool.py -p /dev/ttyUSB0 -b 2000000 -t MicroPython.bin
Change /dev/ttyUSB0 to the port used to connect to the board if needed.
You can replace MicroPython.bin
with sqlite/MicroPython.bin
, twotasks/MicroPython.bin
or ota/MicroPython.bin
to flash another firmware.
MicroPython.kfpkg
is also provided which contains prebuilt LittleFS internal file system.
To flash it, just replace MicroPython.bin
with MicroPython.kfpkg
.
OTA firmware is suposed to run with KBoot bootloader.
Kboot bootloader is included in ota/MicroPython.kfpkg
, when flashing for the first time, always use MicroPython.kfpkg
, not a MicroPython.bin
!
After the Kboot bootloader is flashed, you can later flash only the MicroPython binary using the command:
./ktool.py -p /dev/ttyUSB0 -a 65536 -b 2000000 -t MicroPython.bin
- Maix-M1 schematic
- Maix-Bit schematic
- Maix-Go schematic
- Kendryte K210 datasheet
- RISC-V ISA Design
- RISC-V ISA Manual
- Forum
- MicroPython documentation
If you find this project useful, you can contribute by making a donation