This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Developing with BL652 -- Not advertising after successful BLE example download

I am new to BLE development, if that helps preface this question.

My goal is to get a BL652 module by Laird working with the BLE UART example from the Nordic SDK. I am using the Keil uVision IDE and am connected to the board via a ST-Link V2 clone through SWD. The example builds with no problems and after changing the target driver setup to "Erase Full Chip", using the nRF52xxx programming algorithm, and setting the ram to start at 0x20000000 at size 0x2000, the code loads with no errors. However, I have no indication that the board is actually advertising and do not see the "Nordic UART" device name in either nRF Connect or nRF Toolbox. Are there any thoughts on where I have gone wrong here? Thanks!

Parents
  • Before flashing the application from the nordic sdk, you'll need to flash the softdevice.

    This can be done with OpenOCD, something like

    openocd -f "interface/stlink.cfg" -f "target/nrf52.cfg" -c "init" -c "halt" -c "nrf5 mass_erase 0" -c "program /path/to/softdevice.hex" -c "exit" 

    Please note you'll need a build of the git version of OpenOCD. The latest release version (0.10) still lacks support for nRF52 flashing. 

Reply
  • Before flashing the application from the nordic sdk, you'll need to flash the softdevice.

    This can be done with OpenOCD, something like

    openocd -f "interface/stlink.cfg" -f "target/nrf52.cfg" -c "init" -c "halt" -c "nrf5 mass_erase 0" -c "program /path/to/softdevice.hex" -c "exit" 

    Please note you'll need a build of the git version of OpenOCD. The latest release version (0.10) still lacks support for nRF52 flashing. 

Children
Related