Search found 9 matches

by Yuriy Bohdanovsky
Tue Aug 28, 2018 6:11 pm
Forum: ESP-MDF
Topic: MESH Android APP source code
Replies: 3
Views: 9333

Re: MESH Android APP source code

Good day
When can we see the source code of the application?
We want to excite this project, it is very interesting. Opening the source code will help us in promoting our products in which ESP32 will be installed.
by Yuriy Bohdanovsky
Wed Apr 18, 2018 5:01 pm
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

Hello ESP_puff,
Thank you so much. Everything worked.
The "DoNotChgBin" checkbox saved me. :D :D :D
by Yuriy Bohdanovsky
Mon Apr 16, 2018 9:01 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

I used the command but the bootloader did not start $python /home/osboxes/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootload...
by Yuriy Bohdanovsky
Mon Apr 16, 2018 6:31 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

For download I use FLASH_DOWNLOAD_TOOLS_V3.6.4
You pushed me to the idea of writing a bootloader-encrypted.bin using espefuse.py
by Yuriy Bohdanovsky
Mon Apr 16, 2018 6:23 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

This all looks correct. Did you use the same my_flash_encryption_key.bin for the app firmware & partition table when you overwrote those? Yes Was this key written into the ESP32 with espefuse.py before the first boot? Yes Are you sure you flashed bootloader-encrypted.bin not bootloder.bin? Can you ...
by Yuriy Bohdanovsky
Mon Apr 16, 2018 6:07 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

I read the flash drive with an external programmer. It was found out, at the address 0х1002 0х1003 data are not written down. I wrote bootloader-encrypted.bin as an external programmer and it all worked. Probably some bit blocks these bytes 0x01000 44 4B 02 20 19 2A 08 E6 C1 EF 4A 70 3C 6D 0E C9 0x0...
by Yuriy Bohdanovsky
Sun Apr 15, 2018 12:11 pm
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

My security fuses Security fuses: FLASH_CRYPT_CNT Flash encryption mode counter = 1 R/W (0x1) FLASH_CRYPT_CONFIG Flash encryption config (key tweak bits) = 15 R/W (0xf) CONSOLE_DEBUG_DISABLE Disable ROM BASIC interpreter fallback = 1 R/W (0x1) ABS_DONE_0 secure boot enabled for bootloader = 0 R/W (0...
by Yuriy Bohdanovsky
Fri Apr 13, 2018 5:32 pm
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

Hi I'm using the setting sdkconfig CONFIG_SECURE_BOOT_ENABLED= CONFIG_FLASH_ENCRYPTION_ENABLED=y CONFIG_FLASH_ENCRYPTION_INSECURE= I write the firmware and bootloader, in the terminal I see how the bootloader encrypts the memory. Next, I overwrite the firmware file and the table file in encrypted fo...
by Yuriy Bohdanovsky
Thu Apr 12, 2018 7:18 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 47421

Re: Questions regarding flash encryption and Secure Boot

Hi
I have a small question about rewriting the bootloader.
So I use the pregenerated key, I quietly encrypt and rewrite the firmware.
But I can not re-write the bootloader, even in encrypted form.
Why can not I overwrite the bootloader with an encrypted file?