ESP32 PoE - cannot read mac address

Started by FinalD, May 05, 2021, 06:19:18 PM

Previous topic - Next topic

FinalD

Hello,

I bought 3 ESP32-PoE but I cannot flash anything on them.

I tried to break it down and I cannot even read the MAC address (with esptool):

esptool.py -p COM3 --connect-attempts 1 --trace read_mac
esptool.py v3.0
Serial port COM3
Connecting...TRACE +0.000 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.001 Read 22 bytes:
    000000d50000c0ff 0000000080c1f8ff | ................
    00000000a0fd                      | ......
TRACE +0.000 Read invalid data:
    000000d50000c0ff 0000000080c1f8ff | ................
    00000000a0fd                      | ......
TRACE +0.000 Remaining data in serial buffer:
.TRACE +0.133 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.000 Read 25 bytes:
    00000000c2fd0000 00c0f0f500000080 | ................
    e0baffff00000b55 ff               | .......U.
TRACE +0.000 Read invalid data:
    00000000c2fd0000 00c0f0f500000080 | ................
    e0baffff00000b55 ff               | .......U.
TRACE +0.000 Remaining data in serial buffer:
.TRACE +0.160 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.000 Read 21 bytes:
    00000081d5000000 c0f1eb0040c0d8fd | ............@...
    000000c1f5                        | .....
TRACE +0.000 Read invalid data:
    00000081d5000000 c0f1eb0040c0d8fd | ............@...
    000000c1f5                        | .....
TRACE +0.000 Remaining data in serial buffer:
.TRACE +0.140 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.000 Read 21 bytes:
    00000080f4ff0000 0061fefd000081f1 | .........a......
    ff0080a5fd                        | .....
TRACE +0.000 Read invalid data:
    00000080f4ff0000 0061fefd000081f1 | .........a......
    ff0080a5fd                        | .....
TRACE +0.000 Remaining data in serial buffer:
.TRACE +0.170 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.000 Read 19 bytes:
    0000020bfd000000 e1f70000e1fd0080 | ................
    f1f8ff                            | ...
TRACE +0.000 Read invalid data:
    0000020bfd000000 e1f70000e1fd0080 | ................
    f1f8ff                            | ...
TRACE +0.000 Remaining data in serial buffer:
.TRACE +1.933 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.001 Read 17 bytes:
    00000000e1fc0000 80e0f1000000fa00 | ................
    00                                | .
TRACE +0.000 Read invalid data:
    00000000e1fc0000 80e0f1000000fa00 | ................
    00                                | .
TRACE +0.000 Remaining data in serial buffer:
_TRACE +0.136 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.000 Read 18 bytes:
    000060e0fb000000 e1ff0000c50010f0 | ..`.............
    fdff                              | ..
TRACE +0.000 Read invalid data:
    000060e0fb000000 e1ff0000c50010f0 | ..`.............
    fdff                              | ..
TRACE +0.000 Remaining data in serial buffer:
_TRACE +0.152 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.008 Read 20 bytes:
    00000081fd0080e2 f9000004f1ff0000 | ................
    8070f800                          | .p..
TRACE +0.000 Read invalid data:
    00000081fd0080e2 f9000004f1ff0000 | ................
    8070f800                          | .p..
TRACE +0.000 Remaining data in serial buffer:
_TRACE +0.160 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.000 Read 21 bytes:
    000080f5000040e0 fdef000080c0e0f5 | ......@.........
    ff008181e5                        | .....
TRACE +0.000 Read invalid data:
    000080f5000040e0 fdef000080c0e0f5 | ......@.........
    ff008181e5                        | .....
TRACE +0.000 Remaining data in serial buffer:
_TRACE +0.160 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes:
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.000 Read 20 bytes:
    0000a0f5ff000040 e1fe00008080e1ff | .......@........
    000014ff                          | ....
TRACE +0.000 Read invalid data:
    0000a0f5ff000040 e1fe00008080e1ff | .......@........
    000014ff                          | ....
TRACE +0.000 Remaining data in serial buffer:
_

A fatal error occurred: Failed to connect to Espressif device: Invalid head of packet (0x00)


If I use putty to print out the serial port communication I get the following output:

Using 'COM3' as serial port.
Showing logs:
[17:47:58][17:48:00][17:48:02][17:48:06][17:48:06]
[17:48:06]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[17:48:06][17:48:06][17:48:06][17:48:06]?[17:48:06]header: 0xffffffff
[17:48:06][17:48:06][17:48:06][17:48:06][17:48:06]
[17:48:06]rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[17:48:06][17:48:06][17:48:06][17:48:06][17:48:06][17:48:06][17:48:06]Ë…header: 0xffffffff
[17:48:06][17:48:07][17:48:07]
[17:48:07]rst:0x10 (RTCWDT_RTC_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
[17:48:07]waiting for download
[17:48:15

I also tried an external USB power (max 9,9W) but the error is the same.

The behaviour is the same for each of the 3 ESP32 devices on two different PCs with two different USB to TTL adapters.

Does anybody knows this behaviour or have any idea what I can try to find the error?

Thanks a lot.

LubOlimex

> The behaviour is the same for each of the 3 ESP32 devices on two different PCs with two different USB to TTL adapters.

What happens if you use regular USB cable and connect it to the micro USB port of the board (instead of USB-TTL adapters)?
Technical support and documentation manager at Olimex