Hi
Try to upload the sample blink to the Maixduino and get the following error, looks like kflash requires a firmware parameter and its not being supplied. Any ideas
The exact same program and com port works with ArudinoIDE.
Version: 1.57.0 (user setup)
Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
Date: 2021-06-09T17:18:42.354Z (3 days ago)
Electron: 12.0.9
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19043
Building in release mode
Compiling .pio\build\sipeed-maixduino\src\Blink.cpp.o
Linking .pio\build\sipeed-maixduino\firmware.elf
Building .pio\build\sipeed-maixduino\firmware.bin
Checking size .pio\build\sipeed-maixduino\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [ ] 0.5% (used 32424 bytes from 6291456 bytes)
Flash: [ ] 0.4% (used 68255 bytes from 16777216 bytes)
Configuring upload protocol...
AVAILABLE: iot-bus-jtag, jlink, kflash, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, sipeed-rv-debugger, tumpa
CURRENT: upload_protocol = kflash
Looking for upload port...
Use manually specified: COM5
Uploading .pio\build\sipeed-maixduino\firmware.bin
usage: kflash.py [-h] [-p PORT] [-f FLASH] [-b BAUDRATE] [-l BOOTLOADER]
[-k KEY] [-v] [--verbose] [-t] [-n] [-s] [-B BOARD] [-S SLOW]
firmware
kflash.py: error: the following arguments are required: firmware
*** [upload] Error 2
Thanks
Marcus