Search found 10 matches

by henrysshunt
Fri Jun 28, 2024 2:40 pm
Forum: ESP-IDF
Topic: NimBLE throughput example results don't improve when using 2M PHY
Replies: 3
Views: 1687

Re: NimBLE throughput example results don't improve when using 2M PHY

Problem solved. I have achieved 102.5 KB/s with 2M PHY after disabling all logging output.

With 1M PHY this drops to 68.6 KB/s (a bit above the 500 Kbps (63 KB/s) given in the README).
by henrysshunt
Thu Jun 27, 2024 4:00 pm
Forum: ESP-IDF
Topic: NimBLE throughput example results don't improve when using 2M PHY
Replies: 3
Views: 1687

NimBLE throughput example results don't improve when using 2M PHY

I've been experimenting with the throughput_app BLE example and have found that changing the PHY from 1M to 2M does nothing to increase the reported throughput value. Is this expected? I had expected there to be a significant increase in throughput at the application level when using the 2M PHY afte...
by henrysshunt
Mon Oct 16, 2023 2:50 pm
Forum: ESP-IDF
Topic: Over-the-air update: Panic happens when esp_ota_end() is called
Replies: 12
Views: 5155

Re: Over-the-air update: Panic happens when esp_ota_end() is called

We managed to fix our issue. In one of the modules of our application, we had a uint8_t* global that was initialised to point to a const string. We were then modifying that variable, meaning we were modifying constant program data. Changing the variable to an array that is initialised to the value o...
by henrysshunt
Thu Oct 12, 2023 10:08 am
Forum: ESP-IDF
Topic: Over-the-air update: Panic happens when esp_ota_end() is called
Replies: 12
Views: 5155

Re: Over-the-air update: Panic happens when esp_ota_end() is called

We're still having this issue and have made no further progress on it. Does anyone have any ideas?

Thanks.
by henrysshunt
Wed Jul 19, 2023 9:33 am
Forum: ESP-IDF
Topic: Over-the-air update: Panic happens when esp_ota_end() is called
Replies: 12
Views: 5155

Re: Over-the-air update: Panic happens when esp_ota_end() is called

Checking with the Eclipse debugger, EXCAUSE is set to 4, which I guess is the latter of your two points (Level1InterruptCause). Just to see if it would change anything I increased the interrupt watchdog timeout to 10 seconds, but that didn't have any impact. Let me know if there's any other info you...
by henrysshunt
Tue Jul 18, 2023 3:55 pm
Forum: ESP-IDF
Topic: Over-the-air update: Panic happens when esp_ota_end() is called
Replies: 12
Views: 5155

Re: Over-the-air update: Panic happens when esp_ota_end() is called

This issue has recurred in the same was as explained above, again after having made no specific changes to the related code (as this feature had been finished and working). I don't have any further information to give or look for on this. The call to esp_image_verify() inside esp_ota_end() is causin...
by henrysshunt
Thu Jul 13, 2023 2:55 pm
Forum: ESP-IDF
Topic: Over-the-air update: Panic happens when esp_ota_end() is called
Replies: 12
Views: 5155

Re: Over-the-air update: Panic happens when esp_ota_end() is called

So I had another look at this again today, and found that the problem has gone away on both of the boards I was using (both of which yesterday had OTA updates not working in the way described above), despite not making any further changes to try and fix this. In terms of your question, I don't reall...
by henrysshunt
Wed Jul 12, 2023 10:34 am
Forum: ESP-IDF
Topic: Over-the-air update: Panic happens when esp_ota_end() is called
Replies: 12
Views: 5155

Over-the-air update: Panic happens when esp_ota_end() is called

I’m adding OTA firmware update functionality over Bluetooth (BLE) and am having issues where calling esp_ota_end() constantly causes a panic. I have had this working previously during development. There seems to be no issues with starting the update and writing the chunks of firmware to flash. I hav...
by henrysshunt
Thu Jun 22, 2023 10:46 am
Forum: ESP-IDF
Topic: Bluetooth pairing panics every time following unpairing
Replies: 0
Views: 1787

Bluetooth pairing panics every time following unpairing

I’m working on a Bluetooth (NimBLE stack) device that uses pairing. I took a device that had been working fine a day ago and unpaired it using its external button (which calls ble_gap_unpair_oldest_peer()). Then, when I tried to pair again, it connected but panicked and disconnected shortly after in...