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

ble_app_hrs_s110_pca10028 not working!

Hi

I'm trying to program a nRF51 DK (pca10028) with the heart rate demo "ble_app_hrs_s110_pca10028", but for some reason it doesn't respond... at all.

I started off by copying the "ble_app_hrs_s110_pca10028" example code from the pack installer in Keil and proceeded to build and download the solution apparently without errors or warnings (see result below).

Yet still nothing happens. The BSP_INDICATE_ADVERTISING state is not indicated, the device doesn't show up in the master control panel and nothing happens when i press any of the buttons.

What's even more confusing is that the old code present in the flash sometimes continue running even after the hrs app supposedly downloaded successfully. Case in point; I tried the blinky_led example code first and got it working right away. I then tried the hrs app as explained above, but the leds were still blinking along merrily despite Keil claiming to have erased, programmed and verified the the new code.

Does anyone know what's going on here?

Thanks in advance!


Result of rebuild and download to flash:

Rebuild target 'nrf51422_xxac_s110'
compiling main.c...
compiling bsp.c...
assembling arm_startup_nrf51.s...
compiling system_nrf51.c...
compiling ble_bas.c...
compiling ble_dis.c...
compiling ble_hrs.c...
compiling ble_srv_common.c...
compiling device_manager_peripheral.c...
compiling ble_advdata.c...
compiling ble_conn_params.c...
compiling nrf_delay.c...
compiling app_uart_fifo.c...
compiling pstorage.c...
compiling app_button.c...
compiling app_error.c...
compiling app_fifo.c...
compiling app_gpiote.c...
compiling app_scheduler.c...
compiling app_timer.c...
compiling app_trace.c...
compiling ble_sensorsim.c...
compiling nrf_assert.c...
compiling retarget.c...
compiling softdevice_handler.c...
linking...
Program Size: Code=15176 RO-data=332 RW-data=328 ZI-data=3648  
FromELF: creating hex file...
".\_build\nrf51422_xxac_s110.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed:  00:00:06
Load "C:\\Users\\...\\Desktop\\Keil_test_hrs\\ble_peripheral\\ble_app_hrs\\pca10028\\s110\\arm5\\_build\\nrf51422_xxac_s110.axf" 
Set JLink Project File to "C:\Users\...\Desktop\Keil_test_hrs\ble_peripheral\ble_app_hrs\pca10028\s110\arm5\JLinkSettings.ini"
* JLink Info: Device "NRF51422_XXAC" selected.
 
JLink info:
------------
DLL: V4.96d, compiled Jan 29 2015 11:45:37
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Nov 28 2014 10:32:04
Hardware: V1.00
S/N : 681991854 
 
* 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 = 0xF0000003
 
Target info:
------------
Device: nRF51422_xxAC
VTarget = 3.300V
State of Pins: 
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints:          2
JTAG speed: 1000 kHz
 
Erase Done.
Programming Done.
Verify OK.
Application running ...
Flash Load finished at 19:32:18
Parents Reply Children
No Data
Related