Search found 13 matches

by Wasabinary
Wed Feb 07, 2024 7:32 am
Forum: ESP-IDF
Topic: Keep JTAG enabled alongside flash encryption
Replies: 3
Views: 909

Re: Keep JTAG enabled alongside flash encryption

Thank you for your answer. You said flash encryption would be useless as the attacker could read the flash through JTAG, but if flash encryption is enabled, he would not be able to decrypt it, right?
by Wasabinary
Tue Feb 06, 2024 10:24 am
Forum: ESP-IDF
Topic: Keep JTAG enabled alongside flash encryption
Replies: 3
Views: 909

Keep JTAG enabled alongside flash encryption

Hi,

I am currently looking for a way to keep JTAG enabled when flash encryption is also enabled in release mode. Basically, I would like to be able to erase the flash completely, and then reprogram it even if the flash encryption is used. Is there any way to do that?
by Wasabinary
Tue May 02, 2023 6:50 am
Forum: ESP-IDF
Topic: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example
Replies: 8
Views: 3393

Re: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example

Thank you for the explanation, I will keep it simple and clear on exit then :D
by Wasabinary
Fri Apr 28, 2023 3:03 pm
Forum: ESP-IDF
Topic: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example
Replies: 8
Views: 3393

Re: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example

Alright so ulBitsToClearOnEntry and ulBitsToClearOnExit only has an effect on the notification state, but the value (in my example 1 << 0) remains unchanged. I am not sure why we should clear wether on entry or on exit. What is the difference in my case ? (even though I only set to 1, but let's say ...
by Wasabinary
Fri Apr 28, 2023 12:57 pm
Forum: ESP-IDF
Topic: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example
Replies: 8
Views: 3393

Re: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example

Correct. If you still needed to clear the value, you'd use ulTaskNotifyValueClear(...), but that wouldn't be atomic w.r.t. the receiving of the notification which, depending on the algorithm/use case, may or may not be a problem. If I understand correctly, the bits I set in the Task1 would not be c...
by Wasabinary
Fri Apr 28, 2023 9:55 am
Forum: ESP-IDF
Topic: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example
Replies: 8
Views: 3393

Re: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example

Thank you for your answer,

So, what happens if I set both ulBitsToClearOnEntry and ulBitsToClearOnExit to 0? The value is not cleared at all?
by Wasabinary
Fri Apr 28, 2023 9:28 am
Forum: ESP-IDF
Topic: xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example
Replies: 8
Views: 3393

xTaskNotifyWait ulBitsToClearOnEntry and ulBitsToClearOnExit example

Hi, I have been trying to use FreeRTOS task notification on ESP32 for a few days, and I am not sure I really understand the effect of the ulBitsToClearOnEntry and ulBitsToClearOnExit parameters of the xTaskNotifyWait() function. I am able to send notifications between 2 tasks with xTaskNotify() and ...
by Wasabinary
Mon Jul 04, 2022 7:22 am
Forum: ESP-IDF
Topic: BLE long range
Replies: 1
Views: 2979

BLE long range

Hello, I am currently looking for solutions to use Bluetooth long range on ESP32. I started working with Bluedroid ble50_security_server from esp-idf Github repository https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble_50/ble50_security_server , and changed primary_phy...
by Wasabinary
Wed Jan 19, 2022 7:54 am
Forum: ESP-IDF
Topic: Avoid certificate substitution during OTA
Replies: 3
Views: 3636

Re: Avoid certificate substitution during OTA

Hi aeropagz, To avoid certificate substitution, you may need to create a file system partition in the ESP32 flash (like SPIFFS or FatFS). To do so, you need to use a custom partition table (see Partition Table menu in sdkconfig of your project) where you add a fiel system partition. Inside of it, yo...
by Wasabinary
Mon Jul 12, 2021 1:47 pm
Forum: Hardware
Topic: JTAG programming ESP32-C3 devKit M
Replies: 2
Views: 3876

JTAG programming ESP32-C3 devKit M

Hi, After successfully flashing my code using a JLINK and JTAG pins( TDO, TDI, TCK and TMS) of an ESP32-S2-SAOLA-1 board, I tried to do the same with an ESP32-C3-DevKitM-1, following the instruction given here : https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/jtag-debugging/...