I’m trying to flash my new TiltBridge using BrewFlasher desktop and the web version. The desktop never worked, it always said “Firmware flashing FAILED. esptool.py raised an error. Try flashing again, or try flashing with a slower speed.” I tried slower speeds and always got the same error - even at the lowest speed! The web version seems to have worked - at least it said it was successful and didn’t throw any errors. Although now it’s not creating the wifi point. Here are the details:
This is the hardware:
I connected the parts and connected it to a PC via USB and the light on the board started flashing. I started the BrewFlasher (v.1.5.2 for windows) app and used these options:
Serial Port- Auto-select port
Project - TitlBridge
Device Family - ESP32 (the only one available)
Firmware- TiltBridge - v1.2.1 - TFT
Baud Rate- 230400
Erase flash- Yes, wipes all data
This is the error log:
Verifying firmware list is up-to-date before downloading...
Downloading firmware...
Downloading partitions file...
Downloading SPIFFS/LittleFS file...
Downloading bootloader file...
Downloading otadata file...
Downloading main firmware file...
Downloaded successfully!
Command: esptool.py --chip esp32 --baud 74880 --before default_reset --after hard_reset write_flash 0x10000 C:\Users\kimpa\AppData\Local\Temp\firmware.bin 0x8000 C:\Users\kimpa\AppData\Local\Temp\partitions.bin 0x1000 C:\Users\kimpa\AppData\Local\Temp\bootloader.bin 0x330000 C:\Users\kimpa\AppData\Local\Temp\spiffs.bin 0xe000 C:\Users\kimpa\AppData\Local\Temp\otadata.bin --erase-all -fs detect
esptool.py v4.6.2
Found 1 serial ports
Serial port COM4
Connecting.......
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:f0:9e:71:a0:10
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 16MB
Erasing flash (this may take a while)...
Chip erase completed successfully in 0.0s
Compressed 12 bytes to 20...
Writing at 0x00010000... (100 %)
Wrote 12 bytes (20 compressed) at 0x00010000 in 0.0 seconds (effective 6.1 kbit/s)...
File md5: 0ebab0ef3c513282b156b91165674d34
Flash md5: 713e15afa2ab6727d6f09e517f5e7a25
MD5 of 0xFF is c1fa1f22fa36d331be4027e683baad06
Firmware flashing FAILED. esptool.py raised an error.
Try flashing again, or try flashing with a slower speed.
I tried slower speeds, and the BETA D32_Pro_TFT firmware and got the same errors.
I then tried using the web version of BrewFlasher with the same options as above and clicked on “Flash to Controller.” It started, showed it’s progress, finished a couple minutes later and said it was successful. The log said:
MicroPython v1.20.0-124-g17c3f6b6aa on 2023-05-08; LOLIN D32 PRO with ESP32
Type "help()" for more information.
>>> ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x37 (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
IO, clock div:1
load:0x3fff0030,len:4560
load:0x40078000,len:14548
ho 0 tail 12 room 4
load:0x40080400,len:3928
entry 0x4008062c
MicroPython v1.20.0-124-g17c3f6b6aa on 2023-05-08; LOLIN D32 PRO with ESP32
Type "help()" for more information.
The thing is now it doesn’t seem to be creating the wifi point. It does not show up on the PC I did all of the above, my phone (android) nor a Chromebook. The screen on the board is blank as well, though, this may be normal at this point.
Any ideas, anyone?
Thanks!