Not able to program esp32d0wdq6 standalone ic

Sharmilaa
Posts: 8
Joined: Thu Jul 23, 2020 7:19 am

Not able to program esp32d0wdq6 standalone ic

Postby Sharmilaa » Thu Jul 23, 2020 10:51 am

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 !
Attachments
freesnippingtool.com_capture_20200723155652.png
schematic
freesnippingtool.com_capture_20200723155652.png (89.45 KiB) Viewed 9245 times

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby ESP_Sprite » Fri Jul 24, 2020 9:03 pm

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.

Sharmilaa
Posts: 8
Joined: Thu Jul 23, 2020 7:19 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby Sharmilaa » Sat Jul 25, 2020 1:39 am

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.
Attachments
freesnippingtool.com_capture_20200725070728.png
esp32
freesnippingtool.com_capture_20200725070728.png (110.55 KiB) Viewed 9066 times

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby ESP_Sprite » Sat Jul 25, 2020 2:53 pm

Hard to say. Do you get any activity on the serial port at all?

Sharmilaa
Posts: 8
Joined: Thu Jul 23, 2020 7:19 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby Sharmilaa » Sat Jul 25, 2020 4:10 pm

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"

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby ESP_Sprite » Sun Jul 26, 2020 12:46 pm

Can you see the crystal oscillating at 40MHz?

Sharmilaa
Posts: 8
Joined: Thu Jul 23, 2020 7:19 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby Sharmilaa » Sun Jul 26, 2020 2:09 pm

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 ?

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby ESP_Sprite » Sun Jul 26, 2020 8:25 pm

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.

Sharmilaa
Posts: 8
Joined: Thu Jul 23, 2020 7:19 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby Sharmilaa » Mon Jul 27, 2020 1:11 am

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.

Sharmilaa
Posts: 8
Joined: Thu Jul 23, 2020 7:19 am

Re: Not able to program esp32d0wdq6 standalone ic

Postby Sharmilaa » Mon Jul 27, 2020 5:02 am

is there any way to burn a bootloader for esp32 using arduino uno ? (arduino uno as ISP programmer) ...

Who is online

Users browsing this forum: No registered users and 56 guests