Code: Select all
ninja: no work to do.
.
esptool.py v2.9-dev
Serial port COM6
Connecting...
.
.
A fatal error occurred: Invalid head of packet (0x65)
Adding "flash"'s dependency "all" to list of commands with default set of options.
Executing action: all (aliases: build)
Running ninja in directory d:\flowcode9\esp32\wom\wee\build
Executing "ninja all"...
Executing action: flash
Running esptool.py in directory d:\flowcode9\esp32\womd\wee\build
esptool.py failed with exit code 2
Programming Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_prog.bat reported error code 0x1
Autoclose turned off
FINISHED
I've changed the Flash size to 4Mbyte in idf.py menuconfig (the ESP is 4Mb), but I don't know what to try next...
In Arduino serial monitor I get this message after it boots:
Code: Select all
ets Jul 29 2019 12:21:46
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5564
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
[0;32mI (29) boot: ESP-IDF v3.0.3 2nd stage bootloader[0m
[0;32mI (29) boot: compile time 08:53:32[0m
[0;32mI (29) boot: Enabling RNG early entropy source...[0m
[0;32mI (34) boot: SPI Speed : 40MHz[0m
[0;32mI (38) boot: SPI Mode : DIO[0m
[0;32mI (42) boot: SPI Flash Size : 4MB[0m
[0;31mE (46) flash_parts: partition 3 invalid magic number 0xebeb[0m
[0;31mE (52) boot: Failed to verify partition table[0m
[0;31mE (57) boot: load partition table error![0m
user code done