cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get HCI timeout erros while updating IFR or firmare BlueNRG-MS

Maxime Benchemoul
Associate II

Hi everyone,

On my custom board (STM32L442 + BlueNRG-MS), I am currently trying to get working the BlueNRG chip using the BlueNRG GUI software.

I used CubeMX (V4.26) to implement the BLE middleware and to set up the interface between the MCU and the BLE chip. Thank to this new feature included in CubeMX, I have been able to flash the Virtual COM Port application.

Under BlueNRG GUI, I tryed to set up the IFR configuration but I got HCI timeout errors several times... (before that, I did some steps under ACI Utilities menu like "Init Device" and "Advertising", and I did not get any errors...).

Despite those errors, the chip was working well but as soon as I tryed to change the SCA values, I got another HCI timeout error and now nothing works!

The chip seems to be completely unusable.

On an other board, I had the same kind of problem when I tryed to update the BlueNRG firmware (latest version available on st.com). I got an error in the middle of the loading and the BLE chip is also unusable under BlueNRG GUI.

Do you know if this is irreversible, and if it is not how to fix it up?

Thank you!

Maxime

EDIT: I may have dramatized too quickly... It seems that a HW reset of the MCU solve the problem. I still got the HCI timeout error when I try to update the IFR configuration which sometimes makes unusable the BLE chip. After that, a HW reset used through the BlueNRG GUI software does not work but a manual HW reset of the MCU does. May the problem be on the MCU side (Virtual COM Port app)?

4 REPLIES 4

@ST Community​ who is covering BlueNRG?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MD Am
Associate

I had the same issue. No answer by ST...

Seems to be a timing issue, HCI timeout error appears at random update percentage. Slow PCs, in particular, have this behavior.

When BlueNRG-MS appears irresponsive press the RESET button on the Nucleo board just few seconds before pressing the "Update" button on BlueNRG GUI, and try (many times) to update the firmware.

This is the result. BlueNRG-MS up and running again!

0690X0000089FFaQAM.png

Maxime Benchemoul
Associate II

Hi,

I still don't have any explications about this bug. When an update fails, I try several times and it finally works.

And I tried with two different PCs (including a brand new one, powerfull) and the bug is still there.

Anyway thank you for your feedback!

MD Am
Associate

Seems to be a very "buggy" implementation of firmware update procedure... not good! :\