EFUSE read/write BLOCK 1/2/3 from esp-idf
Posted: Thu May 17, 2018 8:34 am
How would one do the writing of EFUSE BLOCK 1/2/3 and then the reading of EFUSE BLOCK 1/2/3 (to check that the write was successful) in esp-idf?
I'm well aware of:
1. https://github.com/espressif/esp-idf/bl ... sp_efuse.h
2. https://github.com/espressif/esp-idf/bl ... om/efuse.h
3. viewtopic.php?f=13&t=2976
4. Technical Reference Manual chapter 19: eFuse Controller
Using espefuse.py to do so, is quite simple and straight forward as described over here: https://github.com/espressif/esptool/wiki/espefuse
However, doing so in esp-idf, proves a bit challenging, especially if you consider that the API referenced at 1 and 2 comes with no real example at all. Thus, the risk of bricking the ESP32 is quite high, if i go by trial and error.
Any esp-idf example code would be of great help!
I'm well aware of:
1. https://github.com/espressif/esp-idf/bl ... sp_efuse.h
2. https://github.com/espressif/esp-idf/bl ... om/efuse.h
3. viewtopic.php?f=13&t=2976
4. Technical Reference Manual chapter 19: eFuse Controller
Using espefuse.py to do so, is quite simple and straight forward as described over here: https://github.com/espressif/esptool/wiki/espefuse
However, doing so in esp-idf, proves a bit challenging, especially if you consider that the API referenced at 1 and 2 comes with no real example at all. Thus, the risk of bricking the ESP32 is quite high, if i go by trial and error.
Any esp-idf example code would be of great help!