Search found 343 matches

by snahmad75
Thu Dec 06, 2018 10:56 am
Forum: ESP32 IDF
Topic: Secure boot and signed bins
Replies: 30
Views: 1012

Re: Secure boot and signed bins

Hi, Question #1 As secure bootlaoder allow flash only once. https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html I wonder how it works for me. I use signed secure bootloader bin first which works. then later on I flash again encrypted signed bootloader after enable flash e...
by snahmad75
Thu Dec 06, 2018 12:29 am
Forum: ESP32 IDF
Topic: Secure boot and signed bins
Replies: 30
Views: 1012

Re: Secure boot and signed bins

This workflow I describe will take longer in the factory (more espefuse.py & esptool.py invocations) using pre-generated keys. but more control for us. I see. The process you describe will work. Just to make sure I understand, did you consider burning the pre-generated keys with espefuse burn_key, ...
by snahmad75
Wed Dec 05, 2018 11:04 pm
Forum: ESP32 IDF
Topic: Secure boot and signed bins
Replies: 30
Views: 1012

Re: Secure boot and signed bins

Hi Angus, Thanks for your reply. It is all clear now. We will use known keys that is pre-generated. We will enable encryption and signing via esptool and will flash signed encrypted binaries. In this case CONFIG_FLASH_ENCRYPTION_ENABLED=y is not necessary. but secure boot still need be on by menucon...
by snahmad75
Wed Dec 05, 2018 10:22 pm
Forum: General Discussion
Topic: Functions to display current tasks and memory usage
Replies: 6
Views: 887

Re: Functions to display current tasks and memory usage

Hi,

I did use vTaskGetRunTimeStats() but was not pretty output.

Give me example to show CPU usage per thread with columns and tabular form.


Thanks,
Naeem
by snahmad75
Wed Dec 05, 2018 7:58 pm
Forum: General Discussion
Topic: How to get "CPU load" and "Memory Usage"
Replies: 16
Views: 4354

Re: How to get "CPU load" and "Memory Usage"

Hi,

I tried vTaskList. It does not shows cpu usage in percentage.


printf( "Task Name\tStatus\tPrio\tHWM\tTask\tAffinity\n");
char stats_buffer[1024];
vTaskList(stats_buffer);
printf("%s\n", stats_buffer);

Thanks,
Naeem
by snahmad75
Wed Dec 05, 2018 7:56 pm
Forum: General Discussion
Topic: Functions to display current tasks and memory usage
Replies: 6
Views: 887

Re: Functions to display current tasks and memory usage

Hi,

I tried vTaskList. It does not shows cpu usage in percentage.


printf( "Task Name\tStatus\tPrio\tHWM\tTask\tAffinity\n");
char stats_buffer[1024];
vTaskList(stats_buffer);
printf("%s\n", stats_buffer);

Thanks,
Naeem
by snahmad75
Wed Dec 05, 2018 7:47 pm
Forum: ESP32 IDF
Topic: Secure boot and signed bins
Replies: 30
Views: 1012

Re: Secure boot and signed bins

Can some one answer please.
by snahmad75
Wed Dec 05, 2018 9:47 am
Forum: ESP32 IDF
Topic: WARNING: Padding with 12 bytes of random data (encrypted data must be multiple of 16 bytes long)
Replies: 0
Views: 70

WARNING: Padding with 12 bytes of random data (encrypted data must be multiple of 16 bytes long)

Hi, First I do signed of my partition then I encrypt it. espsecure.py encrypt_flash_data --keyfile encryption_key.bin --address 0x8000 -o ./build/partitions-encrypted.bin ./build/signed_partitions.bin espsecure.py v2.6-beta1 Using 256-bit key WARNING: Padding with 12 bytes of random data (encrypted ...
by snahmad75
Wed Dec 05, 2018 9:45 am
Forum: ESP32 IDF
Topic: wrong password connect AP not working.
Replies: 2
Views: 142

Re: wrong password connect AP not working.

Can some one reply please.
by snahmad75
Tue Dec 04, 2018 8:19 pm
Forum: ESP32 IDF
Topic: wrong password connect AP not working.
Replies: 2
Views: 142

wrong password connect AP not working.

Hi, I am running ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_APSTA)); Not getting any event or SYSTEM_EVENT_STA_DISCONNECTED to determine if password is incorrect. The behavior was with few months old ESP IDF master brach was different. I was getting SYSTEM_EVENT_STA_DISCONNECTED if i specified wron...

Go to advanced search