esp32 not responsing

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
kr-g
Posts: 37
Joined: Sun Dec 01, 2019 7:52 pm
Contact:

esp32 not responsing

Post by kr-g » Sat Nov 21, 2020 7:11 pm

i do have a strange behaviour with my esp32 board.
it stopped responding over serial.
also erase flash with esptool do not work

Code: Select all

esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v3.0
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
when i connect with mpycntrl

Code: Select all

python -m mpycntrl -f -tr -port /dev/ttyUSB0
and press then RST it gives the following output
rst:0x1 (POWERON_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:5148
load:0x40078000,len:14040
load:0x40080400,len:3764
entry 0x40080630
I (608) psram: This chip is ESP32-D0WD
I (609) spiram: Found 64MBit SPI RAM device
I (609) spiram: SPI RAM mode: flash 40m sram 40m
I (612) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (619) cpu_start: Pro cpu up.
I (623) cpu_start: Application information:
I (628) cpu_start: Compile time: Sep 2 2020 03:05:32
I (634) cpu_start: ELF file SHA256: 0000000000000000...
I (640) cpu_start: ESP-IDF: v4.0.1
I (644) cpu_start: Starting app cpu, entry point is 0x40082d40
I (0) cpu_start: App cpu up.
I (1520) spiram: SPI SRAM memory test OK
I (1521) heap_init: Initializing. RAM available for dynamic allocation:
I (1521) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (1527) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (1533) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (1539) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (1545) heap_init: At 3FFCAF38 len 000150C8 (84 KiB): DRAM
I (1552) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1558) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1565) heap_init: At 4009AD20 len 000052E0 (20 KiB): IRAM
I (1571) cpu_start: Pro cpu start user code
I (1590) spi_flash: detected chip: generic
I (1590) spi_flash: flash io: dio
I (1591) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
MicroPython v1.13 on 2020-09-02; ESP32 module (spiram) with ESP32
Type "help()" for more information.
with mpfshell ...

Code: Select all

mpfshell ttyUSB0
it hangs forever.

i have upgraded esptool.py, but this also not resolved the problem...

Code: Select all

esptool.py version
esptool.py v3.0
3.0
one remark:
after it occured i connected with WebRepl and deleted "boot.py" - but no effect :-/

any idea ???

kr-g
Posts: 37
Joined: Sun Dec 01, 2019 7:52 pm
Contact:

Re: esp32 not responsing

Post by kr-g » Sun Nov 22, 2020 3:51 am

another remark:

when running

Code: Select all

esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
the green led blinks.

Post Reply