9 years, 9 months ago.

Compiling and Download BLE_Health_Thermometer_Blog Using Keil

I am having some issues using the BLE_Health_Thermometer_Blog example in Keil. It compiles and downloads but does not run correctly. Any Ideas?

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers …

is this specifically with that example or do all other examples using BLE fail to run correctly when flashed via Keil?

posted by Tuze Kuyucu 22 Jul 2014

Solved. Pre-loaded the softdevice and in the options for target I changed the following: Under Target: IROM1: Start to 0x0 Size to 0x40000 IRAM1: Start to 0x20002000 Size to 0x4000 Under User: Unchecked Run#1 under Run User Programs After Build/Rebuild Under Debug: Changed Debugger to J-Link / J-Trace cortex and under flash download changed to Erase Sectors and RAM for Algorithm to Start: 0x20002000 Size: 0x2000 This seemed to fix it, although now I am going over the 32K limit........

posted by Heath Pritchett 22 Jul 2014

1 Answer

9 years, 9 months ago.

Heath,

Do you see a "fail.txt" file on the mbed drive right after a download? If so, here's my solution:

http://mbed.org/questions/3727/nRF51822-Stopped-executing-downloaded-pr/

Look just before the green box in the thread. Under "I have found the problem..."

...kevin