Page 1 of 1

ESP32C3 UART write problem

Posted: Wed Apr 24, 2024 11:25 am
by Sazzad07
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.

Re: ESP32C3 UART write problem

Posted: Thu Apr 25, 2024 1:31 am
by ESP_Sprite
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.