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

  • Hello Petter, thank you once more. I can't find attached files, can you help? Regards. Luis

  • They are attached to my first answer. See below the debug pictures.

  • Thanks Petter, I just go try run the files. Regards. Luis

  • Hello Peter, your files work fine! Example was advertised on my Master Control Panel MCP. After all let me please make a brief resume from begining in order to understand whats hapenning:

    1 - The problem begun with compilation of example lbe-app-lbs-master from Github, the example is for SDK 8.0.0. My IDE is Keil 5.15 Lite version, ARM toolchain, selected device is nRF51422_xxAC, start address 0x18000 and size 0x28000. The compilation returns 10 errors all same type "cannot open source input file core_cm0.h, no such file or directory"

    2 - I changed project configuration by removing original startup files and inserting two new CMSIS startup files arm_startup_nrf51.s and system_nrf51.c.

    3 - The compiler didn't return any error.

    4 - SoftDevice and app were flashed on PCA10028 without problems

    5 - Device were not avdertised on MCP

    6 - Several debug attempts were performed as we can see on these posts being inconclusive about problem origin

    7 - You send me your previously compiled files and they work fine! The app was advertised on MCP

    8 - My SoftDevice hex file was flashed with your app using nRFgo Studio and works fine!

    9 - Your Softdevice file was flashed with my app and didn't work.

    Clearly the problem is on my compiled app. Can I send you the file to try in your system? Have you any idea else? meanwhile I will try use other debug techniques.

    Thanks and regards. Luis

  • It should be necessary to modify the project, so I suspect the issue has something to with "The compilation returns 10 errors all same type "cannot open source input file core_cm0.h, no such file or directory". Are you able to run other examples in the SDK? Like Blinky and ble_app_hrs? You can attach your complete project by editing your original question, and I'll take a look.

Related