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

BLE Multilink Central Example Stalling On nRF51 DK

I'm in the process of trying to start my custom application based on the ble_app_multilink_central_s130_pca10028 example found in the SDK. When I run the app on the nRF51 DK, I'm seeing this in my UART terminal:

[APPL]: Start
[DM]: >> dm_init.
[DM]: Initializing Application Instance 0x00000000.
[DM]: Initializing Connection Instance 0x00000000.
[DM]: Initializing Connection Instance 0x00000001.
[DM]: Initializing Connection Instance 0x00000002.
[DM]: Initializing Connecti0t00t0a0. 0n0 0i0 0.n0P0a0D00l000300003FcFFFFFFFFF FFF]10003F0eFMFFFFFFFFFFF0k0003[0FFiFFF0FFFFFFF0d0003M0FFxFFFFFFFFFFF00003F ]FFxFFFFFFFFFFF00003F0vFFFFFFFFFFFFF
00003F0eFFFFFFFFFxFFFx]0003F0yF
FFFFFFF FFF]sns

This is my main():

int main(void)
{
    // Initialization of various modules.
    app_trace_init();
	
	APPL_LOG("[APPL]: Start\n\r");
	
    LEDS_CONFIGURE(LEDS_MASK);
    LEDS_OFF(LEDS_MASK);
    buttons_init();
    ble_stack_init();
    client_handling_init();
    device_manager_init();
	
    APPL_LOG("[APPL]: Exit DM\n\r");	
	
    // Start scanning for devices.
    scan_start();
    for (;;)
    {
        power_manage();
    }
}

It appears to be getting caught up in the device manager. Each time it runs, it produces garbage on the fourth connection instance. The garbage is random each time it runs. I've erased and re-programmed three times now with the same result.

My process includes erasing and uploading S130 (s130_nrf51_2.0.0-7.alpha_softdevice.hex) using nrfjprog in the command prompt. I then compile and load the ble_app_multilink_central_s130_pca10028 example. The only changes I've made to the example are defines for the logging and a two logging messages in main().

Is this a hardware issue with the DK? Am I doing something else incorrect? Correct S130?

Parents
  • Jorgen, I originally downloaded 12.1.0, so I'm not sure how I received the alpha version.

    Just now, I re-downloaded the new s130_nrf51_2.0.1_softdevice.hex file using nrfjprog in the command prompt and tried compiling and loading the same project. Now, I'm just receiving a repeating "[" character in the UART transmission.

    Do I need to completely re-install the SDK?

Reply
  • Jorgen, I originally downloaded 12.1.0, so I'm not sure how I received the alpha version.

    Just now, I re-downloaded the new s130_nrf51_2.0.1_softdevice.hex file using nrfjprog in the command prompt and tried compiling and loading the same project. Now, I'm just receiving a repeating "[" character in the UART transmission.

    Do I need to completely re-install the SDK?

Children
No Data
Related