Search found 15 matches

by kokonuts
Wed May 03, 2023 5:15 pm
Forum: Hardware
Topic: ESP32-S3: GPIO0 pull-down Issue
Replies: 5
Views: 4210

Re: ESP32-S3: GPIO0 pull-down Issue

I am having the same issue. How did you fix it?
by kokonuts
Sat Mar 11, 2023 10:36 am
Forum: ESP-IDF
Topic: Why doesn't NVS Encryption use the standard Flash Encryption mechanism?
Replies: 10
Views: 11469

Re: Why doesn't NVS Encryption use the standard Flash Encryption mechanism?

Hi, I was wondering the same thing and I landed here. So if generic flash encryption is now supported by nvs out-of-the-box, why do the docs still ask for the whole mess of adding own keys for NVS encryption? What is the downside of following your modification of " remove this line " to get it to w...
by kokonuts
Thu Mar 02, 2023 6:12 am
Forum: ESP-IDF
Topic: Why factory MAC address is not write protected in efuse?
Replies: 0
Views: 680

Why factory MAC address is not write protected in efuse?

By running this command: espefuse.py summary
I can see:
MAC (BLOCK1) Factory MAC Address = f4:12:fa:50:31:b0 (OK) R/W

If the efuse is "burnt" at the time of production, how come it shows R/W ? According to docs, it should be R/-
Or am I missing something ?
by kokonuts
Sun Feb 26, 2023 1:17 pm
Forum: ESP-IDF
Topic: Why doesn't NVS Encryption use the standard Flash Encryption mechanism?
Replies: 10
Views: 11469

Re: Why doesn't NVS Encryption use the standard Flash Encryption mechanism?

Ok so since this commit https://github.com/espressif/esp-idf/commit/aca9ec28b3d091a73605ee89ab63f8f76a996491, it appears the generic flash encryption is now supported by nvs out-of-the-box, since the partition api now supports both raw and non-raw read/write methods, where the non-raw methods use e...
by kokonuts
Wed Feb 08, 2023 1:15 pm
Forum: ESP-IDF
Topic: Why do I need thread safety if Symmetric Multiprocessing protects memory
Replies: 7
Views: 2924

Re: Why do I need thread safety if Symmetric Multiprocessing protects memory

ok regardless of the implications. Just to improve my understanding. In the case I mentioned, where a single task only deals with the global variable, it is impossible for the same task to be writing and reading at the same time, regardless of the number of cores. Is my understanding correct? A task...
by kokonuts
Tue Feb 07, 2023 4:40 pm
Forum: ESP-IDF
Topic: Why do I need thread safety if Symmetric Multiprocessing protects memory
Replies: 7
Views: 2924

Re: Why do I need thread safety if Symmetric Multiprocessing protects memory

Are you psychic? I already forgot today and made it a struct :oops: then I came here to read your previous answer, just to find the new I made a new single task that reads messages from MessageBuffer and write the new incoming value to one member of the global struct, then in the same task read all ...
by kokonuts
Mon Feb 06, 2023 11:59 am
Forum: ESP-IDF
Topic: Why do I need thread safety if Symmetric Multiprocessing protects memory
Replies: 7
Views: 2924

Re: Why do I need thread safety if Symmetric Multiprocessing protects memory

Thank you! It is clear now. And I have only 32-bit words with one task writing and the other reading.
by kokonuts
Sun Feb 05, 2023 3:56 pm
Forum: ESP-IDF
Topic: Why do I need thread safety if Symmetric Multiprocessing protects memory
Replies: 7
Views: 2924

Why do I need thread safety if Symmetric Multiprocessing protects memory

I read that SMP feature: " Symmetric memory (with some small exceptions). If multiple cores access the same memory address, their access will be serialized at the memory bus level. True atomic access to the same memory address is achieved via an atomic compare-and-swap instruction provided by the IS...
by kokonuts
Sat Jan 28, 2023 7:58 am
Forum: ESP-IDF
Topic: mbedTLS setKnown public key
Replies: 0
Views: 635

mbedTLS setKnown public key

Hi I am migrating code from esp8266 to esp32-c3. In the old code bearssl was used by providing a known trusted public key that is saved in flash memory at factory // Assume a given public key, don't validate or use cert info at all void setKnownKey(const PublicKey *pk) Now in esp32-c3, there is no s...
by kokonuts
Fri Jan 27, 2023 6:20 pm
Forum: ESP-IDF
Topic: C3 ADC example, it could only measure voltage up to 2.9v
Replies: 2
Views: 1125

Re: C3 ADC example, it could only measure voltage up to 2.9v

Can I provide custom attenuation? how come arduino core can read up to 3.3v