Search found 8 matches
- Wed May 31, 2017 11:51 am
- Forum: General Discussion
- Topic: OTA checksum fails
- Replies: 0
- Views: 2929
OTA checksum fails
Hello guys, So, recently I'we taken a swing at the OTA update and got myself stuck. What i did was to follow the example here and all seems to work well untill the esp_ota_end , where i get esp_image: checksum failed. Calculated 0xef read 0x0 . Here is a link to the ota_task.c . Now the image on the...
- Fri Apr 14, 2017 7:13 am
- Forum: General Discussion
- Topic: Secure boot problem
- Replies: 5
- Views: 8818
Re: Secure boot problem
Hello guys, So, digging around more I found this scenario: 1. On boot, if secure boot enabled, secured boot enabled is called ( bootloader_start.c#L357 ) err = esp_secure_boot_permanently_enable(); 2. this leads to secure_boot.c file that calls image verify ( secure_boot.c#L114 ) err = esp_image_bas...
- Thu Apr 13, 2017 7:52 am
- Forum: General Discussion
- Topic: Secure boot problem
- Replies: 5
- Views: 8818
Re: Secure boot problem
Hello guys, After taking a peak through the esp-idf itself, I found that the error is first detected here in esp_image_format.c:111 if (src_addr % SPI_FLASH_MMU_PAGE_SIZE != 0) { /* Image must start on a 64KB boundary (This is not a technical limitation, only the flash mapped regions need to be 64KB...
- Wed Apr 05, 2017 8:38 am
- Forum: General Discussion
- Topic: Secure boot problem
- Replies: 5
- Views: 8818
Secure boot problem
Hello guys, Lately I'we been having trouble getting secure boot working on the ESP32 device ( been using adafruit devboards). So what I do basically is : 1. have a private key /secure_boot_signing_key.pem 2. extract public key by doing python espsecure.py extract_public_key --keyfile <project_path>/...
- Mon Mar 20, 2017 11:05 pm
- Forum: General Discussion
- Topic: New Windows Environment using bash on windows
- Replies: 1
- Views: 3870
New Windows Environment using bash on windows
Hello guys, Recently I started writing ESP32 code. Since I'm not a big fan am MSYS I started writing a small script that uses the Bash on Windows for make and python for flashing. So far it's working OK for me. You can find it here . Could you guys take it for a spin an let me know your opinions. Ho...
- Fri Mar 10, 2017 1:00 pm
- Forum: ESP-IDF
- Topic: Infinite loop best practices
- Replies: 4
- Views: 11549
Re: Infinite loop best practices
Thank you very much for your answer. I will take this into consideration on my further projects.
On a side note, Keep up the good work ...
On a side note, Keep up the good work ...
- Thu Mar 09, 2017 8:17 am
- Forum: ESP-IDF
- Topic: Infinite loop best practices
- Replies: 4
- Views: 11549
Re: Infinite loop best practices
Thank you for your reply.
The reasoning behind the question is that I was wondering if somehow ESP32/FREERtos is optimized for multiple task running rather than one infinite long task. So if it's not more efficient to create a task, run it and end it than crating one task that runs forever.
The reasoning behind the question is that I was wondering if somehow ESP32/FREERtos is optimized for multiple task running rather than one infinite long task. So if it's not more efficient to create a task, run it and end it than crating one task that runs forever.
- Wed Mar 08, 2017 2:40 pm
- Forum: ESP-IDF
- Topic: Infinite loop best practices
- Replies: 4
- Views: 11549
Infinite loop best practices
Hello guys, So I was wondering which is a better practice and why: 1. Create a task and do an infinite loop inside the task 2. Do an infinite loop and call xTaskCreate(...) on each iteration. I'm not interested in complicated scenarios, that only require only one or the other, just a simple read a s...