Hi, I got a new esp32 chip,
Trying to flash the code with JTAG options. The chip is fresh nothing is written into it.
when I tried to upload the new partition.bin using the following command
openocd -f board/esp32-wrover-kit-3.3v.cfg -c "program_esp filename.bin 0x10000 verify exit"
programming was finished but verify is getting failed.
the partition table is having ota partition included. I don't know whether that would make any diffrence.
I tried uploading bootloader.bin and app firmware all resulted in the same error.
what should I do? Is it not possible to upload new fresh chips using jtag?
esp32 -Jtag Programming
Re: esp32 -Jtag Programming
Hi kubera, are you able to run esptool.py tool to read flash contents from the chip? It may help determine why programming over JTAG is failing. For instance, try reading back the flash contents, and compare it with the binary file. See if flash is not programmed at all, or there are only some programming errors in bits/bytes.
Re: esp32 -Jtag Programming
Hi, thanks for the reply,ESP_igrr wrote: ↑Fri Aug 28, 2020 12:59 pmHi kubera, are you able to run esptool.py tool to read flash contents from the chip? It may help determine why programming over JTAG is failing. For instance, try reading back the flash contents, and compare it with the binary file. See if flash is not programmed at all, or there are only some programming errors in bits/bytes.
Would you please tell me how to read the flash contents using JTAG. Because i only have JTAG option available.
Re: esp32 -Jtag Programming
hi, I am also having the same issue. But once I program the chip using UART, from there onwards there is not issue with JTAG.
But when trying with JTAG alone , facing same issue. Don't know what is the problem.
But when trying with JTAG alone , facing same issue. Don't know what is the problem.
Re: esp32 -Jtag Programming
Yes but in my case I don't have uart options provided in the PCB. trying via JTAG. Can anyone help??
-
- Posts: 24
- Joined: Fri Dec 02, 2016 8:55 pm
Re: esp32 -Jtag Programming
Hi
For example you can read flash with
You can use OpenOCD flash read commands http://openocd.org/doc/html/Flash-Comma ... g-to-Flash.Yes but in my case I don't have uart options provided in the PCB. trying via JTAG. Can anyone help??
For example you can read flash with
Code: Select all
flash read_bank 0 filename.bin 0x10000 <size_of_bin>
Who is online
Users browsing this forum: No registered users and 156 guests