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

  • @tenedorio: You have to flash the S110 v8.0 first. Could you explain where it says "it says that application must be programmed without softdevice alone previous programming" ? Without softdevice the application won't work. Have you tried to follow this guide ?

  • Hi Hung, sorry by great delay, I had been out of office last days and return today. Thanks for your help. I would like tell you yes, I had read the manual

    you referred, also followed "Running examples that use a SoftDevice ", a considerable amount of exambles had been flashed and run successfully but

    not this Github example that I think is a good example. Let me a brief resume:

    1 - Compile ble_app_lbs_master with sucess

    2 - On nRFgo Studio perform "erase all"

    3 - Try flash softdevice 110 (8.0.0) using nRFgo Studio, OK no problem.

    4 - Try flash application hex code, nRFgo Studio shows a message "This hex file has data on softdevice region. Try programming using "Program

    Softdevice" or erase all before programming"

    5 - Proceed again with "erase all", program softdevice and after program application, same result as before.

    6 - Proceed again with "erase all", program application first and softdevice after, no problem with flash but device don't appears on Master Control

    Panel. I think application try "write over" softdevice area but how solve this in order to be discovered on Master Control Panel?

    Regards once more. Anybody who can help, thanks in advance.

    Luis Tenedorio

  • Hi Tenedorio, I suspect that the project setting of the location of ROM has been changed. Could you take a screenshot of the project option at "Target" tab ? IROM1 should start at 0x18000 with the size of 0x28000.

  • Hello Hung, thanks once more. In fact IROM1 address was 0x00 and size 0x40000. I had changed to 0x18000 base and size to 0x28000 as you suggest and compilation is OK, softdevice and application successful programmed but application still not discovered on Master Control Panel, can you help? Thanks and regards. Tenedorio

  • Hi Tenedorio,

    The example was tested and worked fine on my side. I would suggest you to download the example again from github and give it another try.

    If it still doesn't work, you may want to start the application in debug mode and add a break point in the app_error_handler() to see which file name and line number causes assertion. Or you can try to use uart to debug.

Related