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

Program ble_app_uart into Adafruit Bluefruit LE board which uses nRF51822 module

Previously, I was able to program ble_app_uart using SDK_11 s130 into nRF51-dk. Now, I would like to program ble_app_uart into Adafruit Bluefruit LE friend board. www.adafruit.com/.../2267

This Adafruit board uses the MDBT40 module which uses nRF51822 32kb RAM 256 KB Flash. www.raytac.com/.../MDBT40 spec-Version A4.pdf

On Keil, the target is nrf51422_xxac_s130. To program onto this module, the target has to customized to nrf51822 32kb RAM 256kB flash. How to configure the right settings?

image description

I have the segger jlink device for programming into the MDBT40 BLE module.

Here is the compilation and build output;

Build target 'nrf51422_xxac_s130'
".\_build\nrf51422_xxac_s130.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed:  00:00:00
Load "C:\\Users\\hlpme\\nRF5_SDK_11.0.0_89a8197\\examples\\ble_peripheral\\ble_uart-copy\\pca10028\\s130\\arm5_no_packs\\_build\\nrf51422_xxac_s130.axf" 
Set JLink Project File to "C:\Users\hlpme\nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_uart-copy\pca10028\s130\arm5_no_packs\JLinkSettings.ini"
* JLink Info: Device "NRF51422_XXAC" selected.
 
JLink info:
------------
DLL: V5.10d, compiled Dec  9 2015 12:49:14
Firmware: J-Link V9 compiled Oct  9 2015 20:34:47
Hardware: V9.40
S/N : 269400632 
OEM : SEGGER-EDU 
Feature(s) : FlashBP, GDB 
 
* 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
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ F0000000
* JLink Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl 1 @ E00FF000
* JLink Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
* JLink Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
ROMTableAddr = 0xF0000000
 
Target info:
------------
Device: nRF51422_xxAC
VTarget = 3.277V
State of Pins: 
TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 0
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints:          2
JTAG speed: 4000 kHz
 
Erase Done.
Programming Done.
Verify OK.
Application running ...
Flash Load finished at 16:45:53
Related