Hi,
I designed custom board using ESP32-WROOM-32U-N16. I connected UART communication to the external programmers (to save space on the board) I also connected IO0 to switch to pull it to the GND (as said in data sheet). I also made EN pin high with 10 k resistor and 0.1 uF capacitor. I can successfully connect it and program it first time (I am using esp-mdf) and after that I can just open serial monitor and check logs etc but I just cannot program it again. I get this: "A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x49)" and head of packet is always different and I still push IO0 to the GND to enable UART programming but it just do not work. I do not know what am I doing wrong.
Cannot program the board second time
Cannot program the board second time
- Attachments
-
- Zrzut ekranu 2022-09-12 o 14.38.29.png (195.11 KiB) Viewed 1700 times
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: Cannot program the board second time
Do you have a schematic? Reverse engineering a PCB layout is a bit complicated...
Re: Cannot program the board second time
Please send us UART0 log when you connect GPIO0 to 0, I want to check which mode ESP32 boots.
Re: Cannot program the board second time
Problem solved I need to turn device on while holding boot0 button on my board not while uploading the sketch and second problem FTDI did not have enough power to power the device with sensors attached
Who is online
Users browsing this forum: Bing [Bot] and 106 guests