Search found 27 matches

by vinodstanur
Mon Nov 04, 2019 9:52 am
Forum: ESP-IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 7148

Re: Flashing plain text firmware after encryption while development

Between IDF v3.3 and v4.x we changed the flash encryption process to support "development mode" and encrypt-while-flashing. This is why not everything described in the "latest" docs works on v3.3. The v3.3 docs are here: https://docs.espressif.com/projects/esp-idf/en/v3.3/security/flash-encryption....
by vinodstanur
Sun Nov 03, 2019 11:28 am
Forum: ESP-IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 7148

Re: Flashing plain text firmware after encryption while development

Try just adding --encrypt option to your esptool.py command. Thanks it worked!! I have few questions and doubts about this overall setup. I am typing those as point by point below. ------------------------------------- 1. That means if I keep this JTAG_DISABLE, DISABLE_DL_ENCRYPT, DISABLE_DL_ENCRYP...
by vinodstanur
Sun Nov 03, 2019 11:03 am
Forum: ESP-IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 7148

Re: Flashing plain text firmware after encryption while development

At this stage if user wants to update modified plaintext application image to flash in encrypted format it can be done using following command: idf.py encrypted-app-flash monitor If all partitions needs to be updated in encrypted format, it can be done as idf.py encrypted-flash monitor https://docs...
by vinodstanur
Sun Nov 03, 2019 9:45 am
Forum: ESP-IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 7148

Flashing plain text firmware after encryption while development

Hi, I am trying the flash encryption now. I am not using secure boot for now. I am using esp-idf 3.3 (latest stable) in linux. In menuconfig -> Security features I enabled Enable flash encryption on boot (READ DOCS FIRST) Since I am developing I entered into Potentially insecure options ---> and ena...
by vinodstanur
Sun Jul 21, 2019 12:10 pm
Forum: General Discussion
Topic: MSYS2 is slow on Windows 10
Replies: 30
Views: 43339

Re: MSYS2 is slow on Windows 10

But the cmake setup is not available for stable idf 3.2.2 right ?
by vinodstanur
Sat Jul 20, 2019 10:05 pm
Forum: ESP-IDF
Topic: Esp32 windows toolchain is 5x slow compared to Linux
Replies: 6
Views: 6731

Re: Esp32 windows toolchain is 5x slow compared to Linux

To disable windows defender for specific folder, go to windows defender settings, add exception option for folder in which the project it. This increases the speed. This option is available when no antivirus is installed. If you have already some antivirus, then you can disable it while building tue...
by vinodstanur
Sat Jul 20, 2019 7:42 pm
Forum: General Discussion
Topic: Is it possible to host a passive GATT Service "i.e one that does not advertises itself" , but can entertain connections.
Replies: 1
Views: 2456

Re: Is it possible to host a passive GATT Service "i.e one that does not advertises itself" , but can entertain connecti

You can do something called directed advertising to a particular MAC address which I believe other devices won't see. But you cannot target an iPhone central because iPhone changes its Mac address often. It uses random Mac address. May be you can use it to target android or any other fixed MAC ble c...
by vinodstanur
Sat Jul 20, 2019 12:47 pm
Forum: ESP-IDF
Topic: Esp32 windows toolchain is 5x slow compared to Linux
Replies: 6
Views: 6731

Re: Esp32 windows toolchain is 5x slow compared to Linux

Disable Windows defender scanning of the project folder. Thanks, I tried this method and the speed increased. I did not compared with linux virtualbox yet, but I remember my project code was building with in 30 seconds or less than that. I tried on Windows Linux Subsystem and the speed is same, the...
by vinodstanur
Fri Jul 19, 2019 7:27 pm
Forum: ESP-IDF
Topic: Esp32 windows toolchain is 5x slow compared to Linux
Replies: 6
Views: 6731

Esp32 windows toolchain is 5x slow compared to Linux

Hi, I am using esp-idf 3.2.2 and compiler 5.xyz on windows. The entire build from a clean state is taking around 2 minutes on my i7 8th gen cpu which is having 8 logical cores. It is hitting 4.5GHz and I am using make -j8 and I can see cpu hitting 100% in task manager. No other task is running. It t...
by vinodstanur
Fri Jul 19, 2019 1:00 pm
Forum: ESP-IDF
Topic: Can I use esp-idf 3.2.2 using cmake setup in windows ?
Replies: 1
Views: 2457

Can I use esp-idf 3.2.2 using cmake setup in windows ?

Looks like the current stable version is 3.2.2 if I am not wrong. But I couldn't find any install.bat and export.bat inside the idf folder. Only in the unstable latest version it seems to be there. So can't I develop it with cmake based idf.py setup on 3.2.2 ? Basically I am moving from virtualbox l...