Search found 445 matches
- Wed May 09, 2018 8:30 am
- Forum: ESP-IDF
- Topic: upload binary image more than 1MB
- Replies: 13
- Views: 15016
Re: upload binary image more than 1MB
What is minimum filesystem size when sector size is 512 bytes?
- Wed May 09, 2018 8:27 am
- Forum: ESP-IDF
- Topic: Flash Encryption key write protection.
- Replies: 19
- Views: 19105
Re: Flash Encryption key write protection.
1- espsecure.py generate_flash_encryption_key acti_flash_encryption_key.bin 2- espefuse.py --port COM155 burn_key flash_encryption acti_flash_encryption_key.bin 3- esptool.py --port COM155 --baud 115200 write_flash 0x10000 ./build/app-template.bin 4- espsecure.py encrypt_flash_data --keyfile acti_fl...
- Tue May 08, 2018 9:03 pm
- Forum: General Discussion
- Topic: What is the purpose of two OTA partition?
- Replies: 37
- Views: 44761
Re: What is the purpose of two OTA partition?
ok, It was exceed more than 4MB Now I reduce it under 4MB # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 ota_0, app, ota_0, 0x10000, 0x145000 ota_1, app, ota_1, , 0x145000 storage, data, fat, ,0x100000 Still n...
- Tue May 08, 2018 5:17 pm
- Forum: ESP-IDF
- Topic: Ram(memory) heap fragmentation.
- Replies: 9
- Views: 17289
Re: Ram(memory) heap fragmentation.
Hi Kolban,
You can doing heap allocation and deallocation at runtime in your C++ class.
for example.
HttpResponse::sendFile
Does this cn cause heap fragmentation on Esp32 after running for long time.
You can doing heap allocation and deallocation at runtime in your C++ class.
for example.
HttpResponse::sendFile
Does this cn cause heap fragmentation on Esp32 after running for long time.
- Tue May 08, 2018 5:12 pm
- Forum: General Discussion
- Topic: What is the purpose of two OTA partition?
- Replies: 37
- Views: 44761
Re: What is the purpose of two OTA partition?
ok, Alignment applies to offset only not size. which is same and correct on all three examples. This works # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 factory, app, factory, 0x10000, 0x1f0000 storage, data,...
- Tue May 08, 2018 3:12 pm
- Forum: General Discussion
- Topic: What is the purpose of two OTA partition?
- Replies: 37
- Views: 44761
Re: What is the purpose of two OTA partition?
It could be due to alignment issue
This works.
factory, app, factory, 0x10000, 0x1f0000
but this does not. different size.
ota_0, app, ota_0, 0x10000, 0x177000
ota_1, app, ota_1, , 0x177000
This works.
factory, app, factory, 0x10000, 0x1f0000
but this does not. different size.
ota_0, app, ota_0, 0x10000, 0x177000
ota_1, app, ota_1, , 0x177000
- Tue May 08, 2018 2:32 pm
- Forum: General Discussion
- Topic: What is the purpose of two OTA partition?
- Replies: 37
- Views: 44761
- Tue May 08, 2018 2:30 pm
- Forum: ESP-IDF
- Topic: Ram(memory) heap fragmentation.
- Replies: 9
- Views: 17289
Re: Ram(memory) heap fragmentation.
Thanks useful tips.
- Tue May 08, 2018 2:25 pm
- Forum: General Discussion
- Topic: What is the purpose of two OTA partition?
- Replies: 37
- Views: 44761
Re: What is the purpose of two OTA partition?
But this custom partition works. It uses factory . previous one uses two OTA. any idea why?. I want to avoid wasting my space. I need each OTA about 1.5M # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 factory,...
- Tue May 08, 2018 2:20 pm
- Forum: General Discussion
- Topic: What is the purpose of two OTA partition?
- Replies: 37
- Views: 44761
Re: What is the purpose of two OTA partition?
No debug output.