Search found 2256 matches

by ESP_Angus
Fri Jan 22, 2021 8:25 am
Forum: ESP-IDF
Topic: idf.py erase_flash doesn't work
Replies: 8
Views: 304

Re: idf.py erase_flash doesn't work

Hi Prasad, It's also possible to write_flash_status, so depending on the exact command set of the flash chip it may be possible to clear those write-protect bits. (Hopefully not, but on the offchance it happens to re-enable itself again after being cleared, check your hardware design for any signal ...
by ESP_Angus
Fri Jan 22, 2021 8:23 am
Forum: ESP-IDF
Topic: Questions in 2. stage bootloader code
Replies: 13
Views: 535

Re: Questions in 2. stage bootloader code

"Instruction addressing has the size of 11512kB" means: If I have an ESP32 with 16MB external flash I only can use maximum 11,512MB of them? The rest I can use for other things, for example for RAM. Not exactly, see the entries in Table 6 of the TRM memory chapter. The 11,512kB is for flash mapping...
by ESP_Angus
Fri Jan 22, 2021 1:35 am
Forum: ESP-IDF
Topic: Ninja uses project directory as build directory instead of ./build
Replies: 2
Views: 92

Re: Ninja uses project directory as build directory instead of ./build

Hi brian,

I'm not sure what the cause of this could have been, maybe some path in the generated CMakeCache.txt file. However I'm glad you were able to fix it.
by ESP_Angus
Thu Jan 21, 2021 12:28 am
Forum: ESP-IDF
Topic: Questions in 2. stage bootloader code
Replies: 13
Views: 535

Re: Questions in 2. stage bootloader code

Thank you very much. So 0x10000000, 0x60000000, 0x70000000, 0x90000000, 0xb0000000, 0xd0000000, 0xf0000000 will be used for internal things (wifi, ...) Am I right? Page size is 512MB which is 0x20000000 so the region at 0x60000000-0x7FFFFFFF is the only unprotected range in that list. There are som...
by ESP_Angus
Tue Jan 19, 2021 11:08 pm
Forum: Hardware
Topic: ESP32S2 and secp256k1 ECC support
Replies: 3
Views: 363

Re: ESP32S2 and secp256k1 ECC support

Hi Simon, Thanks for explaining, I didn't realise you were interested in secure element functionality in particular. This is not supported in ESP32-S2, for the functionality described above the ECC key would be accessible by software running on the ESP32-S2. The Digital Signature Peripheral provides...
by ESP_Angus
Tue Jan 19, 2021 10:53 pm
Forum: ESP-IDF
Topic: Questions in 2. stage bootloader code
Replies: 13
Views: 535

Re: Questions in 2. stage bootloader code

Hi Alex, The question about the "detailed information" was: Why exactly these pages: 0x00000000, 0x80000000, ... Because there's nothing there. If you look in the "System and Memory" chapter of the ESP32 Technical Reference Manual then you can see all of the addresses where the CPU can access resour...
by ESP_Angus
Tue Jan 19, 2021 10:44 pm
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 11
Views: 438

Re: Setting Target esp32s2 Fails

Hi Mark, Thanks for bearing with us. It seems like the Windows environment variable IDF_TARGET is being set to "esp32" somewhere. We don't have any explanation for why this has happened, though. Setting this environment variable is not required to use ESP-IDF, but it is optional to automatically ove...
by ESP_Angus
Mon Jan 18, 2021 7:06 am
Forum: Hardware
Topic: ESP32S2 and secp256k1 ECC support
Replies: 3
Views: 363

Re: ESP32S2 and secp256k1 ECC support

Hi Simon, The ESP32-S2 SDK (ESP-IDF) uses mbedTLS as its primary cryptography library. The ECC support in mbedTLS includes support for secp256k1 curves and trhe signature algorithms ECDSA & Deterministic ECDSA. You should be able to adapt any mbedTLS example of the ECC signature type you need for ES...
by ESP_Angus
Mon Jan 18, 2021 5:07 am
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 11
Views: 438

Re: Setting Target esp32s2 Fails

Hi Mark, I'm glad you were able to get the project to build, and sorry for all the hassles encountered. IDF_TARGET in CMake cache does not match IDF_TARGET environment variable. To change the target, clear the build directory and sdkconfig file, and build the project again This error, and the succes...
by ESP_Angus
Sun Jan 17, 2021 10:40 pm
Forum: ESP-IDF
Topic: Questions in 2. stage bootloader code
Replies: 13
Views: 535

Re: Questions in 2. stage bootloader code

Hi Alex, Thanks for the very clear questions. 1. In function cpu_init_memctl there is the function WSR(MEMCTL, memctl); Can someone explain this in more detail? We set this register to disable the "zero cost loop buffe" and work around an CPU erratum in the zero-cost loop implementation, it can some...

Go to advanced search