Search found 206 matches

by ThomasESP32
Tue Feb 20, 2024 8:13 am
Forum: ESP-IDF
Topic: ESP32S3 - How to prevent the Esp32 chip from being reflashed via USB after the first USB flash ?
Replies: 2
Views: 593

Re: ESP32S3 - How to prevent the Esp32 chip from being reflashed via USB after the first USB flash ?

Good morning, I have read the first document you have sent and more preceisely the Development Mode Flash Encryption. At the moment, I have many questions on this part. Could you please explain me the following points ? 1) It is written : "After encrypt, physical readout of flash will not be suffici...
by ThomasESP32
Fri Feb 16, 2024 2:02 pm
Forum: ESP-IDF
Topic: ESP32S3 - How to prevent the Esp32 chip from being reflashed via USB after the first USB flash ?
Replies: 2
Views: 593

ESP32S3 - How to prevent the Esp32 chip from being reflashed via USB after the first USB flash ?

Good afternoon, In the componay I am working for, we are designing an electronic board using an Esp32S3. The Esp32S3 chip will be flashed via USB in production (With a firmware from the company). 1) Could you please explain me if there is a tool or a technical mean to read the firmware from the chip...
by ThomasESP32
Mon Jan 29, 2024 6:24 pm
Forum: ESP-IDF
Topic: Esp32S3 : Why time to write in Flash is so long ? Help !
Replies: 7
Views: 1216

Re: Esp32S3 : Why time to write in Flash is so long ? Help !

Let's say I have two instances of FAT FileSystems. The 1st one has the path : /flash1 The 2nd one has the path : /flash2 In order to open a file on FileSystem1, I can do : FILE *MyFile = fopen("/flash1/readme.txt", "a+b"); In order to write something in this file I can do : fwrite("Hello\0", 1, strl...
by ThomasESP32
Mon Jan 29, 2024 5:07 pm
Forum: ESP-IDF
Topic: Esp32S3 : Why time to write in Flash is so long ? Help !
Replies: 7
Views: 1216

Re: Esp32S3 : Why time to write in Flash is so long ? Help !

Ok thank you for your answer.
However, I have tried fsyc(fileno(FileStream)) but this does not flush the datas correctly in my file.

Any suggestion in order to deal with 10 bytes at each write ????

What can I do please ?
by ThomasESP32
Mon Jan 29, 2024 4:26 pm
Forum: ESP-IDF
Topic: Esp32S3 : Why time to write in Flash is so long ? Help !
Replies: 7
Views: 1216

Re: Esp32S3 : Why time to write in Flash is so long ? Help !

Moreover I have a problem. Could you please help me ? As I understand, f_sync() is part of the FAT FileSystem library. In my application, I have 3 different FileSystem registered using Virtual FileSystem. At the moment, I am using the standard C functions in order to access to the different file. Vi...
by ThomasESP32
Mon Jan 29, 2024 2:11 pm
Forum: ESP-IDF
Topic: Esp32S3 : Why time to write in Flash is so long ? Help !
Replies: 7
Views: 1216

Re: Esp32S3 : Why time to write in Flash is so long ? Help !

Do you have any example in order to use f_sync please ?
I have tried it but I didn't manage to sync the datas in the file.

Moreover, what do you mean about using bare partition. Do you think about
calling esp_flash_partition methods ?

Thank you.
by ThomasESP32
Mon Jan 29, 2024 10:54 am
Forum: ESP-IDF
Topic: Esp32S3 : Why time to write in Flash is so long ? Help !
Replies: 7
Views: 1216

Esp32S3 : Why time to write in Flash is so long ? Help !

Good morning, I am using an Esp32S3 and I have a problem when writing something in Flash memory. Could you please help me ? 1) 1st thing I have done : I defined a partition type FAT in flash memory. I mounted a FileSystem (Type FAT FileSystem) on this partition using Virtual File System component. M...
by ThomasESP32
Fri Jan 19, 2024 1:58 pm
Forum: ESP-IDF
Topic: Esp32S3 : How to access Read/Write flash partition from bootloader hook
Replies: 0
Views: 561

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

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 ...
by ThomasESP32
Fri Jan 19, 2024 11:33 am
Forum: ESP-IDF
Topic: Esp32S3 : Is it possible to activate an output of the chip before app_main() is executed ?
Replies: 7
Views: 1404

Re: Esp32S3 : Is it possible to activate an output of the chip before app_main() is executed ?

Thank you, Concerning the PullUp/Down value at reset, the thing is that I need a pin on which I could change the Pull Value (Sometime the pin should have a PullUp at reset and sometime the pin should have a pulldown at reset). And this on the same pin. You see what I mean ? I don't know if it is pos...
by ThomasESP32
Fri Jan 19, 2024 9:57 am
Forum: ESP-IDF
Topic: Esp32S3 : Is it possible to activate an output of the chip before app_main() is executed ?
Replies: 7
Views: 1404

Re: Esp32S3 : Is it possible to activate an output of the chip before app_main() is executed ?

Good morning, thank you for your answer. Could you please tell me more about that ? 1) Your speak about using a pin which has a PullUp by default. Do you know if there is this kind of Pin on the Esp32S3-WROOM1 module please ? If the answer is yes, do you know if we have the possibility to change the...