Hi there,
Ive just started trying an UNO D1 R32 board and can't load sketches.
After a successful compile, it fails with "Unable to verify flash chip connection (Invalid head of packet (0x01): Possible serial noise or corruption.).
Because of the"Possible serial noise or corruption" message, I have tried different cables, and they have been working with an ESP 32 Dev Module.
I'm using a MacBook M1.
Arduino IDE V 2.04
Esp board core 2.0.7
I have tried configuring the IDE for both ESP32 Dev Module as recommended on a number of sites, and also for the WEMOS D1 R32 both with the same result.
When I press the reset button a lot of text is output to the console.
I will be very grateful for any help.
Geoff
The full output from loading and boot output below:
Compile and Load output:
... all the compilation and linking messages...
followed by:
Global variables use 22536 bytes (6%) of dynamic memory, leaving 305144 bytes for local variables. Maximum is 327680 bytes.
"/Users/geoff/Library/Arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool" --chip esp32 --port "/dev/cu.usbserial-110" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 "/private/var/folders/6p/phj0z64x2kddg7r3vpf8w3940000gn/T/arduino/sketches/D2295E8FD660C821CAE827D0E6875C9B/Test1.ino.bootloader.bin" 0x8000 "/private/var/folders/6p/phj0z64x2kddg7r3vpf8w3940000gn/T/arduino/sketches/D2295E8FD660C821CAE827D0E6875C9B/Test1.ino.partitions.bin" 0xe000 "/Users/geoff/Library/Arduino15/packages/esp32/hardware/esp32/2.0.7/tools/partitions/boot_app0.bin" 0x10000 "/private/var/folders/6p/phj0z64x2kddg7r3vpf8w3940000gn/T/arduino/sketches/D2295E8FD660C821CAE827D0E6875C9B/Test1.ino.bin"
esptool.py v4.5.1
Serial port /dev/cu.usbserial-110
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e0:e2:e6:0b:4e:08
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
A fatal error occurred: Unable to verify flash chip connection (Invalid head of packet (0x01): Possible serial noise or corruption.).
Failed uploading: uploading error: exit status 2
Output to the console when Reset button is pressed
09:46:15.615 -> �ets Jul 29 2019 12:21:46
09:46:15.615 ->
09:46:15.615 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
09:46:15.615 -> configsip: 0, SPIWP:0xee
09:46:15.615 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
09:46:15.615 -> mode:DIO, clock div:2
09:46:15.615 -> load:0x3fff0018,len:4
09:46:15.615 -> load:0x3fff001c,len:5564
09:46:15.615 -> load:0x40078000,len:0
09:46:15.615 -> load:0x40078000,len:13756
09:46:15.615 -> entry 0x40078fb4
09:46:15.615 -> e[0;32mI (29) boot: ESP-IDF v3.0.3 2nd stage bootloadere[0m
09:46:15.647 -> e[0;32mI (29) boot: compile time 08:53:32e[0m
09:46:15.647 -> e[0;32mI (29) boot: Enabling RNG early entropy source...e[0m
09:46:15.647 -> e[0;32mI (34) boot: SPI Speed : 40MHze[0m
09:46:15.647 -> e[0;32mI (38) boot: SPI Mode : DIOe[0m
09:46:15.647 -> e[0;32mI (42) boot: SPI Flash Size : 4MBe[0m
09:46:15.647 -> e[0;32mI (46) boot: Partition Table:e[0m
09:46:15.647 -> e[0;32mI (49) boot: ## Label Usage Type ST Offset Lengthe[0m
09:46:15.678 -> e[0;32mI (57) boot: 0 phy_init RF data 01 01 0000f000 00001000e[0m
09:46:15.678 -> e[0;32mI (64) boot: 1 otadata OTA data 01 00 00010000 00002000e[0m
09:46:15.678 -> e[0;32mI (72) boot: 2 nvs WiFi data 01 02 00012000 0000e000e[0m
09:46:15.678 -> e[0;32mI (79) boot: 3 at_customize unknown 40 00 00020000 000e0000e[0m
09:46:15.711 -> e[0;32mI (87) boot: 4 ota_0 OTA app 00 10 00100000 00180000e[0m
09:46:15.711 -> e[0;32mI (94) boot: 5 ota_1 OTA app 00 11 00280000 00180000e[0m
09:46:15.711 -> e[0;32mI (102) boot: End of partition tablee[0m
09:46:15.711 -> e[0;32mI (106) boot: No factory image, trying OTA 0e[0m
09:46:15.711 -> e[0;32mI (111) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x200f4 (131316) mape[0m
09:46:15.775 -> e[0;32mI (166) esp_image: segment 1: paddr=0x0012011c vaddr=0x3ffc0000 size=0x02d6c ( 11628) loade[0m
09:46:15.775 -> e[0;32mI (171) esp_image: segment 2: paddr=0x00122e90 vaddr=0x40080000 size=0x00400 ( 1024) loade[0m
09:46:15.775 -> e[0;32mI (173) esp_image: segment 3: paddr=0x00123298 vaddr=0x40080400 size=0x0cd78 ( 52600) loade[0m
09:46:15.809 -> e[0;32mI (203) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0xdf390 (914320) mape[0m
09:46:16.137 -> e[0;32mI (524) esp_image: segment 5: paddr=0x0020f3b0 vaddr=0x4008d178 size=0x01f14 ( 7956) loade[0m
09:46:16.137 -> e[0;32mI (527) esp_image: segment 6: paddr=0x002112cc vaddr=0x400c0000 size=0x00064 ( 100) loade[0m
09:46:16.137 -> e[0;32mI (539) boot: Loaded app from partition at offset 0x100000e[0m
09:46:16.137 -> e[0;32mI (539) boot: Disabling RNG early entropy source...e[0m
09:46:16.202 -> Bin version(Wroom32):1.1.2
09:46:16.202 -> I (638) wifi: wifi firmware version: de47fad
09:46:16.202 -> I (639) wifi: config NVS flash: enabled
09:46:16.202 -> I (639) wifi: config nano formating: disabled
09:46:16.202 -> I (649) wifi: Init dynamic tx buffer num: 32
09:46:16.202 -> I (649) wifi: Init data frame dynamic rx buffer num: 32
09:46:16.202 -> I (649) wifi: Init management frame dynamic rx buffer num: 32
09:46:16.234 -> I (655) wifi: wifi driver task: 3ffded44, prio:23, stack:3584
09:46:16.234 -> I (660) wifi: Init static rx buffer num: 10
09:46:16.234 -> I (663) wifi: Init dynamic rx buffer num: 32
09:46:16.234 -> I (668) wifi: wifi power manager task: 0x3ffdfe10 prio: 21 stack: 2560
09:46:16.301 -> I (731) wifi: mode : softAP (e0:e2:e6:0b:4e:09)
09:46:16.301 -> I (739) wifi: mode : sta (e0:e2:e6:0b:4e:08) + softAP (e0:e2:e6:0b:4e:09)
09:46:16.301 -> I (743) wifi: mode : softAP (e0:e2:e6:0b:4e:09)