Wait for 50ms for the device to enter Download Mode.Issue the vendor specific HCI command ‘Download_Minidriver’ (OGF 0x3F, OCF 0x02E or 0xFC2E together) and wait for the command complete event.Issue the HCI reset command (OGF 0x03, OCF 0x003 or 0x0C03 together), wait for the command complete event and check that the return status code is zero.Open HCI command socket over USB or otherwise.This guide assumes that the user knows how and has the capability to issue a HCI command and to read a HCI event on their platform. Needless to say the below routine should be integrated into the host solution that is to be deployed on the end-product.
BROADCOM BCM20702 BLUETOOTH 4.0 USB DEVICE CODE 10 PATCH
It’s important to note that this patch is applied in volatile RAM memory and as such, must be re-applied each time the device is power-cycled.It’s therefore important for the sake of RF testing and production that the host load on to the module a ‘PatchRAM’ firmware file. The BCM20702 is shipped from the factory with a generic firmware that will allow for communication between the IC and the host via HCI commands, however, this firmware does not include design-specific RF optimisations, the latest bug fixes or additional functionality.
The LM506-0518 features at its core a Broadcom BCM20702 Bluetooth 4.0 HCI USB IC.