Difficulty Connecting to ESP32-WROOM-32E
Posted: Sat Feb 13, 2021 11:50 pm
I have relatively new to the ESP line but with extensive experience with a lot of other microcontrollers. I am in the prototyping stage of what will eventually be several products.
I used the ESP32-DEVKit for feasibility and everything worked great but of course won't use the DEV board in the final product. I partially built up two boards that use the ESP32-WROOM-32E. The code that flashed the DEV board just fine will not load up to the module through the serial programmer.
I have done a lot of web searching. This is not an issue of not getting the device into boot mode. It does that just fine. If I bring the EN and the BOOT pins low and then release the EN pin, the modules comes back with:
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
But the connection is never made and I get the packet timeout error. (I use Visual Studio as the IDE but the same happens when I check through the Arduino IDE.)
When I just reset the module, it returns:
load:0x3fff001c,len:5656
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:13844
entry 0x40078fc4
[0;32mI (31) boot: ESP-IDF v3.0.7 2nd stage bootloader[0m
[0;32mI (31) boot: compile time 09:04:31[0m
[0;32mI (31) boot: Enabling RNG early entropy source...[0m
[0;32mI (35) boot: SPI Speed : 40MHz[0m
[0;32mI (40) boot: SPI Mode : DIO[0m
[0;32mI (44) boot: SPI Flash Size : 4MB[0m
[0;31mE (48) flash_parts: partition 0 invalid magic number 0x54ae[0m
[0;31mE (54) boot: Failed to verify partition table[0m
[0;31mE (59) boot: load partition table error![0m
user code done
Any assistance is appreciated.
I used the ESP32-DEVKit for feasibility and everything worked great but of course won't use the DEV board in the final product. I partially built up two boards that use the ESP32-WROOM-32E. The code that flashed the DEV board just fine will not load up to the module through the serial programmer.
I have done a lot of web searching. This is not an issue of not getting the device into boot mode. It does that just fine. If I bring the EN and the BOOT pins low and then release the EN pin, the modules comes back with:
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
But the connection is never made and I get the packet timeout error. (I use Visual Studio as the IDE but the same happens when I check through the Arduino IDE.)
When I just reset the module, it returns:
load:0x3fff001c,len:5656
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:13844
entry 0x40078fc4
[0;32mI (31) boot: ESP-IDF v3.0.7 2nd stage bootloader[0m
[0;32mI (31) boot: compile time 09:04:31[0m
[0;32mI (31) boot: Enabling RNG early entropy source...[0m
[0;32mI (35) boot: SPI Speed : 40MHz[0m
[0;32mI (40) boot: SPI Mode : DIO[0m
[0;32mI (44) boot: SPI Flash Size : 4MB[0m
[0;31mE (48) flash_parts: partition 0 invalid magic number 0x54ae[0m
[0;31mE (54) boot: Failed to verify partition table[0m
[0;31mE (59) boot: load partition table error![0m
user code done
Any assistance is appreciated.