Page 1 of 2

Not able to program esp32d0wdq6 standalone ic

Posted: Thu Jul 23, 2020 10:51 am
by Sharmilaa
Hello everyone,

I m doing an iot product in which i m using esp32d0wdq6 controller. i have designed my own board and soldered an new bare ic, spi flash ic (W25Q40CLSNIG-Winbond), etc... Since this is bare ic, i dont know whether boot loader is present already or not, so i tried to burn bootloader with the following connections using TTL converter,

vcc - 3.3v
gnd - gnd
tx - rx
rx-tx
en- 3.3v (with external pull up)
gpio0 - gnd

my settings in arduino ide as follows,
board : ESP32 dev module
programmer: AVRMSP mk11
Ide version : ARDUINO1.8.9 Hourly build
Java version : java 8 update 261

but i m not able to burn bootloader into the ic. please help me to solve the issue. After burning the bootloader, i need to flash my own program into it.

i have shared my schematics.

Thanks in advance !

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Fri Jul 24, 2020 9:03 pm
by ESP_Sprite
The bootloader for the ESP32 is in ROM; you cannot and do not need to burn it. I see you connect EN to 3.3V; this won't work as the ESP32 needs a reset pulse to get it started. Suggest you follow the hardware design guidelines on the schematic needed there instead; basically, you'll also need a capacitor from CHIP_PU to Gnd.

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Sat Jul 25, 2020 1:39 am
by Sharmilaa
thank you for the reply.. i will try your suggesstion. but gave the same connections as mentioned above to the esp32 module (please refer the attachment) . it works very well.
i do not understand this. please explain me.

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Sat Jul 25, 2020 2:53 pm
by ESP_Sprite
Hard to say. Do you get any activity on the serial port at all?

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Sat Jul 25, 2020 4:10 pm
by Sharmilaa
No I didn't get any response from the esp32 on the terminal. Instead I m getting error.
Error : "A fatal error occurred : Failed to connect esp32: Timeout waiting for the packet"

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Sun Jul 26, 2020 12:46 pm
by ESP_Sprite
Can you see the crystal oscillating at 40MHz?

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Sun Jul 26, 2020 2:09 pm
by Sharmilaa
Yes. Now I have replaced the working Ic on the same board. But now it is working fine. From this I can able to understand there is a problem in the bootloader ( not entering into bootloader). Is my understanding correct ?

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Sun Jul 26, 2020 8:25 pm
by ESP_Sprite
It depends. If your ESP32 is working (and GPIO15 is not grounded), you always should see some kind of boot message on the UART. If you don't see that, something more basic is going on. If you see that but you cannot upload a program, likely something is going wrong with entering download mode.

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Mon Jul 27, 2020 1:11 am
by Sharmilaa
Thanks for the explanation. But how to fix this error (not entering download mode) in my new ic. Should I burn a bootloader again ? Please suggest me a way to fix this.
Thank you.

Re: Not able to program esp32d0wdq6 standalone ic

Posted: Mon Jul 27, 2020 5:02 am
by Sharmilaa
is there any way to burn a bootloader for esp32 using arduino uno ? (arduino uno as ISP programmer) ...