Search found 19 matches

by vinodstanur
Sun Dec 08, 2019 7:03 am
Forum: ESP32 IDF
Topic: malloc memory crashing for spi but global/static working fine
Replies: 1
Views: 175

malloc memory crashing for spi but global/static working fine

Hi, I am using esp-idf 3.3. If I use malloc to allocate a 3KB buffer, then the system is crashing. I already have around 60KB heap. I am using this buffer for LCD via spi. SPI is pushing it via DMA. If I use static/global 3KB instead, it works fine. ILI9341 initialization. Guru Meditation Error: Cor...
by vinodstanur
Tue Nov 12, 2019 6:23 am
Forum: ESP32 IDF
Topic: Preventing further writes to the fuse bits
Replies: 1
Views: 167

Preventing further writes to the fuse bits

Hi, I want to prevent further writes to fuse bits to prevent any future accidental writes. For example, I am using flash encryption but not secure boot. So in future if my program can write to the fuse bits by mistake, I don't to take a chance. So is there any way to freeze the current fuse bits to ...
by vinodstanur
Mon Nov 04, 2019 9:52 am
Forum: ESP32 IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 490

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: ESP32 IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 490

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: ESP32 IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 490

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: ESP32 IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 490

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: 11125

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: ESP32 IDF
Topic: Esp32 windows toolchain is 5x slow compared to Linux
Replies: 6
Views: 820

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: 346

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: ESP32 IDF
Topic: Esp32 windows toolchain is 5x slow compared to Linux
Replies: 6
Views: 820

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...

Go to advanced search