Electrical – RN4871 pairing and config errors

bluetooth

I’ve bought 2 x RN4871 and connect them to a MCU at first and FTD1232 3.3v in a second time.
My problem is, when I try to find these device on windows 7, I can’t find them. When I try to config then with « $$$ » command with promini 3.3v or FTD1232 : NOTHING !!
When I replace the RN4871 by a RN42, its working. No I’m wondering if there is a firmware inside these modules, I’m not sure of that or perhaps their are defects. 2 weeks on this problem.

here the circuit
enter image description here

Best Regards

Best Answer

Yes, there is firmware, and there is a known bug in it that can cause a module to completely die and stop responding by losing its BLE address an never getting it back. You should hold the module in RESET mode until the power is stable by connecting RST_N to a GPIO and pulling it LOW with a resistor. Only set the GPIO HIGH once your sketch is running and power is stable.

I have a library as part of a larger project that uses these modules that may be of use to you. You can find it here.

There is a firmware flashing program for Windows and updated firmware available on the RN4871 page at microchip.com - scroll down to and expand the Documentation section.

If the modules are completely dead then there is a possibility to recover them. I haven't performed the operation yet, so can't vouch for it - though I do have a couple of modules I need to recover. Also, I cannot find the instructions at the moment, so I can't point you to the right location. I believe it involves using MPLAB-X though. I will probe my contacts.


Update: apparently there's a command line tool that can recover the modules. I'm just trying to find out more about it.