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, sorry by great, great delay but meanwhile hard work had been done in order not bore you with many questions, that means I tried harder solve all concerned problems and please let me show you last developments as follows.

    1 - Of course I changed all Debug settings according your suggest and used J-Link Lite as first approach (after I will buy J-Link ULTRA). All is right, I can debug PCA10028 board apps without problems.

    2 - Most of Nordic examples from SDK 9.0.0 were debugged without problems but I continue having issues with ble_app_lbs_master example from github (SDK 8.0.0) that's the original concerning, so I ask you and forum people the favour to help. The main issue is app continues not been advertised on Master Control Panel. After a great number of efforts I noted the debugger hangs on sd_softdevice_enable function on module softdevice_handler.c not beeing possible proceed with debug. This not happens in other examples for SDK 9.0.0 as heart rate service. If I stop de debug clicking on STOP button the processor enters on a endless loop starting at address 0x00000750. I think that's the reason why app don't is discovered on Master Control Panel MCP.

    3 - Trying to solve the problem I observed that Elena had post a question showing problems when debugging lbs application (led/button for SDK 8.0.0). She said that assert_callback function was empty but I don't know how to "fill" that function that in my case seems of course empty.

    4 - As interesting question I can tell you that when debugging most of softdevice examples from SDK 9.0.0 hang on sd_nvic_EnableIRQ(SWI2_IRQn) function (using step command) and not in sd_softdevice_enable function as for lbs example, if anybody can tells me why I will be gratefull.

    Thanks for all. Regards. Luis

Reply
  • Hello Petter, sorry by great, great delay but meanwhile hard work had been done in order not bore you with many questions, that means I tried harder solve all concerned problems and please let me show you last developments as follows.

    1 - Of course I changed all Debug settings according your suggest and used J-Link Lite as first approach (after I will buy J-Link ULTRA). All is right, I can debug PCA10028 board apps without problems.

    2 - Most of Nordic examples from SDK 9.0.0 were debugged without problems but I continue having issues with ble_app_lbs_master example from github (SDK 8.0.0) that's the original concerning, so I ask you and forum people the favour to help. The main issue is app continues not been advertised on Master Control Panel. After a great number of efforts I noted the debugger hangs on sd_softdevice_enable function on module softdevice_handler.c not beeing possible proceed with debug. This not happens in other examples for SDK 9.0.0 as heart rate service. If I stop de debug clicking on STOP button the processor enters on a endless loop starting at address 0x00000750. I think that's the reason why app don't is discovered on Master Control Panel MCP.

    3 - Trying to solve the problem I observed that Elena had post a question showing problems when debugging lbs application (led/button for SDK 8.0.0). She said that assert_callback function was empty but I don't know how to "fill" that function that in my case seems of course empty.

    4 - As interesting question I can tell you that when debugging most of softdevice examples from SDK 9.0.0 hang on sd_nvic_EnableIRQ(SWI2_IRQn) function (using step command) and not in sd_softdevice_enable function as for lbs example, if anybody can tells me why I will be gratefull.

    Thanks for all. Regards. Luis

Children
No Data
Related