Hello guys,
I've pretty new to all this, but I'm facing an issue.
I've bought my esp from Here
It came, I installed Arduino and set all up. For my test i flashed the wifi scan, and it all went great. I opened the serial monitor and it really showed the networks.
I forgot the esp32 until my st7735s display came. And I went to flash the test, and I coulnt connect the esp to the computer ( using the same cable as in first case 100% data cable)
I tried downloading CH343SER driver and install no luck. I found some old cable from phone and re did the leads ( cable was torn) And got it to show PORT in Arduino, and no warning triangles in device manager.
But again I couldn't flash anything to my esp, every time it would fail.
I've tried using that webpage that allows you to flash the firmware. I used the github link that was on the page that i've bought the device. It flashed but in the end hash wasn't identical.
This message i get when i try to flash the st7735s test
[Codebox]Sketch uses 241505 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 17072 bytes (5%) of dynamic memory, leaving 310608 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.3
Serial port COM3
Connecting.........
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 40:91:51:8a:9c:5c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 512000
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0004bfff...
Flash params set to 0x022f
Compressed 17440 bytes to 12090...
Writing at 0x00001000... (100 %)
Wrote 17440 bytes (12090 compressed) at 0x00001000 in 0.3 seconds (effective 495.8 kbit/s)...
File md5: 3d991d6012e5acca07766bd4637106d7
Flash md5: 8785be97c13df4f5d447df39d5391007
MD5 of 0xFF is 8785be97c13df4f5d447df39d5391007
A fatal error occurred: MD5 of file does not match data in flash!
A fatal error occurred: MD5 of file does not match data in flash!
[/Codebox]
Is there a way I could save the esp32 or can i trash it ?
ESP32 issue cannot flash
Re: ESP32 issue cannot flash
Sketch uses 690197 bytes (52%) of program storage space. Maximum is 1310720 bytes.
Global variables use 37488 bytes (11%) of dynamic memory, leaving 290192 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.3
Serial port COM3
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
WARNING: Detected crystal freq 41.01MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: 40:91:51:8a:9c:5c
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000b9fff...
Flash params set to 0x022f
Compressed 17440 bytes to 12090...
Writing at 0x00001000... (100 %)
Wrote 17440 bytes (12090 compressed) at 0x00001000 in 1.3 seconds (effective 109.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 393.6 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 837.5 kbit/s)...
Hash of data verified.
Compressed 695968 bytes to 454815...
Writing at 0x00010000... (3 %)
Writing at 0x0001b784... (7 %)
Writing at 0x00027ce6... (10 %)
Writing at 0x0002f1d7... (14 %)
Writing at 0x00034a85... (17 %)
Writing at 0x0003a2a8... (21 %)
Writing at 0x0003f829... (25 %)
Writing at 0x00044a42... (28 %)
Writing at 0x00049c35... (32 %)
Writing at 0x0004edf9... (35 %)
Writing at 0x00054153... (39 %)
A fatal error occurred: Failed to write compressed data to flash after seq 10 (result was C100: Unknown result)
A fatal error occurred: Failed to write compressed data to flash after seq 10 (result was C100: Unknown result)
Global variables use 37488 bytes (11%) of dynamic memory, leaving 290192 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.3
Serial port COM3
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
WARNING: Detected crystal freq 41.01MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: 40:91:51:8a:9c:5c
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000b9fff...
Flash params set to 0x022f
Compressed 17440 bytes to 12090...
Writing at 0x00001000... (100 %)
Wrote 17440 bytes (12090 compressed) at 0x00001000 in 1.3 seconds (effective 109.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 393.6 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 837.5 kbit/s)...
Hash of data verified.
Compressed 695968 bytes to 454815...
Writing at 0x00010000... (3 %)
Writing at 0x0001b784... (7 %)
Writing at 0x00027ce6... (10 %)
Writing at 0x0002f1d7... (14 %)
Writing at 0x00034a85... (17 %)
Writing at 0x0003a2a8... (21 %)
Writing at 0x0003f829... (25 %)
Writing at 0x00044a42... (28 %)
Writing at 0x00049c35... (32 %)
Writing at 0x0004edf9... (35 %)
Writing at 0x00054153... (39 %)
A fatal error occurred: Failed to write compressed data to flash after seq 10 (result was C100: Unknown result)
A fatal error occurred: Failed to write compressed data to flash after seq 10 (result was C100: Unknown result)
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 issue cannot flash
If the CH343SER still is on the board, it may interfere with your external serial converter.
Re: ESP32 issue cannot flash
I only see chip CH1902X. The issue is now even with windows drivers what ever i install I get device cannot start Code10. I like have 3 different cables and non of them don't seem to work anymore. I get constant red light on my esp32 boardESP_Sprite wrote: ↑Sun Jul 31, 2022 12:31 amIf the CH343SER still is on the board, it may interfere with your external serial converter.
Re: ESP32 issue cannot flash
It seems I bricked the esp somehow.
When I try to flash bootloader its gets stuck at uploading stub.
I've tried on linux, flashtool, python to flash...
EDIT:
I somehow managged to fix it.
I used flashtool with luanode.bin file ( that was in the description on the add)
1.) I kept EN button and Erased - It completed but I couln't flash- Dont know why
2.) I opet arduino IDE and flashed bootloader on 40mhz and the lowest bitrate speed.
3.) I unplugged all devices that were in my laptop usb ports, and mannaged to flash a program. Yeyyy
When I try to flash bootloader its gets stuck at uploading stub.
I've tried on linux, flashtool, python to flash...
EDIT:
I somehow managged to fix it.
I used flashtool with luanode.bin file ( that was in the description on the add)
1.) I kept EN button and Erased - It completed but I couln't flash- Dont know why
2.) I opet arduino IDE and flashed bootloader on 40mhz and the lowest bitrate speed.
3.) I unplugged all devices that were in my laptop usb ports, and mannaged to flash a program. Yeyyy
Who is online
Users browsing this forum: Bing [Bot] and 106 guests