Search found 296 matches
- Sun Mar 31, 2019 6:38 pm
- Forum: General Discussion
- Topic: power supply for ESP32
- Replies: 2
- Views: 3614
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.
- Fri Mar 29, 2019 4:55 pm
- Forum: General Discussion
- Topic: Generic questions about secure boot & flash enc
- Replies: 27
- Views: 28488
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 ...
- Fri Mar 29, 2019 1:43 am
- Forum: General Discussion
- Topic: Generic questions about secure boot & flash enc
- Replies: 27
- Views: 28488
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...
- Thu Mar 28, 2019 12:39 pm
- Forum: General Discussion
- Topic: Generic questions about secure boot & flash enc
- Replies: 27
- Views: 28488
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...
- Thu Mar 28, 2019 11:58 am
- Forum: General Discussion
- Topic: Generic questions about secure boot & flash enc
- Replies: 27
- Views: 28488
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...
- Wed Mar 27, 2019 6:17 pm
- Forum: General Discussion
- Topic: Generic questions about secure boot & flash enc
- Replies: 27
- Views: 28488
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...
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...
- Sun Mar 24, 2019 7:59 pm
- Forum: General Discussion
- Topic: Generic questions about secure boot & flash enc
- Replies: 27
- Views: 28488
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...
Re: Coredump
help?
- Fri Mar 22, 2019 1:11 am
- Forum: General Discussion
- Topic: How to introduce sequential tasks using xEventgroupSync()
- Replies: 4
- Views: 5749
Re: How to introduce sequential tasks using xEventgroupSync()
Since event groups unlock all tasks waiting for it, priority will select witch will run first. Why dont use this? Just put higger prio in tcp_send() and lower in tcp_read(), both on same core.
You tested this? Should work, I think
You tested this? Should work, I think