Search found 7 matches

by samc77
Tue Sep 22, 2020 5:34 pm
Forum: ESP-IDF
Topic: WROVER-E Secure Boot V2 and Debugging
Replies: 3
Views: 4197

Re: WROVER-E Secure Boot V2 and Debugging

Hi, my workaround is to flash a debug bootloader (compile the app in debug mode) then compile in release mode and flash again. Doing so will run the final code but the debug bootloader. Secure boot and encryption is turned off. Nice to debug anything except OTA update and NVS encryption. I did not f...
by samc77
Sun May 24, 2020 1:13 pm
Forum: ESP-IDF
Topic: WROVER-E esp_ota_end reboots in secure Boot V2
Replies: 1
Views: 2600

SOLVED: WROVER-E esp_ota_end reboots in secure Boot V2

So I can answer this myself already:

the problem is with the stack size of the task doing the ota:

after increasing the stack size from 4096 to 8192 it finally works!

Thanks
by samc77
Sun May 24, 2020 10:02 am
Forum: General Discussion
Topic: undocumented UART Hardware problem?
Replies: 7
Views: 10088

Re: undocumented UART Hardware problem?

Hi,

I am also seeing this issue.
Currently on the master branch.
Using the idf library functions to read the uart, but still this problem occurs.

Adding memw into the uart functions does not help. What is the best way to work around this?

Thanks!
by samc77
Sat May 23, 2020 6:37 pm
Forum: ESP-IDF
Topic: WROVER-E esp_ota_end reboots in secure Boot V2
Replies: 1
Views: 2600

WROVER-E esp_ota_end reboots in secure Boot V2

Hi, I am using the new WROVER-E and trying my luck with the secure boot V2. I am having an issue with updating the ota partition with a new image. At the end, the esp_ota_end() is called, this causes the system to reboot without any message. Tracked it down to esp_secure_boot_verify_rsa_signature_bl...
by samc77
Sat May 23, 2020 6:22 pm
Forum: ESP-IDF
Topic: WROVER-E Secure Boot V2 and Debugging
Replies: 3
Views: 4197

WROVER-E Secure Boot V2 and Debugging

Hi I am using the new WROVER-E module with secure boot V2 enabled. Also flash encryption is enabled in developer mode. Jtag is enabled. Openocd is started with this parameter: -c 'set ESP_FLASH_SIZE 0' When trying to use the openocd in eclipse i get this error: I (49) boot: ESP-IDF 4.2-master 2nd st...
by samc77
Sun Mar 22, 2020 9:20 pm
Forum: ESP-IDF
Topic: JTAG and Secure Boot + Flash Encryption
Replies: 2
Views: 4660

JTAG and Secure Boot + Flash Encryption

Hi, after I successfully enabled Secure Boot and Flash Encryption, both in development mode, the JTAG now fails. IDF Version: 4.0 OpenOCD Version: 20200309 # CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK is not set CONFIG_SECURE_SIGNED_ON_BOOT=y CONFIG_SECURE_SIGNED_ON_UPDATE=y CONFIG_SECURE_SIGNED_APPS=y CON...
by samc77
Sun Mar 22, 2020 9:12 pm
Forum: ESP-IDF
Topic: ESP32 UART receive ring buffer
Replies: 3
Views: 7696

Re: ESP32 UART receive ring buffer

Hi, well i can't offer a better solution, but can confirm that I am seeing the same issue: Sending data from Windows through the UART0; tried different eval PCBs, most promiment is the ESP32-WROVER-KIT. Different data-rates tried, up to 2Mbit. Nothing changes. When sending longer packets (2048 bytes...