Search found 2344 matches

by ESP_Angus
Fri Nov 30, 2018 12:02 am
Forum: ESP-IDF
Topic: encryption still enabled after FLASH_CRYPT_CNT=0xff and ABS_DONE_X = 0
Replies: 3
Views: 4829

Re: encryption still enabled after FLASH_CRYPT_CNT=0xff and ABS_DONE_X = 0

Hi PotatoMan, Sorry I didn't see your post the first time around. I must also apologise, the Flash Encryption documentation is incorrect about this. The ESP32 Technical Reference Manual section 25.3.3 "Flash Decryption Block" gives the actual behaviour of FLASH_CRYPT_CNT: • During SPI Flash Boot In ...
by ESP_Angus
Thu Nov 29, 2018 11:50 pm
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104099

Re: Compatibility between "normal CMake" and ESP-IDF

Hi chodzikman,
chodzikman wrote:
Wed Nov 28, 2018 6:05 pm
Thank you for the updated build system, however - I do experience some issues:
Thanks for the detailed report. My colleague tells me they've reproduced this failure and a fix is on the way.

Angus
by ESP_Angus
Thu Nov 29, 2018 11:49 pm
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104099

Re: Compatibility between "normal CMake" and ESP-IDF

Hi permal, (For benefit of anyone skim reading the replies, this post is about Generic CMake projects including ESP-IDF as a series of libraries, not the other way around.) - How do I run menuconfig for a project like idf_as_lib to generate my sdkconfig and subsequent sdkconfig.h file? I can reprodu...
by ESP_Angus
Thu Nov 29, 2018 12:59 am
Forum: Hardware
Topic: Auto download fails in virtual machines possibly due to USB lag
Replies: 9
Views: 10614

Re: Auto download fails in virtual machines possibly due to USB lag

I agree you're safe API-wise. On Windows there's no public API to get the win32 handle for the port, though. (And, yes, platform-dependent code in the application layer can quickly get messy.)
by ESP_Angus
Wed Nov 28, 2018 11:24 pm
Forum: ESP-IDF
Topic: Secure boot and signed bins
Replies: 31
Views: 33109

Re: Secure boot and signed bins

Once I have ABS_DONE_0 = 0 , I can start again. I can choice Reflashable bootloader option. but secure boot key I generated using esptool. Can I generate key using esptool which works with Reflashable bootloader not on-time Bootloader. Is there option when generate key using esptool for Reflashable...
by ESP_Angus
Wed Nov 28, 2018 11:07 pm
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 28143

Re: Generic questions about secure boot & flash enc

Yes, what WiFive says is correct. You'll need some way to authorize OTA updates from your server.

ESP-IDF apps are currently supported to find on bootloaders back to ESP-IDF v1.0 (although apps need this config item enabled if bootloader is pre-v2.1).
by ESP_Angus
Wed Nov 28, 2018 11:04 pm
Forum: Hardware
Topic: Auto download fails in virtual machines possibly due to USB lag
Replies: 9
Views: 10614

Re: Auto download fails in virtual machines possibly due to USB lag

Hi Markus, Thanks for sharing that! make the changed script compatible to the other platforms (where fcntl and termios don't exist). Anyway, maybe someone capable is out there, so I leave the few changes I made to esptool.py here. In 2016 Windows users were having some problems with this as well, so...
by ESP_Angus
Wed Nov 28, 2018 8:02 am
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104099

Re: Compatibility between "normal CMake" and ESP-IDF

Generic CMake build support pushed to GitHub master branch a few hours ago ( commit ). Docs: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system-cmake.html#writing-pure-cmake-components New examples: https://github.com/espressif/esp-idf/tree/master/examples/build_system/cmake
by ESP_Angus
Wed Nov 28, 2018 12:00 am
Forum: ESP-IDF
Topic: Secure boot and signed bins
Replies: 31
Views: 33109

Re: Secure boot and signed bins

I already flash my secure boot-loader. I want to do again. I reduce my debug level which reduce secure boot-loader size now, otherwise it over run my partition start address 0x8000. What is the value of the ABS_DONE_0 efuse, as shown in "espefuse.py -p PORT summary"? If it's still 0 then you can st...
by ESP_Angus
Tue Nov 27, 2018 11:58 pm
Forum: ESP-IDF
Topic: Secure boot and signed bins
Replies: 31
Views: 33109

Re: Secure boot and signed bins

snahmad75 wrote:
Sat Nov 24, 2018 2:42 pm
As secure bootloader is big size. I change my paritition.bin offset = 0x8500 instead of 0x8000
The partition table should be placed at a multiple of 0x1000, as this is the flash erase size. I'll see about adding some checks to the IDF build system so we can error out if this offset is invalid.