whitecatboard / whitecat-console

A command line tool for send and receive files to Lua RTOS compatible boards without an IDE
6 stars 8 forks source link

wcc fails on M5STACK #6

Open Mynogs opened 5 years ago

Mynogs commented 5 years ago

I try to flash my new M5CORE modul:

Type: 35
2019/08/19 17:15:39 detaching board ...
2019/08/19 17:15:39 closing serial port ...
2019/08/19 17:15:39 stop inspector ...
2019/08/19 17:15:40 downloading esptool from http://downloads.whitecatboard.org/esptool/esptool-windows.zip ...
2019/08/19 17:15:43 downloaded
2019/08/19 17:15:43 unpacking esptool ...
2019/08/19 17:15:44 downloading firmware from http://whitecatboard.org/firmwarev2.php?firmware=M5STACK...
2019/08/19 17:15:44 unpacking firmware ...
2019/08/19 17:15:44 board name:  M5STACK
Flasing last firmware
board upgradedAndre/AppData/The Whitecat Create Agent/tmp/firmware_files/flash_args: Das System kann den angegebenen Pfad nicht finden.

I used this many time with other board on this computer. No problems until now.

Mynogs commented 5 years ago

Hello, is there another way to flash the M5 firmware?

Mynogs commented 5 years ago

I think I found the problem: For the M5Stack the downloaded "firmware.zip" is empty (length 0). And it looks this case is not handled in moin.go