ESP32-DIV icon indicating copy to clipboard operation
ESP32-DIV copied to clipboard

Why can't I burn successfully?

Open Lyf-54 opened this issue 1 year ago • 21 comments

Lyf-54 avatar Jun 01 '25 18:06 Lyf-54

Image

Lyf-54 avatar Jun 01 '25 18:06 Lyf-54

Use arduino ide to download software to board, if any question ask me

LTD284 avatar Jun 01 '25 20:06 LTD284

Use arduino ide to download software to board, if any question ask me

But if it's an esp32, why couldn't the .bin file just work as a firmware fash?

t1nkersec avatar Jun 02 '25 01:06 t1nkersec

Check the wiki to learn the correct burning posture. Adopting the approach in the project https://github.com/cifertech/ESP32-DIV/blob/main/Flash%20File/flash_download_tool_3.9.5.zip

WXLN avatar Jun 02 '25 07:06 WXLN

查看 wiki 以了解正确的燃烧姿势。在项目 https://github.com/cifertech/ESP32-DIV/blob/main/Flash%20File/flash_download_tool_3.9.5.zip 中采用该方法

I'm using flash.,Why is there an error?,Did you burn it successfully?

Lyf-54 avatar Jun 02 '25 07:06 Lyf-54

Why use "flash_download_tool" at all? There's a better way, using "esptool" is simpler. For example:
esptool -b 115200 write_flash --flash_size detect 0x8000 ESP32 - DIV.ino.partitions.bin 0x1000 ESP32 - DIV.ino.bootloader.bin 0x10000 ESP32 - DIV.ino.bin

silentfox2023 avatar Jun 02 '25 14:06 silentfox2023

If you do not have basic support, it is recommended to try the author's plan several times.You can also adopt the opinions from upstairs. But if the burning still cannot be completed, it is recommended to check if the hardware is correct.I found during the burning process that it is best to hold down the BOOT button before burning. Because it is also mentioned in the wiki that you cannot enter the burning mode by yourself, and you also need to watch the author's video, especially the last part. Complex operations may not be suitable for everyone. That will only lead to more problems.

Image Burning firmware is not difficult, as long as you follow the tutorial provided by the author. Many people fail to burn because they bought the wrong ESP 32. Or it may not have entered the burning mode correctly.

WXLN avatar Jun 02 '25 15:06 WXLN

Actual tests have found that both ESP32U and ESP32S can be successfully burn. In fact, for ESP32 derivatives including ESP32UE, any module with the code ESP32-D0WD (which can be checked using esptool flash_id) is compatible. These modules essentially only differ in chip packaging forms, specifically in whether the module is equipped with an onboard antenna.

In addition, most of the problems with failed burn are due to issues with the PCB. For example, poor soldering, the use of inferior components, etc. In fact, the original design supports automatic programming, which can be confirmed by checking the PCB design drawings. Therefore, please inspect your PCB. Good luck!

Finally, I would like to recommend the Bruce project. This project has a relatively large user base, rapid version updates, and a rich set of features. Its codebase is relatively mature, It's just not as cool as esp32div. It can run on devices such as the M5StickC PLUS2 and T-Embed, eliminating the need for PCB soldering.

Image Image Image

silentfox2023 avatar Jun 03 '25 03:06 silentfox2023

Actual tests have found that both ESP32U and ESP32S can be successfully burn. In fact, for ESP32 derivatives including ESP32UE, any module with the code ESP32-D0WD (which can be checked using esptool flash_id) is compatible. These modules essentially only differ in chip packaging forms, specifically in whether the module is equipped with an onboard antenna.

In addition, most of the problems with failed burn are due to issues with the PCB. For example, poor soldering, the use of inferior components, etc. In fact, the original design supports automatic programming, which can be confirmed by checking the PCB design drawings. Therefore, please inspect your PCB. Good luck!

Finally, I would like to recommend the Bruce project. This project has a relatively large user base, rapid version updates, and a rich set of features. Its codebase is relatively mature, It's just not as cool as esp32div. It can run on devices such as the M5StickC PLUS2 and T-Embed, eliminating the need for PCB soldering.

Image Image Image

Thank you for your in-depth explanation!!

May I ask if you used the current BOM and Gerber files to build the project? Also did you use a PnP file?

t1nkersec avatar Jun 03 '25 10:06 t1nkersec

Actual tests have found that both ESP32U and ESP32S can be successfully burn. In fact, for ESP32 derivatives including ESP32UE, any module with the code ESP32-D0WD (which can be checked using esptool flash_id) is compatible. These modules essentially only differ in chip packaging forms, specifically in whether the module is equipped with an onboard antenna.

In addition, most of the problems with failed burn are due to issues with the PCB. For example, poor soldering, the use of inferior components, etc. In fact, the original design supports automatic programming, which can be confirmed by checking the PCB design drawings. Therefore, please inspect your PCB. Good luck!

