Search found 268 matches

by urbanze
Wed Apr 24, 2019 8:41 pm
Forum: ESP-IDF
Topic: Is it safe to read and write UART from different tasks?
Replies: 2
Views: 1490

Re: Is it safe to read and write UART from different tasks?

Looking just at uart.c, apparently YES, but anyone can really confirm if all uart tx are safe?
by urbanze
Fri Apr 12, 2019 1:16 pm
Forum: General Discussion
Topic: Trying to understand the biggest excpetion ever
Replies: 0
Views: 796

Trying to understand the biggest excpetion ever

Hi guys, I doing some automated test with my product (esp32 wroom) and after 3 days of massive tests which c onsist of an relay turning power supply ON/OFF (both states in random times) , rarely some debug excpetion occur (not fatal because RTC WDT reset board) and its very "insane/big". I just want...
by urbanze
Sun Mar 31, 2019 6:38 pm
Forum: General Discussion
Topic: power supply for ESP32
Replies: 2
Views: 1012

Re: power supply for ESP32

to higher voltages (< 40V), it's common to use LM2596. I use this to output 5V and AMS1117 3.3V to ESP32.
by urbanze
Fri Mar 29, 2019 4:55 pm
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 8379

Re: Generic questions about secure boot & flash enc

Since it is safe to play Flash Crypto with pre-generated key, I will continue abusing the code upload and my adventures. Waiting for this bugfix, thanks for the help guys. One last question at this moment (besides the previous ones that I will copy) 2. To upload new bootloader, I need to upload it ...
by urbanze
Fri Mar 29, 2019 1:43 am
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 8379

Re: Generic questions about secure boot & flash enc

Since it is safe to play Flash Crypto with pre-generated key, I will continue abusing the code upload and my adventures. Waiting for this bugfix, thanks for the help guys. One last question at this moment (besides the previous ones that I will copy) 2. To upload new bootloader, I need to upload it c...
by urbanze
Thu Mar 28, 2019 12:39 pm
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 8379

Re: Generic questions about secure boot & flash enc

I got the maxium value of FLASH_CRYPT_CNT. Yes, that means encryption is permanently disabled so a regular make flash without encryption should work. Time to get a new chip. 1. If regular flash (without crypted bins) can't work, why uploading crypted bins not working? This is the ideia of pregenera...
by urbanze
Thu Mar 28, 2019 11:58 am
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 8379

Re: Generic questions about secure boot & flash enc

The first message "flash read err, 1000" indicates that the ESP32 can't read the bootloader from flash at offset 0x1000. This can happen if (for example) this area of the flash is not written correctly, or is written with plaintext bootloader when it should be ciphertext, or ciphertext when it shou...
by urbanze
Wed Mar 27, 2019 6:17 pm
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 8379

Re: Generic questions about secure boot & flash enc

After begin of my Flash Crypto tests with pregenerate key, I got the maxium value of FLASH_CRYPT_CNT. Now, after many commands of flash, reflash and etc :lol:, ESP32 logging (this when use make flash in terminal) rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_ma...
by urbanze
Mon Mar 25, 2019 3:50 pm
Forum: ESP-IDF
Topic: Coredump
Replies: 8
Views: 3042

Re: Coredump

More one try and... Sucess. :oops: :D Steps: 1. Get core dump partition size 2. Read X bytes 3. Print Byte-Byte in 0x00 format (whitout '0x') .... 4. After all print occur, I drag this in hex -> b64 converter, save in file and use: espcoredump.py info_corefile -c COREDUMP PATH -t b64 -rom-elf PROJEC...
by urbanze
Sun Mar 24, 2019 7:59 pm
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 8379

Re: Generic questions about secure boot & flash enc

I've been thinking more about this part of server-side authentication and I ended up having another small idea, please see if it's reasonably valid (this does not have to be extreme secure), since the server does not seem to do any certification for me. Since I will enable Flash Crypto, no one can g...

Go to advanced search