Search found 2344 matches

by ESP_Angus
Mon Dec 03, 2018 10:55 pm
Forum: ESP-IDF
Topic: Secure boot and signed bins
Replies: 31
Views: 33724

Re: Secure boot and signed bins

Hi Naeem, The digest has to be encrypted as well, and based on the plaintext bootloader not the ciphertext version. ie espsecure.py digest_secure_bootloader --keyfile secure_boot_key.bin --output ./build/secure_bootloader.bin ./build/bootloader/bootloader.bin espsecure.py encrypt_flash_data --keyfil...
by ESP_Angus
Mon Dec 03, 2018 10:48 pm
Forum: Hardware
Topic: Help needed - New ESP32 PICO D4.1 design continously looping with RTCWDT_RTC_RESET
Replies: 22
Views: 24795

Re: Help needed - New ESP32 PICO D4.1 design continously looping with RTCWDT_RTC_RESET

If you set the bootloader to DIO mode instead of DOUT, and 20MHz instead of 40MHz, does it make any difference to the log output? (These settings are under the Serial Flasher Config menu for ESP-IDF menuconfig, or in the Arduino IDE menus.) (The PICO should work at the settings you have, but it's no...
by ESP_Angus
Mon Dec 03, 2018 4:24 am
Forum: ESP-IDF
Topic: cannot open linker script file
Replies: 6
Views: 9007

Re: cannot open linker script file

Hi all,

Please update to the latest master branch. We've fixed some ldgen linker script generation issues, but also improved the error messages so if still fails there should be more information given about why.

Angus
by ESP_Angus
Mon Dec 03, 2018 1:41 am
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 105654

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

Hi permal,

So you don't see any CMake warnings about git submodules when CMake runs? (git submodulate update --init --recursive should be all up to date).

Can you please run "make VERBOSE=1" and post the full command line used for linking?

Angus
by ESP_Angus
Mon Dec 03, 2018 1:01 am
Forum: General Discussion
Topic: Error using Windows CMake configuration
Replies: 5
Views: 6785

Re: Error using Windows CMake configuration

Thanks for the update. Can you please post the output of "python -V" and "pip list", as well?

Angus
by ESP_Angus
Mon Dec 03, 2018 12:58 am
Forum: General Discussion
Topic: Cmake, windows. "missing and no known rule to make it"
Replies: 1
Views: 3770

Re: Cmake, windows. "missing and no known rule to make it"

Hi Frank,

That's unusual. Could you please post the full output from "idf.py reconfigure build"?

Thanks,

Angus
by ESP_Angus
Mon Dec 03, 2018 12:09 am
Forum: ESP-IDF
Topic: Secure boot and signed bins
Replies: 31
Views: 33724

Re: Secure boot and signed bins

Hi snahmad75, Working backwards from the error in the log: E (57) esp_image: image at 0x20000 has invalid magic byte W (61) esp_image: image at 0x20000 has invalid SPI mode 38 E (67) boot: OTA app partition slot 0 is not bootable E (73) esp_image: image at 0x1f0000 has invalid magic byte W (79) esp_...
by ESP_Angus
Fri Nov 30, 2018 7:11 am
Forum: ESP-IDF
Topic: ESP32 could not compile, how to figure it out.
Replies: 1
Views: 2826

Re: ESP32 could not compile, how to figure it out.

Hi zhaogan, Something unusual is happening with your Python installation. There are some Python packages installed in c:\users\administrator\.local\lib\python2.7 (this is outside MSYS2 so it may be the result of another Python install on your computer) and some are installed in c:\msys32\mingw32\lib...
by ESP_Angus
Fri Nov 30, 2018 12:36 am
Forum: ESP-IDF
Topic: Secure boot and signed bins
Replies: 31
Views: 33724

Re: Secure boot and signed bins

WiFive, the output of "espsecure.py digest_secure_bootloader " is the digest with the image appended, so secure_bootloader.bin should be OK to flash at offset 0x0. The steps you've outlined are not the recommended way to enable secure boot (the instructions recommend letting the bootloader burn ABS_...
by ESP_Angus
Fri Nov 30, 2018 12:24 am
Forum: Hardware
Topic: Auto download fails in virtual machines possibly due to USB lag
Replies: 9
Views: 10910

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

The last thing to do is to use a straight up FTDI chip without the "auto_download" circuit and modify Esptool.py to generate the correct signal. This should actually "just work" without modifications if the FTDI is wired up as shown here: https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Se...