Finally, I would like to recommend the Bruce project. This project has a relatively large user base, rapid version updates, and a rich set of features. Its codebase is relatively mature, It's just not as cool as esp32div. It can run on devices such as the M5StickC PLUS2 and T-Embed, eliminating the need for PCB soldering.

Image Image Image

nice firmware on the div ;)

zRCrackiiN avatar Jun 03 '25 11:06 zRCrackiiN

Image

zRCrackiiN avatar Jun 03 '25 11:06 zRCrackiiN

I used the original author's bill of materials to ensure code compatibility and stability. However, except for the 100μF 50V capacitor, I think a 100μF 16V capacitor should be used instead. After all, I didn't have time to study someone else's code. In the end, I found that there was a problem with the original author's design, it's about the pin conflicts between the CC1101 and NRFL24L01P modules. I wonder if others have encountered the same issue.

My Issue:https://github.com/cifertech/ESP32-DIV/issues/35

By the way, I do manual soldering of components.

silentfox2023 avatar Jun 04 '25 06:06 silentfox2023

I used the original author's bill of materials to ensure code compatibility and stability. However, except for the 100μF 50V capacitor, I think a 100μF 16V capacitor should be used instead. After all, I didn't have time to study someone else's code. In the end, I found that there was a problem with the original author's design, it's about the pin conflicts between the CC1101 and NRFL24L01P modules. I wonder if others have encountered the same issue.

My Issue:https://github.com/cifertech/ESP32-DIV/issues/35

By the way, I do manual soldering of components.

Thanks for your response again! So you're saying that using 100μF 16V capacitor fixed the pin conflict issue as well?

I haven't placed an order yet and just want to double check if there's any hardware issues with the design of the product first!

t1nkersec avatar Jun 05 '25 22:06 t1nkersec

it wont fix conflict issues

zRCrackiiN avatar Jun 05 '25 23:06 zRCrackiiN

it wont fix conflict issues

Oof ☹️ Wonder if it's best to wait until Cifer makes a revision? Was just about to order the PCBs but I'll stay on hold for now then!

t1nkersec avatar Jun 09 '25 17:06 t1nkersec

@Lyf-54 something new here? I have the same problem.

DanielR92 avatar Jun 14 '25 10:06 DanielR92

Image

Just use 1 bin file (the firmware) and the address is 0

wfhstudio avatar Jun 26 '25 08:06 wfhstudio

When I flash the bin with adress 0, I get this in the serial output:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<\r><\n> invalid header: 0x75201007<\r><\n> invalid header: 0x75201007<\r><\n> invalid header: 0x75201007<\r><\n> invalid header: 0x75201007<\r><\n> invalid header: 0x75201007<\r><\n> invalid header: 0x75201007<\r><\n> invalid header: 0x75201007<\r><\n> invalid header: 0x7520ets Jul 29 2019 12:21:46<\r><\n>

DanielR92 avatar Jul 08 '25 17:07 DanielR92

"I used the original author's bill of materials to ensure code compatibility and stability. However, except for the 100μF 50V capacitor, I think a 100μF 16V capacitor should be used instead. After all, I didn't have time to study someone else's code. In the end, I found that there was a problem with the original author's design, it's about the pin conflicts between the CC1101 and NRFL24L01P modules. I wonder if others have encountered the same issue.

My Issue:https://github.com/cifertech/ESP32-DIV/issues/35

By the way, I do manual soldering of components."

How the hell did you manage to solder manually the USB-C 16 pin connector, the CP2102 and ESP32 WROOM module which both have an area to solder underneath? Man I am freaking out... I ruined all 5 pcb's. I soldered al the other parts but these made me go crazy. I wanted to order a new batch of pcb's just with these 3 components.. but I need a CPL or another file. I don't understand. Can somebody please advise? Update: I allready did the BOM file JLCPCB requires but for the CPL I need help with the coordinates only for these components(I know I said 3 but I just want to make shure ):

Image

If you DM me I will NOT tell any bad corporation or villainous people, I promise! 👯‍♂️

BannanaWithZipper avatar Sep 01 '25 07:09 BannanaWithZipper

You must be a beginner. You will understand this when you use the finished product. In fact, the designer Cifer has already started designing a new circuit board. There is a video of his on YouTube titled "I Fixed Everything Wrong with ESP32-DIV", which speaks for itself. Additionally, the CP2102 uses a QFN package, so you must use a hot air gun or a heating platform for soldering. Finally, it should be noted that all of Cifer's designs have a common issue: the pin 1 of the charging management chip TP4056 is left floating. This may cause TP4056 chips produced by some manufacturers to determine that there is a problem with the chip's operating temperature and thus stop working. Forgot to mention that for pins like those of TYPE-C, soldering needs to be done under a microscope. Alternatively, experienced technicians can also solder directly by applying solder with a knife-shaped soldering iron tip.

silentfox2023 avatar Sep 02 '25 07:09 silentfox2023