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

nRF51822 sample projects (HRS, Proximity) never start advertising.

Blicky project runs and I can set break points and run through them - watching the LEDs blink appropriately. However, the HRS and Proximity projects will successfully load on the EK, but I never get the feeling that they are advertising - i.e. no blinking LED and strange error message in the debug window.

Obviously, the device never shows up in the Nordic apps, nor in the Bluetooth settings in iOS.

Thanks! klw1971

--

nRF51822 board says "PCA1001 V2.2.0 2014.11". iOS 7.1 on iPad Mini iOS 7.1.1 on iPhone 5

--

Below, when the error is reported on line 744, there is an exclamation point on the line where I was trying to set a break point.

--

Running with Code Size Limit: 32K Set JLink Project File to "C:\Nordic Semiconductor\nRF51 SDK_v5.2.0.39364\Nordic\nrf51822\Board\pca10001\s110\ble_app_hrs\arm\JLinkSettings.ini"* JLink Info: Device "NRF51822_XXAA" selected (257 KB flash, 16 KB RAM).

JLink info:

DLL: V4.84f, compiled May 9 2014 20:05:42 Firmware: J-Link OB-SAM3U128 V1 compiled Dec 11 2013 20:20:11 Hardware: V1.00 S/N : 480206699

  • JLink Info: Found SWD-DP with ID 0x0BB11477
  • JLink Info: Found Cortex-M0 r0p0, Little endian.
  • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots ROMTableAddr = 0xE00FF003

Target info:

Device: nRF51822_xxAA VTarget = 3.300V State of Pins: TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 2000 kHz

Load "C:\Nordic Semiconductor\nRF51 SDK_v5.2.0.39364\Nordic\nrf51822\Board\pca10001\s110\ble_app_hrs\arm\_build\ble_app_hrs.axf"

*** Restricted Version with 32768 Byte Code Size Limit *** Currently used: 17252 Bytes (52%)

BS \ble_app_hrs../main.c\744 _________________^ *** error 35: undefined line number

--

IDE-Version: µVision V5.10.0.2 Copyright (C) 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.

Tool Version Numbers: Toolchain: MDK-Lite Version: 5.10.0.0 Toolchain Path: C:\Keil_v5\ARM\ARMCC\bin
C Compiler: Armcc.Exe V5.04.0.49 [Evaluation] Assembler: Armasm.Exe V5.04.0.49 [Evaluation] Linker/Locator: ArmLink.Exe V5.04.0.49 [Evaluation] Librarian: ArmAr.Exe V5.04.0.49 [Evaluation] Hex Converter: FromElf.Exe V5.04.0.49 [Evaluation] CPU DLL:
Dialog DLL:
Target DLL: Segger\JL2CM3.dll Dialog DLL: TARMCM1.DLL V1.08.00.0

Parents Reply Children
Related