Closed kolod1am closed 2 years ago
Reporter is trying to flash ESP32 SoC with firmware binary been built for ESP8266 SoC.
Resolution: invalid
Many thanks for your guidance. I have got ESP32 binary from ESP32 binaries location, unzipped the archive and did separate esptool write_flash command for each line in firmware.txt. In my case it was:
~/.local/bin/esptool.py --chip esp32 -p /dev/ttyUSB0 write_flash 0xe000 boot_app0.bin
~/.local/bin/esptool.py --chip esp32 -p /dev/ttyUSB0 write_flash 0x1000 bootloader_dio_80m.bin
~/.local/bin/esptool.py --chip esp32 -p /dev/ttyUSB0 write_flash 0x8000 SoftRF.ino.partitions.bin
~/.local/bin/esptool.py --chip esp32 -p /dev/ttyUSB0 write_flash 0x10000 SoftRF.ino.bin
Now SoftRF is up and running. I can see its WiFi ESSID.
Hardware
Firmware version
SoftRF-firmware-v1.0.bin
Firmware settings
Does not apply.
Describe the bug
After writing SoftRF to the board, no WiFi SSID appears, no bluetooth device can be scanned. No wonder, as reading from ttyUSB0 gains:
and running.
The board came with Meshtastic. It boots and the bluetooth device appears in smartphone. So I know that the board is operational. I wonder where message "wrong chip id" comes from as I cannot find it in SoftRF source code nor in the binary.
To Reproduce
~/.local/bin/esptool.py --chip esp32 -p /dev/ttyUSB0 write_flash 0x00000 ESP32/SoftRF-firmware-v1.0.bin
This is what esptool reported:
Expected behavior
SoftRF boots to operational state.