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

Github led/button example nrf51_ble_app_lbs_master for SDK 8.0.0 not discovered on Master Control Panel

Dear all, after solution of some compilation errors on github nrf51_ble_app_lbs_master for SDK 8.0.0, I tried flash application using nRFgo Studio, it says that application must be programmed without softdevice alone previous programming, OK, programm was flashed without problems but after device didn't appears on Master Control Panel, that means device was not discovered. I'm using following components:

Nordic PCA10028 DK board Nordic PCA10000 Bluetooth dongle Nordic Master Control PAnel Nordic nRFgo Studio Nordic SDK 8.0.0 Keil IDE Lite version Nordic auxiliar tools

can you help?

Thanks and regards. Luis Tenedorio Globaltronic SA

Dear Petter, after a lot of efforts and posts we had concluded that problem was located on my example compilation, as you said something about "10 errors all same type cannot open source input file core_cm0.h, no such file or directory" that forced me delete original startup files and add new CMSIS startup files. Following your last comment please accept attached project file in order to observe something wrong. As you said, I had compiled other examples of SDK 8.0.0 namely blinky and hrs and they work fine! lbe-app-hrs including was advertised on MCPanel, so there are a small "stone" on lbe-app-lbs-master but we will find that. Thanks amd regards Luis nrf51-ble-app-lbs-master_100.rar

Parents
  • I guess you are not using a ULINK since you are using the PCA10028 DK which has a JLINK.

    Your settings should be something like this:

    image description

    Edit 05.11.2015:

    1. Open nRFgo Studio.
    2. Select your nRF51 development board
    3. Click Erase All
    4. Click Program SoftDevice tab
    5. Browse and Program this.
    6. Click Program Application tab
    7. Browse and Program this.

    Is the device advertising?

  • Hello Petter, looking for comments from Aryan, Nordic employee on his posts, we can understand that we must avoid insert breakpoints on ble instructions, he suggest one of best ble applications debug techniques that can be resumed as follows:

    • Insert a breakpoint before ble instructions
    • Start debug
    • Set PRIMASK register
    • Step until hit a ble instruction
    • Remove initial breakpoint
    • Set a breakpoint on a new instruction next to ble instructions
    • Restart debugger again

    Following this guidelines on ble_app_lbs_master following breakpoints had been inserted:

    560: buttons_ini() 570: timers_start()

    After starting debugger it stops on instruction 560 as expected but after never goes from there even using Run command, can you help?

    Thanks and regards Luis

Reply
  • Hello Petter, looking for comments from Aryan, Nordic employee on his posts, we can understand that we must avoid insert breakpoints on ble instructions, he suggest one of best ble applications debug techniques that can be resumed as follows:

    • Insert a breakpoint before ble instructions
    • Start debug
    • Set PRIMASK register
    • Step until hit a ble instruction
    • Remove initial breakpoint
    • Set a breakpoint on a new instruction next to ble instructions
    • Restart debugger again

    Following this guidelines on ble_app_lbs_master following breakpoints had been inserted:

    560: buttons_ini() 570: timers_start()

    After starting debugger it stops on instruction 560 as expected but after never goes from there even using Run command, can you help?

    Thanks and regards Luis

Children
No Data
Related