Search found 36 matches

by newhobby
Wed Oct 22, 2025 5:08 pm
Forum: Hardware
Topic: ESP32-PICO-MINI-02 unable to load firmware with EspRFTestTool Toolkit
Replies: 10
Views: 3313

Re: ESP32-PICO-MINI-02 unable to load firmware with EspRFTestTool Toolkit

Where did you download EspRFTestTool (v3.6) from?
by newhobby
Thu May 25, 2023 11:36 pm
Forum: ESP-IDF
Topic: Error 102 on p_auth_cmpl->fail_reason
Replies: 1
Views: 1576

Error 102 on p_auth_cmpl->fail_reason

What is error 102?
I can't seem to find what this error is and how to prevent it from happening.
https://github.com/espressif/esp-idf/blob/release/v5.1/components/bt/host/bluedroid/btc/core/btc_dm.c#L275
The define block only goes to 94.

#if (SMP_INCLUDED == TRUE)
#define BTA_DM_AUTH_FAIL_BASE ...
by newhobby
Tue May 03, 2022 7:18 am
Forum: ESP-IDF
Topic: Help with crash
Replies: 6
Views: 7206

Re: Help with crash

Do you have any example for that?
Bonus if there are multiple tasks that need to read I2C values in addition to the GPIO interrupt.
by newhobby
Tue May 03, 2022 4:23 am
Forum: ESP-IDF
Topic: Help with crash
Replies: 6
Views: 7206

Re: Help with crash

It may be the way I am handling the interrupt.
I will change it to see if I can resolve the issue.
The interrupt is triggered on GPIO, and I am reading I2C inside the interrupt handler.
I will move it out and hopefully this goes away.
It doesn't happen all the time. In fact, I would say 99% of the ...
by newhobby
Mon May 02, 2022 11:42 pm
Forum: ESP-IDF
Topic: Help with crash
Replies: 6
Views: 7206

Help with crash

Can someone please help me understand what happened on this crash?

Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0).

Core 0 register dump:
PC : 0x40099d3c PS : 0x00060135 A0 : 0x80097167 A1 : 0x3ffbe900
0x40099d3c: spinlock_acquire at C:/esp/esp-idf/components/esp_hw ...
by newhobby
Mon May 02, 2022 9:14 pm
Forum: ESP-IDF
Topic: Why is the default behavior of SMP_CONN_TOUT to delete bonding?
Replies: 0
Views: 1563

Why is the default behavior of SMP_CONN_TOUT to delete bonding?

Hi,

I have been having issues with bonding keys being MIA and I started digging around.
According to btc.dm.c line 280, the default action for a failed secure bonding connection is to delete the bonding keys.
https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/btc/core/btc ...
by newhobby
Sat Apr 16, 2022 12:02 am
Forum: ESP-IDF
Topic: How do I refuse bonding?
Replies: 0
Views: 1840

How do I refuse bonding?

Hi,

I am using bonding with JustWorks, but I would like to only have one bonded device and refuse any other attempt of bonding.
How do I accomplish that?
Here is what I have:

esp_ble_auth_req_t auth_req = ESP_LE_AUTH_REQ_SC_BOND; // bonding with peer device after authentication
esp_ble_io_cap_t ...
by newhobby
Tue Mar 08, 2022 1:32 am
Forum: ESP-IDF
Topic: ESP_GAP_BLE_AUTH_CMPL_EVT giving fail_reason 0x66
Replies: 0
Views: 1898

ESP_GAP_BLE_AUTH_CMPL_EVT giving fail_reason 0x66

Hi,

I can't seem to find what fail_reason 0x66 is.
Where can I find a description of this error or get more details on how it was raised so I can investigate the problem I am experiencing?
This is the code that is returning the error:

case ESP_GAP_BLE_AUTH_CMPL_EVT:
{
esp_bd_addr_t bd_addr ...
by newhobby
Fri Jan 21, 2022 5:01 am
Forum: ESP-IDF
Topic: Slow processing after enabling flash encryption
Replies: 2
Views: 3157

Re: Slow processing after enabling flash encryption

I am using chip rev3 on esp-idf 4.2
I PM'ed you the code.
by newhobby
Thu Jan 20, 2022 9:34 pm
Forum: ESP-IDF
Topic: Slow processing after enabling flash encryption
Replies: 2
Views: 3157

Slow processing after enabling flash encryption

Hi,

I am experiencing very slow processing after I enabled flash encryption.
It's very clear on my I2c communication.
Here is a screenshot before:
before.JPG
And here is after:
after.JPG
The total time for the entire I2C communication was less than 10ms before.
It is now over 30ms
It gets much ...

Go to advanced search