ESP32C3 UART write problem

Sazzad07
Posts: 1
Joined: Wed Apr 24, 2024 10:07 am

ESP32C3 UART write problem

Postby Sazzad07 » Wed Apr 24, 2024 11:25 am

1. i entered into the bootloader following([esp32c3 bootloader][/https://docs.espressif.com/projects/esp ... bootloader])

2. I have followed the UART protocol [Serial Protocol][/https://docs.espressif.com/projects/esp ... tocol.html]

3. then I used MEM_BEGIN, MEM_DATA command so that i can get response.
4. I received Response from the ESP UART without any error [response][/https://docs.espressif.com/projects/esp ... nse-packet]

you can see the picture for the MEM_DATA received Response
[img][/MEM_DATA_received_Response]. This received MEM_DATA Response did not have any error.


However, the problem is: the data is not flashed into the ESP32 ROM.
Note: starting flash address was 0x00000000

Do you have any idea why the data is not written in the Flash?

Thank you in advance.
Attachments
0x07_dload_done.png
MEM_DATA_received_Response
0x07_dload_done.png (208.31 KiB) Viewed 430 times

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

Re: ESP32C3 UART write problem

Postby ESP_Sprite » Thu Apr 25, 2024 1:31 am

That is because, according to the docs you provided, MEM_DATA loads data to RAM, not flash. Btw, we have existing flashing code in C, if that's what you need.

Who is online

Users browsing this forum: axellin, Baidu [Spider] and 63 guests