Esp32S3 : How to access Read/Write flash partition from bootloader hook

ThomasESP32
Posts: 214
Joined: Thu Jul 14, 2022 5:15 am

Esp32S3 : How to access Read/Write flash partition from bootloader hook

Postby ThomasESP32 » Fri Jan 19, 2024 1:58 pm

Good afternoon,

Using the Esp32S3 chip, I managed to define a "bootloader_component"
"bootloader_components/my_boot_hooks/hooks.c"

where a placed a void bootloader_before_init(void) {}
definition.

From that function, I would like to read and write some bytes of a flash partition.
Do you know how to do it ?
Which are the functions that I can call ?=from this point ??

Thank you for your help,

Thomas TRUILHE

Who is online

Users browsing this forum: Baidu [Spider] and 69 guests