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

Unable to flash another BLE code after flashing a secure BLE bootloader

I Flashed the DK using segger embedded studio with example "pca10056_s140_ble_debug" After that I am unable to flash "ble_app_uart" example.

I tried another example like "gpiote", it worked but unable to flash "pca10056_s140_ble_debug" as well as "ble_app_beacon".

  • No, only single device is connected.

    I tried "gpiote" example and it ran successfully even in debug mode but "ble_app_uart" and "ble_app_beacon" didn't work.

  • I have tested both "ble_app_uart" amd "ble_app_beacon" on the nrf52840dk v2.0.1 and both work for me. 

    So I will list the steps I do:

    Connect DK to pc with USB.

    Open SES (I am using SES Nordic edition V4.52)

    Click the Open Existing button on the dashboard.

    Select either ble_app_uart or ble_app_beacon emProject file. ( I tested SDK16 and SDK17, \examples\ble_peripheral\ble_app_uart\pca10056\s140\ses)

    Click on the Target and select Connect J-link.

    Click on Target once more and select Erase All.

    Click on Build and select Build(F7).

    Click on Target and select Download.

    Open a Serial terminal like Putty and connect to the port.
    Press the reset device to se if the correct output is printed in the terminal.

    For ble_app_beacon this is printed in the terminal:
    <info> app_timer: RTC: initialized.
    <info> app: Beacon example started.

    For ble_app_uart this is printet:
    UART started.

    Here is a link to the SDK XX:https://developer.nordicsemi.com/nRF5_SDK/

    If you still experience the same problem then maybe try SES Nordic Edition, but don't think that is the problem.

    Regards,
    Jonathan

Related