Flash Backup empty?

Hello!

Thanks for the great project!

I have the problem that my flash dump (esp32) consists entirely of 0x00. This happens both when reading with
esptool.exe -b 115200 read-flash 0x0 0x800000 tb.esp32.bin
and via Teddycloud (using the standard method as well as the ESP32 Box Flashing / Revvox Flasher).

The wiring should be correct (I soldered wires onto it). I also get the following information:
Via esptool:
esptool.exe -b 115200 read-flash 0x0 0x800000 tb.esp32.bin
esptool v5.1.0
Connected to ESP32-S3 on COM3:
Chip type: ESP32-S3 (QFN56) (revision v0.1)
Features: Wi-Fi, BT 5 (LE), Dual Core + LP Core, 240MHz
Crystal frequency: 40MHz
MAC: ….

Via Teddycloud:
Chip-Typ esp32s3
Chip-MAC 34:85:1…
Flash-Größe 8192 KiB

teddycloud says afterwards (of course):
teddycloud | INFO |esp32.c:1380:esp32_get_partition| Search for partition ‘assets’
teddycloud | ERROR|esp32.c:1414:esp32_get_partition| Partition ‘assets’ not found
teddycloud | ERROR|esp32.c:1637:esp32_fat_inject| Asset partition not found
teddycloud | ERROR|esp32.c:1795:esp32_inject_ca| Failed to patch image
teddycloud | ERROR|handler_api.c:1450:handleApiESP32PatchFirmware| Failed to generate and inject CA
teddycloud | WARN |server_helpers.c:0806:httpServerUriNotFoundCallback| >> 404 /api/esp32/patchFirmware

Am I doing something fundamentally wrong?

My procedure:

  1. Disconnect both power supply and UART (USB)

  2. Connect UART to the Toniebox

  3. Connect UART to the PC

  4. Short J100 with a jumper (I soldered in a pin header)

  5. Connect the power supply

  6. Read out the flash

Thank you very much for your help!

Does the box still work?

if you read 00 always, this could mean that the flash was wiped unfortunately.

Good morning,

It was still working perfectly until yesterday morning, but apparently I bricked it afterwards (even though I never performed a flash process). You’re right — it no longer starts up properly. This is what comes in over the serial port (without the jumper):

invalid header▒ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40049b21
invalid header: 0xffffffff

with the J100 jumper set:

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0))
waiting for download
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0))
waiting for download
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xf (BROWNOUT_RST),boot:0x0 (DOWNLOAD(USB/UART0))
waiting for download

Is there anything I can still save?

seems like i need another esp32 box to read out the firmware and then use this one only with teddycloud ( https://forum.revvox.de/t/cannot-bring-toniebox-back-to-normal-mode/919/17 )

i also have a cc3200 box. could i use the certificate from this box?

i would be happy to get some pm if anyone can help me…