Home

nRF51822_422_DK User Guide.fm

image

Contents

1. flat cable 32kHz Wi Ung P 1 0 Motherboard PATR deans SEMICONDUCTOR a m e p11 2 2 N 1 a BUTTONS LEDS g LEDO ED 1 LED 2 ED 3 LED 4 ED 5 LED 6 ED 7 10 pin 1 27 mm olllo Jo ffo Jo ol joy fio fl at ca b e O n Button 0 Button 1 Button 2 Button 3 Button 4 Button 5 Button 6 Button 7 O P8 P10 P1 P2 J Link Lite CortexM WxeHOD 3L NIT 20 uf C UN UJI A O gt gt D A D Q O A O 3 O Cc D Figure 4 Kit setup Page 18 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 4 2 1 nRFgo nRF51822 DK modules The nRF51822 modules contain the nRF51822 device and its interfaces see Section 5 1 on page 21 fora complete description The modules are plugged into the Motherboard which provides the power supply Make sure the jumper on header K1 is placed in the default position as described in Section 5 1 8 on page 29 The Motherboard is connected to your computer with a USB cable and turned on as described in Turn on and set the supply voltage on page 9 On the Motherboard the two 10 pin flat cables connecting P8 PORTO and P1 BUTTONS and P10 PORT 1 and P2 LEDS are required to connect the correct I Os to the LEDs for the example projects in Chapter 2 on page 4 and for projects in the SDK Note With the nRFgo Studio application you can
2. S oFF _ o JON H 5 eee 9 2 nRF ISP O RS232 O ON OFF 5 RS232 D VCC and VTG LED Q 2 0 m m o m m m m m m m m m m m m m m VCC VTG 4 m m m m m m m m m m m m m m m m EXTA Board ID nRF CURRENT MEASUREMENT o STATUS nRFgo kl D SEMICONDUCTOR 9 Fel GND AREF0 3 AIN7 AIN6 AINs O ANG o QD AIN3 AIN2 a SB1 ANO AINO o 4 Start nRFgo Studio The Motherboard firmware may require an update and if needed you will be prompted to begin the update If this occurs click OK and wait for the update to complete The firmware on board 0 is older than the current version It should be updated to assure correct functionality Do this by pressing the OK button Note While updating the firmware you will see nRFgo Studio look similar to the image on the left below On completion of the update the Updating message will change to Upgrade as seen in the figure on the right however this option is not immediately available after the latest update and will be greyed out nRFgo Studio Connected boards overvie File View GATT Setup Help Features x A nRFgo Studio Connected boards overview File View GATT Setup Help Features K A nRFgo MotherBoard firmwares nRFgo MotherBoard firmwares 4 2 4GHz Latest motherboard firmware
3. E um jam Co EJ m LED 2 LED 3 LED 4 LED 5 LED 6 LED 7 O O O O O O Button 1 Button 2 Button 3 Button 4 Button 5 Button 6 Button 7 O Button 0 P8 J Link Lite Cortex M T Zz A EE m Q e 2 2 x Figure 35 UART setup for DIM Page 50 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 PO 1 TXD PO 3 RXD Table 8 UART setup The DTM is designed for use with Bluetooth test equipment If you don t have a Bluetooth tester you can access the interface using this Development Kit and nRFgo Studio to run the tests Note In nRFgo Studio the Program button under Direct Test Mode UART Interface will not work on the nRF51 platform Page 51 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 8 2 Programming the nRF51822 module with DTM The nRF51822 module has to be programmed with the DTM application found in the nRF51 SDK This application is provided with its source code and needs to be compiled using Keil 1 Locate the DTM application project found under lt Keil path gt ARM Device Nordic nrf51822 Board nrf6310 ble ble_ app dtm arm 2 Open the DTM project in Keil uVision by double clicking the ble_app_dtm uvproj file 3 Click the Build icon or press F7 to build the project 4 Only one SEGGER device should be connected to your computer Make sure it is also
4. A NIO connector LA 0 D NORDIC 9 O eo cND AREF0 3 adu AIN7 JAING mn AIN5 AIN4 b dp AIN3 IAIN2 a AIN1 OJ ANo E K1 header 32kHz p3 SWD spo gt NA ann 4 P4 Page 7 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Plug the nRF51822 DK SMA connector module into the nRFgo Starter Kit Motherboard nRF6310 Connect a USB cable from the Motherboard to your computer 5 Using two 10 pin flat cables 2 54 mm included in the nRFgo Starter Kit connect one cable between P8 PORTO and P1 BUTTONS and one between P10 PORT1 and P2 LEDS on the nRFGo Motherboard Make sure the red marking on the cable is always connected to pin 1 as shown in the figure below 6 Connect the SEGGER J Link board to the nRF51822 module with the 10 pin flat cable 1 27 mm provided in the Development Kit 7 Connect a USB cable from the J Link board to your computer nih ni oonaoo ooo 090 A02 8 OG OV 7a T O Oo O 2 O kai m SNIA KiddnsA 2 g QR NK STATUS SEMICONDUCTOR jawainseay
5. N0Z 8 30 9Y Ajddnsj nRF ISP o T RS232 O ON OFF RS232 VCC VIG 1 EXTA oa nRF CURRENT g MEASUREMENT o STATUS ORDIC AHANAAAAAANAAAAA o SEMICONDUCTOR o ARARAAAAAARAAAAA HHHHHHHHHHHHHHHT HH8HHHHHHHHHHHHT I ele alol wewainseaw 32kHz HE VO Motherboard EXT B 2 NORDIC 1 m a o vI VUY vuv vuy nRF DEBUG SEMICONDUCTOR SSSSE pg 23226 po S888 amp po S888 H py won X Bw oN gt sa oan x Bean x 32 3 3 3 2 olloa 5 2lo folol 3 2lollollo lola 5 2lolol olol 5 3 3 z z ojojoj 3 1lojj aj ajala a 1 ajaja ala tojepe a 222 223228 SNSNSN2 SIHg2 6 oN ROG oN ROG oao wii fe BULIUNS m mr m IFT TEDS TTM ITIPFZ H o RXD RTS
6. RX constant carrier LO leakage Program SoftDevice Program Application TX RX channel sweep RX sensitivity Bluetooth nRF8001 Configuration Dispatcher Trace Translator Direct Test Mode nRF8002 Programing of SoftDevice on nRF51 device File to program _1 0 0 alpha6_softdevice hex Browse E Lock SoftDevice from readb SoftDevice size kB 128 Addr 0x20000 Region 0 Size 128 kB FW 110_nRF51822_1 0 0 alpha6 4 Motherboards 4 Boardi Module nRF51822 nRF ISP Motherboard connector 4 nRF51 evaluation boards Segger EELEE 4 nRF51 development dongles Segger os al nRF51 Programming Bootloaders c Nordic Semiconductor ASA 2008 2011 Sie ee apan aana z ee Figure 22 nRFgo Studio dashboard Page 33 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 1 1 Selecting a board to program 1 Open nRFgo Studio 2 Inthe Device Manager pane select which board to program or erase 3 The nRF51822 DK modules PCA10004 PCA10005 cannot be selected directly The boards must be selected through the J Link debugger connected to them To do this you either select the actual module located under Motherboard gt Boardx or by clicking on nRF51 Programming 4 Select the debugger you want to use from the list of available J Link debuggers under Segger to use 6 1 2 Identifying the
7. nRF51822DK Examples and Applications written for Keil SE Fie Edit View Project Fash Debug DHO aij ORANE AN KAIN 1147 ne626 BENE Project Peripherals Toots SVCS Window Help while true NRF_GPIC gt OUT 1UL lt lt output_sta output_state output_state 1 5 nline_delay_ms 100 Keil hVision IDE go vo Con Ib file View GATI Setup Help USB Application Programming amp Erase Via J Link 10 pin Flat Cable USB nRFgo Studio e 0 Configure Voltage nRF51822 module e 0 nRF51 SDK 0 g ele ee e elel lel Figure 2 nRF51822 DK configuration for 2 4 GHz based development Page 16 of 62 NORDIC nRF51822 Development Kit User Guide v1 3 SEMICONDUCTOR For development or demonstration of Bluetooth 4 0 single mode applications you need e 1x Motherboard with attached nRF51822 module e 1x nRF51822 Development Dongle PCA10000 Master Control Panel software Figure 2 on page 16 and Figure 3 below show the relationship between the hardware and software components and the Motherboard s Note The Keil Vision IDE is not included in the kit content written for Keil nRF51822DK Examples and Applications nRF51 SDK File Edit View Project Flash Debug Peripherals Tools SVCS Window Help Dgn je ranl 2em gle ea FOB SA ne626 fA as aon rT Master Control Panel
8. O AINO p3 SWD Figure 9 nRF51822 DK module PCA10005 top MIOGMs O OlIdMsS cdl bd Figure 10 nRF51822 DK module PCA10005 bottom Page 23 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 1 3 Block diagram Ext A1 Osc 32 768 kHz nRF51822 A SWD Yy 4 gt Matching network Osc 16 MHz Figure 11 nRF51822 DK module block diagram Page 24 of 62 SMA PCB antenna NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 1 4 nRFgo nRF51822 DK module extension Connectors P1 and P2 on the nRF51822 DK module connect to the Motherboard VCC VCC_nRF VTG VTG VCC VCC_nRF VTG VTG GND GND GND GND P0 00 P0 01 P0 24 P0 25 P0 02 P0 03 P0 26 P0 27 P0 04 P0 05 P0 28 P0 29 P0 06 P0 07 P0 30 Not in use GND GND GND GND Not in use Not in use Not in use Not in use Not in use Not in use Not in use Not in use GND GND GND GND Not in use Not in use BoardiD GND Not in use RESET GND GND Not in use Not in use Not in use BoardID_EE P0 08 P0 09 P0 16 P0 17 P0 10 P0 11 P0 18 P0 19 P0 12 P0 13 P0 20 P0 21 P0 14 P0 15 P0 22 P0 23 GND GND GND GND GND GND GND GND Figure 12 nRF51822 DK module connectors P1 and P2 Page 25 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 1 5 Analog inputs Direct access to the nRF51822 analog input is available on connector P5 on the n
9. Wxev0D ALM MNITP Figure 6 nRF51822 DK module connected to the SEGGER J Link Lite CortexM 9 Page 20 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 Hardware description This chapter describes the nRF51822 DK modules and the nRF51822 Development Dongle PCA10000 5 1 nRFgonRF51822 DK modules The nRF51822 modules PCA10004 PCA10005 are delivered with an unprogrammed nRF51822 chip 5 1 1 Key features The nRF51822 DK modules have the following key features nRF51822 flash based SoC solution 2 4 GHz compatible with nRF24L devices Bluetooth low energy compatible Current Shunt Monitor CSM for current measurements nRFgo Motherboard integration PCB antenna PCA10004 only SMA connector compatibility PCA10005 only SWD interface connector for programming and debugging Page 21 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 1 2 Hardware pictures CA nRFgo NORDIC SEMICONDUCTOR juoWaJNsee Juang 2 Ee ii I O P4 Figure 7 nRF51822 DK module PCA 10004 top M1IOGMs O OIQAAS cdl Ldl 00 Figure 8 nRF51822 DK module PCA 10004 bottom Page 22 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 CA NORDIC SEMICONDUCTOR Juang P5 GND JAREFO JueWenseeW AIN7 AIN6 AIN5 i IAIN4 AIN3 JAIN2 AIN1
10. NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 AA CAKeiNARM De RF51422 S210 1 0 Bo File Edit View Project Flash Peripherals Tools SVCS Window e DEH o B eja RAN ENGO ka d oe os eE a S O amp FP 0 gt S JE ENEH MEA MIL Registers q Disassembly 302 return value ant event get ant channel sevent event message buffer 0x00008222 4669 MOV ri sp 0x00008224 A801 ADD r0 sp 0x04 0x00008226 DF51 svc 0x51 303 if return value NRF _ SUCCESS 304 305 Handle event 0400008228 2800 CMP ro 0x00 ox0000822A D1F1 BNE 0x00008210 switch levent HR 0x00000001 R4 050000500 RS5 020000800 eee RG 020000801 TRF 0x00000200 R8 OxFFFFFFFF eae 5 OxFFFFFFFF R10 000008344 RI11 0x000083A4 Bs TETEH Error R13 SP 0x20001880 0x00008157 handle error Banked System Turn off LED on GPIO 9 to indicate that CPU is going out of sleep nrf gpio pin clear 9 E intemal Extract and process all pending ANT events as Mode long as there are any left Stack an Fetch the event return value ant event get ant channel event event message buffer if return value NRF_SUCCESS Handle event Switch event case EVENT TX Project Registers alt Command a Call Stack Locals JTAG speed 1000 kHz Name Location Value main 000008218 event_message_buffer static un
11. iu lib uints t output state 0 fag li Configure LED pins as outputs nrf gpio range cfg output LED START LED STOP while true nrf gpio port write LED PORT 1 lt lt output_state LED OFFSET m Build Dutput ROMTableAddr OxF0000003 Target info Enter or leave a debug session J LINK J Trace Cortex Figure 31 Start debugging mode Page 45 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 7 1 nRF51822 debug features and precautions This section contains information about the System Viewer Windows and debugging an application when a readback protected SoftDevice is present 7 1 1 System Viewer windows The System Viewer enables you to select device peripherals and see their contents in separate windows In the View menu point to System Viewer and select the peripheral you want to see The peripheral register values are displayed in their respective pane in Keil as seen in Figure 32 More information on System Viewer can be found at http www keil com uvision db_view_sysview asp AA CAKeil ARM Device Nordic nrf51822 Board nrf6310 blinky_example arm blinky uvproj uVisiond _ os Se File Edit View Project Flash Debug Peripherals Tools SVCS Window Help DE 8 ERA R E EH sve Ha A oe o e E7 a G0 ete Aa SER a om Registers q 40 OD Prope RO main function pat R1 return 0 int return type required by ANSI ISO stanc TASKS_START 0x000
12. A main c al i i int main void Dint8 t output_state 0 H A core Gg lib Configure LED pins as outputs nrf gpio range cfg output LED START LED STOP while true nrf gpio port write LED PORT 1 lt lt output_state LED OFFSET 5o Fu Oy Te m Build Output ROMTableAddr 0xF0000003 Target info Enter or leave a debug session J LINK J Trace Cortex Figure 27 Debugger initiation Page 42 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 2 4 Limitation when debugging on a chip with a SoftDevice When a SoftDevice is installed in a device there are certain limitations when debugging 6 2 5 Programming the device To guarantee the correct functionality of the SoftDevice the microcontroller includes a Memory Protection Unit that prevents access to certain resources The debugger will read this area as 0x0000 no operation instruction The code memory area occupied by the SoftDevice is write and erase protected When the SoftDevice is enabled the Memory Protection Unit implements a write protection to certain peripherals used by the protocol stack Protected peripherals are described in the 7170 nRF51822 SoftDevice Specification Configure the debugger and compile and link the application code Download the application using the Keil IDE download button To configure and start the download Select Options for Target in the Project menu Sel
13. weng AREFO f E UUU 00000 00000 z i Motherboard EXT B NORDIC WEDA NAH SEMICONDUCTOR m 4 2 3 2 1 a 1 2 ofo BUTTONS LEDS dala cy RXD RTS LED 0 LED 1 LED 2 LED 3 LED 4 LED 5 LED 6 ED 7 O O O O O O O O O n Button 0 Button 1 Button 2 Button 3 Button 4 Button 5 Button 6 Button 7 O P8 P10 P1 P2 WX 4oo JLI ANIT D Page 8 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Turn on and set the supply voltage 1 Slide the S8 switch on the Motherboard to VBUS 2 Slide the On Off switch on the Motherboard to ON 3 The VCC and VTG LEDs will light up S8 switch On Off switch
14. Memory Display Driver DLL Parameter SARMCM3 DLL Dialog DLL Parameter TARMCM1 DLL pCMO i Figure 25 Debugger options 6 Click Settings next to the Use field in the top right of the window Page 41 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 7 Inthe Target driver setup provide information about debugging protocol and maximum speed Select SW in the Port drop down 8 In Max Clock the maximum speed for the debugging port cannot be exceeded 1 MHz A proper configuration is shown in Figure 26 on page 42 Debug Trace Flash Download J Link Trace Adapter SN mm Device J Link LiteCortex lM HW V8 00 di V4 50i FW J Link Lite Cortex M V8 compi Max Clock f Automatic Detection ID CODE Port sw MHz Manual Configuration Device Name Auto Ck Add Delete Update IF ler f USB TEPAP o Son State ready Figure 26 Target driver setup 9 Click Start Stop Debug Session CTRL F5 in the Keil IDE to start debugging C Keil ARM Device Nordic nrf51822 Board nrf6310 blinky_examp File Edit View Project Flash Debug Peripherals Tools SVCS Window Help DEAA 4 Ela c o P RAR FRE KB x Jara os ema 4 1 ee go GS toe N DEE y nrsls22 Start Stop Debug Session Ctri F5 j q E Enter or leave a debug session 529 nRF51822 main function Ay app return 0 int return type required by ANSI ISO standard E
15. Panel and the Keil Target Driver Setup will open Device Target Output Listing User C C Asm Linker Debug Uti Use Simulator ings Use J LINK J Trace Cortex Settings Limit Speed to Real Time l Load Application at Startup Run to maini Initialization File Figure 39 Selecting J Link debugger in Keil Page 58 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Note If the SEGGER J Link Lite firmware requires an update you will be prompted with the message A new firmware version is available for the connected emulator In this case click OK General Settings Breakpoints Log CPU Regs Target Power SMA RAWTrace Device Emulator MemMap Flash Start minimiz Vv Always onto rocess C Keil UV4 UV4 EXE DLL C Keil UV4 JLinkKARM dll J Link Target ndian il Actual Host swf About JLINK_GetFirmwareString Done 169 650 sec in2calls 4 Figure 40 SEGGER control panel 5 Click the Debug tab shown in the figure Set Port to SW and Max Clock to 1 MHz as shown in Figure 41 Make sure that SN and IDCODE are populated properly and click OK eras Cortex JLink JTrace Target Driver Setup Debug Trace Flash Download J Link A J Trace Adapter Device TT J Link OB SAM3L128 SWD G0BB11477 ARM CoreSight SW DP up HW v1 00 dil V4 50i Down J Li
16. connected to the nRF51822 development module to ensure the program is downloaded to the correct target 5 Goto the Flash menu and click Download to load the program or click the Load icon You are now ready to start DTM testing either using the Direct Test Mode UART interface included in nRFgo Studio or connecting 3rd party equipment 8 3 DTM testing using nRFgo Studio Select Direct Test Mode in the Feature pane underneath Bluetooth to start the Direct Test Mode UART interface in nRFgo Studio 4 2 4GHz 4 Front End Tests TA carrier wave output RA constant carrier LO leakage TA RA channel sweep RA sensitivity 4 Bluetooth nRF8001 Configuration Dispatcher Trace Translator Direct Test Mode nRFS amp oo2 Direct Test Mode UART interface Set upon LEE Com port Refresh list of com ports Mode Transmit D Receive Channel Single 0 Sweep Channel 19 Payload length i bytes Packets received N A Start test Note Set up on and Program are not functional when testing on the nRF51 platform For details on how to use the Direct Test Mode UART interface see the nRFgo Studio help file or press F1 when in Studio Page 52 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 9 Software Development Kit The nRF51 Software Development Kit SDK enables you to develop applications for the following protocol stacks e Bluetooth low energy using the S110_nRF51822 SoftDevice Proprietar
17. control the supply voltage VTG to the connected nRF51822 DK module as described in Turn on and set the supply voltage on page 9 4 2 2 nRF51822 Development Dongle PCA10000 The nRF51822 Development Dongle PCA10000 enables you to see the data sent between the dongle and a single nRF51822 device The nRF51822 Development Dongle is plugged into a USB port on your computer as described in Compile program and run the heart rate monitor demo on page 13 4 2 3 J Link Lite CortexM 9 JTAG SWD Emulator The programming and debugging SWD interface of the nRF51822 device is accessed through a 10 pin connector P3 on the nRF51822 DK module Pin 1 J LINK LITE CortexM Figure 5 Pin 1 position on the SEGGER J Link Lite CortexM 9 Page 19 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Connect the JTAG SWD emulator using the 10 pin 1 27 mm flat cable supplied with the kit to the nRF51822 DK module at P3 and to your computer with a USB cable as shown in Figure 6 oda nRF CURRENT o STATUS Motherboard NORDIC SEMICONDUCTOR Co Co TI EJ LED 0 LED 1 LED 2 LED 3 O O O O Button 2 Button 3 Button 0 Button 1
18. data bits e 19200 baud rate e No flow control meaning no RTS CTS No parity 8 1 Kit setup for UART The Direct Test Mode is accessed through the UART on the nRF51822 module The following steps show how to get set up for DTM testing 1 Mount one of the nRF51822 modules either PCA10004 or PCA10005 onto the nRFgo Motherboard 2 Connect a double cable or two single cables between P15 and P8 on the Motherboard as shown in Figure 35 The UART data pins RXD and TXD will be present on the I O port pins P0 1 and P0 3 as seen in Table 8 on page 51 Make sure the RXD TXD labels match for each wire This matches the default setting in the SDK project ble_app_dtm 3 The RS232 header P15 is connected to the RS232 serial port interface J2 through a RS232 converter Connect a serial cable from RS232 to the serial port on your computer Make sure 11 is switched to ON 4 Connect the Motherboard to your computer using a USB cable 5 Connect the J Link Lite CortexM 9 to the nRF51822 module with a 10 pin connector The USB cable connects the J Link Lite CortexM 9 to your computer You are now ready to begin testing with Direct Test Mode in nRFgo Studio Page 49 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 USB e3 gt JJ a OFF jo ON aonan ooo 00
19. files Gerber files e Pick and Place files Bill of Materials Page 5 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 3 Quick start This section shows you how to set up the nRF51822 Development Kit and provides example applications to help you start programming your device Register download and install 1 If you have Keil MDK ARM Lite already installed go to step 2 Otherwise download and install Keil MDK ARM Lite from https www keil com demo eval arm htm to your hard drive Keil downloads to c Keil unless you change the location when installing 2 Download and run the J Link Software and documentation pack for Windows from http www segger com jlink software html The serial number from your SEGGER J Link hardware is needed to identify your device and can be found printed on the chip on the J Link Lite emulator board 3 During installation you will be prompted to select the IDE that should be updated with the latest SEGGER DLLs Check the box for Keil MDK and any other IDEs you want to use with SEGGER FT SEGGER J Link DLL Updater V4 52c The following Srd party applications using JLiInKAAM dil have been found keil MOK 4 64 DLL 4 536 in E AKeihAR MSS egger Select All Select None Select the ones you would like to replace by this version The previous version will be renamed and kept in the same folder allowing manual undo ln case of doubt do not replace existi
20. is not available when using the evaluation version of Keil IDE Page 37 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 2 1 1 Memory layout configuration in Keil IDE To access the Keil IDE memory layout 1 Click the Project menu and select Options for Target 2 Select the Linker tab 3 Check Use memory layout from Target Dialog Options for Target nRF51i Device Target Output Listing User C C Asm Linker Debug Utilities Make RW Sections Position Independent Make RO Sections Position Independent Dont Search Standard Libraries Iw Report hight fail Conditions as Errors disable Wamings PO _build blinky_arm sct cpu Cortex M0 o ibrary _type microlib feedback _build blinky_am fed stict scatter _build blinky_am sct Figure 23 Keil linker settings Page 38 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Select the Target tab In Read Only Memory Areas define values for Start and Size In Read Write Memory Areas define values for Start and Size as seen in Figure 24 Click OK ol Below is an example configuration for an application using a chip with 256 kB of code memory and 16 kB of RAM and a SoftDevice using 128 kB of code memory and 8 kB of RAM SoftDevice B described in Table 6 on page 37 Base code memory address 0x20000 and available code memory size is Ox20000 128 kB Base RAM memo
21. the RNG peripheral Page 46 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 7 1 2 Debugging an application when a readback protected SoftDevice is present Debugging applications with a SoftDevice present behaves as described in http www keil com uvision debug asp except when the program counter is in Region 0 on a SoftDevice with readback protection enabled Code words from addresses in the protected area will always return zero to the debugger Any values in peripheral registers that are restricted or blocked by the SoftDevice will be invisible to the debugger as well Information on the SoftDevice configuration and memory resource mapping can be found in the 110 nRF51822 SoftDevice Specification Note Avoid single stepping to the protected area Instead set the breakpoint right after SVC calls while debugging and run the application to the actual breakpoint see Figure 34 on page 48 The step over function F10 may also be used instead to step over SVC calls to avoid delays when entering the readback protected area f _ _ C Keil ARM Device Nordic nrf51822 Board nrf6310 ble ble_app_hrs arm ble_app_hrs uvproj Wisiona Loe File Edit View Project Flash Debug Peripherals Tools SVCS Window Help O ea s 2a ERRA EH ia sve arloe os eE a HERAA gt g Jisassembh nt OxO0000EAS6 0000 Ox0000EA58 0000 OxOO00EASA 0000 OxOO000EASC 0000 OxO000EASE 0000 Ox0000EA60 00
22. 00 OxOO00EA62 0000 OxO0000EA64 0000 Ox0000EA66 0000 Ox0000EA68 0000 OxOO00EA6A 0000 0x0000ERA6C 0000 Ox0000EA6E 0000 Ox0000EA70 0000 OxO0000EA72 0000 Ox0000EA74 0000 OxO0000EA76 0000 AvAnAARFATA ANNAN 0x200032D0 OxFFFFFFFS OxO000EA54 0x01000008 Mode Handler Stack MSP Initialise SoftDevice err code nrf_softdevice_enable clock source softdevice assertion handler if err_code NRF_SUCCESS return err _ code Enable BLE event interrupt return nrf nvic EnableIRQ SWI2_IRQn E Project Registers m Command q Call Stack Locals 00000000 R5 20000300 R6 00000100 R7 4001E504 A Name Location Value Type 0x0000EA54 ble stack han 0x00022100 unsigned int f unsign JLink Info J Link Flash download Total time needed 1116708 351s Prepare 0 14 9 clock_sour 000000008 param unsigned int Load C Keil ARM Device Nordic nrf 51822 Board nrf6310 ble ble app hrs a 9 ble stack 0x00020913 param void f struct I 9 err_ code lt not in scope gt auto unsigned int L D hla ctarb init nnnn2noaF unid FN ASSIGN BreakDisable BreakEnable BreakKill BreakList BreakSet BreakAccess COVERAGE 21 Call Stack Locals Memory 1 gt J LINK J Trace Cortex t1 0 00000000 sec CAP NUM SCRL OVR R W Figure 33 Debugger information for a setup with a SoftDevice enabled in the protected area Page 47 of 62
23. 00000 R2 43 wf TASKS_STOP 000000000 R3 44 int main void EVENTS_VALRDY 000000000 R4 45 Et R5 46 uint8 t output_state 0 oes RE VALRDY_STOP 0 Disabled Shortcut disabled R7 Configure LED pins as outputs INTENSET R8 nrf gpio range cfg output LED START LED STOP VALRDY 0 Disabled Interrupt disabled R9 R10 while true m ANIENCIE VALRDY 0 Disabled Interrupt disabled R11 R12 nrf gpio_port_write LED_PORT 1 lt lt output_state I ie R13 SP output_state output_state 1 amp STATE_MASK DERCEN 0 Disabled Digital error correction disabled R14 LR nrf delay ms 100 000000000 081000003 VALUE VALUE System Intemal Mode Handler CONFIG Stack MSP Bits 31 0 RW 0x4000D504 Configuration register E Project Registers Command 2 Call Stack Locals Name Location Value JLink Info J Link Flash download Flash programming performed for 0 OxFFFFFFFE JLink Info J Link Flash download Total time needed 0 132s Prepare Load C Keil ARM Device Nordic nrf 51822 Board nrf6310 blinky exi _ WVerify failed on VerifyBlock BS blinky_arm main c 49 JLink Warning T bit of XPSR is 0 but should be 1 Changed to 1 T m r l ASSIGN BreakDisable BreakEnable BreakKill BreakList BreakSet BreakAccess a Call Stack Locals Memory 1 J LINK J Trace Cortex __t1 0 00000000 sec Figure 32 System Viewer window of
24. 2 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 2 3 Block diagram RGB VCC_nRF LED y Antenna SWD Voltage regulator lt gt A VBUS Segger OB nRF51822 gt _ Matching network Data UART USB gt gt Osc Osc 32 768 kHz 16 MHz Figure 19 PCA10000 block diagram Figure 20 5 2 4 Mulitcolor LED The Development Dongle PCA10000 is equipped with a multicolor RGB LED The LED is connected to dedicated I Os on the nRF51822 chip The connections are shown in Table 3 Red P0 21 Green P0 22 Blue P0 23 Table 3 LED connection The LEDs are active low meaning that writing a logical zero 0 to the output pin will illuminate the LED VCC3 Figure 21 LED configuration Page 31 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 2 5 UART configuration The Development Dongle v1 0 UART lines are connected to pins P0 00 to P0 03 as shown in Table 4 P0 00 RTS CTS P0 01 TXD RXD P0 02 CTS RTS P0 03 RXD TXD Table 4 Development Dongle v1 0 UART configuration The Development Dongle v2 0 UART lines are connected to pins P0 08 to P0 11 as shown in Table 5 P0 08 RTS CTS P0 09 TXD RXD P0 10 CTS RTS PO 11 RXD TXD Table 5 nRF5 1822 Development Dongle UART configuration Note The UART signals are routed directly to the SEGGER chip The pins should only be us
25. 6701 4 Front End Tests Boards connected TX carrier wave output RX constant carrier LO Ls gt Board 0 Firmware 6701 Upgrade Device Manager x 4 Motherboards Board 0 N Bootloaders 4 2 4GHz Latest motherboard firmware 6701 4 Front End Tests Boards connected TX carrier wave output RX constant carrier LO l Y Board 0 Firmware 5813 Updating Device Manager K Motherboards Bootloaders Log Starting bootloader on board 0 Starting update of board 0 Board 0 is updated Log c Nordic Semiconductor ASA 2008 2011 Starting bootloader on board 0 Page 9 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 Select the desired motherboard from the Device Manager pane in nRFgo Studio To find the board ID look on the 7 segment display on the Motherboard 6 In nRFgo Studio you can control the supply voltage VTG to the connected nRF51822 module Make sure the voltage is set to 3 3 V Na ton aeng 0 File View nRF8001 Setup Help Features 4 2 4GHz Jump to bootloader 4 Front End Tests Vtarget VTG TX carrier wave output RX constant carrier LO leakage TX RX channel sweep RX sensitivity 4 Bluetooth nRF8001 Configuration Dispatcher Trace Translator Direct Test Mode nRF8002 Device Manager 4 Motherboards 4 Board1 Module nRF51822 nRF ISP Motherboard connector 4 nRF51 evaluation boards Segger at TE 4 nRF51 devel
26. ACK NOINIT READWRITE ALIGN 3 Stack_Mem SPACE Stack_Size __initial_sp Page 40 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 2 3 Debugger configuration Project files delivered in the SDK are configured and ready for download and debugging If a new application project is used the debugger must be properly configured To configure the debugger 1 In Keil select Options for Target ALT F7 from the Project menu The Options for Target dialog box appears Select the Debug tab Apply the Use option and select the J Link J Trace debugger from the list Set Driver DLL to SARMCM3 DLL Set Dialog DLL to TARMCM1 DLL io AN Other options can be selected as needed To take full advantage of the debugger and its features the following are advised Breakpoints e Load Application at Startup Memory Display Toolbox Watch Windows EJ Options for Target nRF51822_5110 Device Target Output Listing User C C Asm Linker Debug Utities Use Simulator Settings Use J LINK J Trace Cortex Settings Limit Speed to Real Time I Load Application at Startup M Run to maing I Load Application at Startup Initialization File Initialization File E Edit Edit Restore Debug Session Settings Restore Debug Session Settings Breakpoints I Toolbox Breakpoi V Toolbox e Watch Windows amp Perfomance Analyzer e Watch W Memory Display lw
27. Control Keil uVision IDE PCA10000 RF go Studio Connected board File View GATTSewp Heip USB Application c Nordic Semiconductor ASA 2008 2011 Programming amp Erase Via J Link 10 pin Flat USB Cable e nRFgo Studio Configure i Voltage nRF51822 module e o l o o olo o e Figure 3 nRF51822 DK configuration for Bluetooth 4 0 single mode Page 17 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 4 2 Kitsetup _ USB connected to computer I I OFF O ON nyn ae 3 A nonno 3 ee RF ISP O RS232 nRF51 mo ule I lt ON OFF 5 RS232 Ga CD o 2 D VCC VIG 1 EXTA o o nRF CURRENT MEASUREMENT o STATUS HHEHHHHHHHHHHH 10 pin 2 54 mm 19dHu o 2234 6 00000 oooo
28. NORDIC SEMICONDUCTOR nRF51822 Development Kit NRF51822 User Guide v1 3 Copyright 2013 Nordic Semiconductor ASA All rights reserved Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Contents 1 TNE OG ouio n ee anaing a BNN ANENG E E aa ANAA GEN Na Ga a naa a A Waaa baan a ae eaaa aaa 3 1 1 Minimum Teo uremmente mm 3 1 2 External TSOU eee sapaa ee DANA toe Lana Bg ena a AN DANDANE ANE na Nan eee andalan 3 1 3 WritingiconventionS mm 3 1 4 Development Kit release notes nn 3 2 Ee njan eo oo NG DEE Ka ae A AGE A EE ENEG ANG E EP NG ENEG WE EA NE a TA E ER NA KNA 4 2 1 NRF51822 Development Kit hardware content oe 00000 eea ena ea nona n aana aana na nana n anon e aane ne anene 4 2 2 Downloadable CONTENE aaa agak San aaa cect esac sce an GAR BONANG NG Ka Ga ANE GARA WANG BAGE GAES GAN GN DN NENEBU 5 3 WUICKR IT 6 3 1 Install the nRF51822 connector module 0 0000 7 3 2 Bluetooth low energy heart rate monitor demo ss sses see ss sses ssesssssssssssssssssssssssssssssssssssssssssssssn 12 4 Development kit configuration sists it a 15 4 1 Development environment 0000000 eea aen eea aoa anana an anana anna na wanan anane anna anane anna n nee n eee we nenen 15 4 2 Us 18 5 Naraqawareaesecriptom sm 21 5 1 ARFJONRF31822 DK modules soe 21 5 2 NRF51822 Development Dongle PCA10000 0 30 6 Flash p
29. RF51822 DK module Note P5 is not mounted on the board The analog inputs are routed through the extension connectors to the Motherboard To avoid noise from the Motherboard the 0 Q resistors must be removed AINO 1 2 AIN1 AIN2 3 4 AIN3 AIN4 5 6 AINS AIN6 7 8 AlIN7 AREFO 9 10 GND Figure 13 Analog inputs connector P5 on the nRF51822 DK board 1 AINO R7 2 AIN1 R8 3 AIN2 R9 4 AIN3 R10 5 AIN4 R11 6 AIN5 R12 7 AIN6 R13 8 AIN7 R14 9 AREFO R15 10 GND Table 1 Analog input connector P5 Page 26 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 1 6 SWD interface The programming and debugging interface is accessed through the 10 pin connector P3 on the nRF51822 DK module VTG 1 2 SWDIO GND 3 4 SWDCLK GND 5 6 NC NC 7 8 NC GND 9 10 NG Figure 14 SWD interface connector P3 1 VTG Reference voltage for programmer 2 SWDIO Serial Wire Debug Data 3 GND Ground 4 SWDCLK Serial Wire Debug Clock 5 GND Ground 6 NC No Connection 7 NC No Connection 8 NC No Connection 9 GND Ground 10 NC No Connection Table 2 SWD interface connector pin description Page 27 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 1 7 32 768 kHz crystal The nRF51822 can use an optional 32 768 kHz crystal X2 for higher accuracy and lower average power consumption On the nRF51822 DK module P0 26 and P0 27 are disconnected from the Motherboard and connected to the two jumpers on t
30. SoftDevice it fails Ensure that the memory layout in your project matches the memory layout on the chip See Section 6 2 1 on page 37 on how to set up memory configuration Page 55 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Appendix A Installing drivers and configuring KEIL projects for the SEGGER debugger This appendix describes the steps for installing the software and using the SEGGER J Link Lite debugger with Keil uVision for nRF51 series devices based on J Link software version 4 52b or later Prerequisite You need Keil hVision with ARM MDK that you have tested to be working with MDK version 4 54 Note All projects in the nRF51SDK are preset to work with the SEGGER debugger Only the following step Download and install SEGGER drivers is needed Download and install SEGGER drivers 1 Download the latest SEGGER J Link software and documentation pack from http www segger com jlink software html 2 Download and run the J Link Software and documentation pack for Windows from http www segger com jlink software html The serial number from your SEGGER J Link hardware is needed see Figure 37 on page 57 3 During installation you will be prompted to select the IDE that you want updated with the latest SEGGER DLLs Check the box for Keil MDK and any other IDEs you want to use with SEGGER Rell MOK W454 DLL V4 53b in CO AReIWAM SS egger Select All Select None Select the ones
31. T l0mA gt Vout 1 0y 1 Z Z a Gain 200V V Z O O Vdrop max 20mA 10mV L ee al Ik fe Pin List 1x2 Figure 16 Current measurement circuit schematic and PCB Page 29 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 2 nRF51822 Development Dongle PCA10000 The nRF51822 Development Dongle PCA10000 can be used as a development platform for the nRF51822 device It features an on board programming and debugging solution from SEGGER In addition to radio communication the nRF51822 device can communicate with a computer through a virtual COM port provided by the SEGGER chip The PCA10000 can be loaded with Master Emulator firmware that when combined with the Master Control Panel gives you a peer device for nNRF51822 that you can use to test the wireless connection Note PCA10000 can be reprogrammed if overwritten 5 2 1 Key features The PCA10000 has the following key features e NRF51822 flash based SoC solution lt Bluetooth low energy compatible e 2 4 GHz compatible with nRF24L devices e USB to UART bridge e SEGGER J Link OB programming and debugging capabilities 5 2 2 Hardware pictures SEMICONDUCTOR Figure 17 PCA10000 top side Da SEGGER Figure 18 PCA10000 bottom side Page 30 of 6
32. ade within this period the application sets nRF51822 in System Off 8 To start advertising again press Button 0 Install the Master Control Panel and nRF51822 Development Dongle PCA10000 1 Download and install the Master Control Panel from our website Make sure to select the version that corresponds to your hardware 2 Plug the Development Dongle into a USB port on your computer 3 An icon will appear in the lower right corner of your monitor showing that the drivers are being installed Wait until it is ready Scan for available Bluetooth low energy devices 1 Open the Master Control Panel from the Start menu Start gt All Programs gt Nordic Semiconductor gt Master Control Panel 2 Make sure the Development Dongle is detected The Master Emulator item list should show COMnn xxxxxxxxx nn gives the COM port number xxxxxxxxx is the SEGGER serial number printed on the dongle Restart the application if it doesn t appear in the item list Before continuing make sure you have selected the correct device by verifying the serial number in the item list with the serial number printed on the Development Dongle 3 When you use the Development Dongle for the first time you must first program it with the Master Emulator Firmware a In the Master Control Panel menu click File and select Flash Programming b Click Browse This opens a browser that automatically points to the location of the mefw_nrf51822_ lt version gt _firmwar
33. arget options dialog select the Utilities tab 2 Click Settings and select Erase Full Chip 3 Uncheck Program and Verify A normal download procedure will erase the device application code memory area Cortex M Target Driver stu Download Function Erase Full Chip Program Erase Sectors J Verify C Do not Erase Reset and Run Figure 30 Erasing Note To erase the whole device including the SoftDevice refer to Section 6 1 3 on page 34 for instructions Page 44 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 7 Debugging the nRF51822 For debugging with SEGGER J Link see Appendix A on page 56 For general information of how to debug using the Keil uVision IDE see http www keil com uvision debug asp The following steps tell how to configure the debugger in Keil 1 Inthe Project menu click Options for Target CTRL F7 2 Select the Debug tab 3 To enter debugging mode click Start Stop Debug Session or CTRL F5 Ed C KeilVARM Device Nordic nrf51822 Board nrf6310 blinky_examp File Edt View Pojet Flash Debug Peripherals Tools SVCS Window Help O aa s d ERA R EE a sve Ha lao 0 0 e67 a EEE Nes HAAS d Start Stop Debug Session Ctri F5 q x Enter or leave a debug session main function As app return 0 int return type required by ANSI ISO standard main c ss Keil_arm_uv4 Int int main void oe core
34. ater http www segger com jlink software html 1 3 Writing conventions This User Guide follows a set of typographic rules that makes the document consistent and easy to read The following writing conventions are used e Commands are written in Lucida Console Pin names are written in Consolas e File names and user interface components are written in bold e Internal cross references are italicized and written in semi bold 1 4 Development Kit release notes July 2013 2 1 0 Upgraded the nRF51822 chip to build code FA FO Removed R1 on PCA10000 and R20 on PCA10004 and PCA10005 January 2013 2 0 Fixed known issue in kit v1 0 New features on PCA10000 v2 0 Multicolor LED e Updated UART configuration September2012 1 0 Known issues PCA10000 v1 0 PCA10004 v1 0 and PCA10005 v1 0 The antenna matching network and layout on these boards is suitable for applications using TX output power 0 dBm or less These boards are not suitable for applications using 4 dBm TX output power Page 3 of 62 NORDIC nRF51822 Development Kit User Guide v1 3 SEMICONDUCTOR 2 Kit content The nRF51822 DK consists of hardware and access to software components documentation and design files from www nordicsemi com 2 1 nRF51822 Development Kit hardware content 1 x Helical monopole SMA antenna AA Noor Thank you for purchasing a Nordic Semiconductor product nRF SERIES ase download and d the User Guide before yo
35. cation on nRF51 device Addr 0x20000 Region 0 Size 128 kB Device Manager ia a Mah nih aha 110_nRF51822_1 0 0 alpha6 4 Board1 Module nRF51822 nRF ISP Motherboard connector 4 nRF51 evaluation boards Segger 4 nRF51 development dongles Segger on al nRF51 Programming Bootloaders Log c Nordic Semiconductor ASA 2008 2011 1 Follow the steps in Section 6 1 1 on page 34 and then select the Program Application tab 2 Click Browse and select the HEX file to program 3 Select whether to enable or disable readback protection of the entire chip If you enable readback protection you will have to do an Erase All to reprogram the chip again Note A chip that is programmed with Lock entire chip from read back enabled will not work with a development toolchain To make it work you must perform Erase all Lock entire chip from read back can be used to prevent an accidental overwrite of the chip content Page 36 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 2 Application development The user application is compiled linked and downloaded independently from the SoftDevice This means that developing and debugging on a chip pre programmed with a SoftDevice is similar to that of a blank chip The main differences are memory layout and the call stack size 6 2 1 Configuring memory layout Specific SoftDevice versions and stacks could have different requ
36. ck the Erase all button nRF51822 QFAACA Region 1 Program SoftDevice Programing of SoftDevice on nRF51 device File to program E Lock SoftDevice from readb SoftDevice size kB 0 hie ot Size 176 kB Addr Ox14000 Region 0 Size 80 kB FW Unknown fwid Ox2e Load and run the Blinky project 1 Locate the Blinky project found under lt keil path gt ARM Device Nordic nRF51822 Board nrf6310 blinky_example arm 2 Open the Blinky project in Keil uVision by double clicking the blinky uvproj file 3 Select nRF51822 from the Select Target list and click Build or press F7 to compile the Blinky project 4 Click the Load icon to download and run the Blinky example firmware LEDO to LED7 on the nRFgo Starter Kit Motherboard should now blink sequentially Page 11 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 3 2 Bluetooth low energy heart rate monitor demo This section shows you how to program a heart rate monitor demo on top of a SoftDevice that will send data on a Bluetooth link from the heart rate monitor to the Master Control Panel Download and program the SoftDevice Type the product key included with the Development Kit into the Product Key field in My Page to download the 110 nRF51822 SoftDevice Follow these steps to program your device 1 Open nRFgo Studio 2 Inthe Device Manager select the motherboard your module is connected to 3 Select the m
37. downloadable third party content and information about how the development environment is set up 4 1 Development environment ARM compiler IDE not included in this kit All the source code projects and examples can be compiled and used with the Keil Microcontroller Development Kit MDK For full use of the Development Kit source code projects and to upgrade firmware download and install the free KEIL MDK ARM Lite from https www keil com demo eval arm htm J Link Lite CortexM 9 driver not included in this kit For installing drivers for the SEGGER J Link Lite CortexM 9 visit www segger com and go to the Downloads section Select the J Link Lite and download the software and documentation You must correctly install the drivers for the device to use the J Link debugger with Keil MDK See Appendix A Installing drivers and configuring KEIL projects for the SEGGER debugger on page 56 4 1 1 Development environment setup The nRF51822 device can be programmed from several environments This section shows the development setup using Keil MDK ARM The nRF51822 DK can be configured to develop proprietary 2 4 GHz protocol based applications and Bluetooth 4 0 single mode applications For development of proprietary 2 4 GHz protocol based applications you need e 2 x Motherboards from the nRFgo Starter Kit not included e 2x NRF51822 modules Page 15 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3
38. e hex lt version gt will be replaced by a number giving the version of the actual firmware The Master Control Panel Firmware file is located in C Program Files x86 Nordic Semiconductor Master Control Panel lt version gt firm ware pca10000 MEFW_nRF51822_ lt version gt _firmware hex c Select the Master Emulator Firmware file and click Open d Click Program to start programming the selected device e When the programming is finished click Exit to go back to the main window 4 Click Start discovery The Development Dongle will scan for available Bluetooth low energy devices within range and list them 5 Select the device CompleteLocalName Nordic_HRM in the Discovered Devices list Click Select device 7 Click Service Discovery In the Service discovery pane you will see the services and characteristics of the device On the Motherboard LEDO will turn off and LED1 will light up indicating that is has gone from advertising to connected gt Page 13 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 8 Click Enable services You should see the Heart Rate Measurement characteristic and Battery Level being notified every few seconds with a different value the Heart Rate Measurement Battery Level value line will blink green for each notification Page 14 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 A Development kit configuration This chapter includes
39. ect the Utilities tab in the Options for Target dialog box Click Settings Select the Program check box Choose Erase Full Chip Click Add and select the nRF51xxx algorithm from the list to select the programming algorithm used by Keil IDE 7 Click Download a a ah ak Note The nRF51xxx algorithm is installed automatically during the SDK installation This algorithm is a generic nRF51 series algorithm which provides download capabilities to all series devices up to 2 MB of code memory Debug Trace Flash Download m Download Function AD Erase Full Chip JV Program f Erase Sectors V Verify C Donot Erase V Reset and Run m Programming Algorithm Figure 28 Selecting J Link J Trace Cortex Page 43 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 8 Inthe Utilities tab select Use Target Driver for Flash Programming 9 Choose the available debugger from the list as shown in Figure 29 EI opon ertog seis oD 5353 Device Target Output Listing User C C Asm Linker Debug Utes Corfigure Flash Menu Command Use Target Driver for Flash Programming FLINK7 Trace Cortex Settings F7 Update Target before Debugging ne Use Extemal Tool for Flash Programming Run Independent Figure 29 Debugger selection 6 2 6 Erasing the device The code memory area available for the user application can be erased by doing the following 1 Inthe T
40. ed for UART In order to use the USB to UART bridge the software on the nRF51822 has to enable flow control For details on how to set up the UART with flow control see the nRF51 Series Reference Manual Page 32 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 Flash programming and application development The nRF51822 chip is shipped without pre programmed software This gives you the option of developing your application directly onto the chip or alternatively by using our 110 nRF51822 SoftDevice which is a Bluetooth low energy peripheral protocol stack solution For more information see the 770 nRF51822 SoftDevice Specification In this chapter we describe how to program and erase the 110 nRF51822 SoftDevice or another application HEX file on the nRF51822 chip If you want to start developing on the nRF51822 chip without using the 110 nRF51822 SoftDevice see Section 6 1 4 on page 35 6 1 Programming and erasing flash using nRFgo Studio Use nRFgo Studio to program or erase a SoftDevice or application HEX file onto the nRF51822 chip Note For details on memory organization and protection see the nRF51 Series Reference Manual List of SEGGER debuggers Code memory Programming tools Memory readback protection Device Manager nRF51 chip identification SoftDevice identification nRFgo Studio e View nRF8001 Setup Help atures 2 4 GHz 4 Front End Tests TX carrier wave output
41. he nRF51822 DK module at the position 32 kHz on connector P4 Pin 1 and Pin 3 for XL1 and Pin 2 and Pin 4 for XL2 This is the default position of the jumpers when shipped Note The 32 768 kHz crystal has to be selected for the Bluetooth examples to work If the jumpers are placed in the position I O on connector P4 Pin 3 and Pin 5 for XL1 and Pin 4 and Pin 6 for XL2 P0 26 and P0 27 connects to the Motherboard and can be used for normal I O X12 po 27 R AINI OR 12pF o P4 Pin Header 2x3 SMD oe 768kHz poze T A OR 12pF Figure 15 32 768 kHz crystal circuit schematic and PCB Page 28 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 5 1 8 Current measurements The current drawn from the nRF51822 device can be monitored using the Current Shunt Monitor CSM INA216 U2 The gain of the CSM is set to 200 V V for lowest possible drop voltage For current measurements using the CSM the jumper on connector K1 must be placed on Pin 2 and Pin 3 This is the default position of the jumpers when shipped Current on the nRF51822 module is measured on connector K2 as voltage proportional to the current For current measurements using the jumper P7 on the Motherboard the jumper on connector K1 must be placed on Pin 1 and Pin 2 VCC nRF Kl VCC nRF 1 A O 2 3 Ee R6 Pin List 1x3 ZO oc 3 N O 25 D 3 D Vout 100 Iin 100nF U2 INA216A4 Ex
42. hese products for use in such applications do so at their own risk and agree to fully indemnify Nordic Semiconductor ASA for any damages resulting from such improper use or sale Contact details For your nearest distributor please visit http www nordicsemi com Information regarding product updates downloads and technical support can be accessed through your My Page account on our homepage Main office Otto Nielsens veg 12 Mailing address Nordic Semiconductor 7052 Trondheim P O Box 2336 Norway 7004 Trondheim Phone 47 72 89 89 00 Norway Fax 47 72 8989 89 a Q TAVA NORWEGIA ACCREDITATION No 03 NS EN ISO 9001 CERTIFICATED IRM Page 61 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Revision history July 2013 1 3 Updated content to match v2 1 0 of the hardware February 2013 1 2 Updated minor documentation errors January 2013 1 1 Updated content to match v2 0 of the hardware Updated the hardware content in Section 5 on page 21 programming information in Section 8 on page 49 and Section 9 on page 53 September 2012 1 0 First release ARM statement Keil uVision and Cortex are trademarks of ARM Limited All other brands or product names are the property of their respective holders Page 62 of 62
43. ions dialog Select C C Select Optimization level 0 from the scroll down list Uncheck Optimize for time BUMS Page 54 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 The debugger is not able to detect my nRF51 device after have downloaded my firmware If the nRF51 device goes to SystemOFf F too soon after reset it will have a problem communicating with the J Link debugger You can recover using the Recover button in nRFgo Studio 1 Cycle the power to the nRF51 chip before you start the Recover application Note The Recover function will erase all application firmware apart from the one that comes pre programmed on the chip The drop down menu in the Master Control Panel doesn t display any serial numbers What has happened Verify that the Master Control Panel software and the drivers for Segger OB JLinkCDClInstaller have been installed and that the nRF51 Development Dongle PCA10000 has been plugged into a USB port on your computer The Master Control Panel connects to the nRF51 Development Dongle PCA10000 but reports No response from master emulator in the Log You haven t programmed the nRF51 Development Dongle with the Master Emulator Firmware before starting to use it See Scan for available Bluetooth low energy devices in Section 2 on page 4 for details on how to program the Master Emulator Firmware My project used to work but after trying out another project using the
44. irements Please review these before proceeding The applications vector table must be set up differently depending on whether it will run on a chip that is blank or pre programmed with a SoftDevice The SoftDevice program area starts at address 0x0 and has a predefined size The application start vector must be placed right after the SoftDevice The available size has to be set so that it uses the remaining memory for the application Similarly the SoftDevice data area starts at the lowest RAM address The application data area must be placed after the SoftDevice data area Table 6 shows examples for setting up the start address and size depending on the code and data size used by the SoftDevice The example is based on a chip with 256 kB of code memory and 16 kB of RAM Blank chip 0 kB 0 kB 0x0 0x40000 0x20000000 0x4000 SoftDevice A 64 kB 2 kB 0x10000 0x30000 0x20000800 0x3800 SoftDevice B 128 kB 8 kB 0x20000 0x20000 0x20002000 0x2000 Table 6 SoftDevice memory layout Note See the nRF51822 Product Specification for details on the total code memory and RAM available in the device The amount of code memory and RAM used by the SoftDevice is described in the S110 nRF51822 SoftDevice Specification There are two ways to configure the memory layout Using Keil IDE e Using a Scatter file not covered in this document Note The example code given by Nordic Semiconductor configures the memory layout in the Keil IDE Scatter file loading
45. ituations e You have a chip that is programmed with a SoftDevice but you want to remove it and have a blank chip e You have programmed an application on a clean chip using nRFgo Studio with the option Lock entire chip from readback To use the Erase all function follow the steps in Section 6 1 1 on page 34 Then click Erase all Page 34 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 1 4 Programming a SoftDevice This function lets you program the SoftDevice onto the chip Sates TT i se File View nRF8001 Setup Help Features 4 2 4GHz SEGGER to use 4 Front End Tests TX carrier wave output RX constant carrier LO leakage TX RX channel sweep RX sensitivity Program SoftDevice Program Anoicalion 4 Bluetooth nRF8001 Configuration Dispatcher Trace Translator File to program Direct Test Mode Lock SoftDevice from readback nRF8002 SoftDevice size kB 128 z Programing of SoftDevice on nRF51 device Addr 0x20000 Region 0 Size 128 kB Device M FW a Wiican 110_nRF51822_1 0 0 alpha6 4 Boardl Module nRF51822 nRF ISP Motherboard connector nRF51 evaluation boards Segger MELJE nRF51 development dongles Segger sa a nRF51 Programming Bootloaders c Nordic Semiconductor ASA 2008 2011 Follow the steps in Section 6 1 1 on page 34 and then select the Program SoftDevice tab Click Browse and select the HEX file t
46. nRF51 chip and chip content When you select a board nRFgo Studio identifies the nRF51822 chip and how its memory is organized The following chip and memory information is displayed NRFS1 chip identification Identifies the chip by name and code variant for example NRF51822 QFAACA If the debugger is not connected to the chip or the debugger has a problem communicating with the chip it will show the following message No device detected Ensure that you have the SEGGER connected correctly to the board and that the board is powered and configured for debugging lt Code memory Shows how the code memory is organized in one or two regions Region 0 and 1 and the size of each region For devices containing a SoftDevice the code memory is divided in two regions with the SoftDevice in Region 0 The tool shows you how much memory is used by the SoftDevice and how much is left for the application e Memory readback protection Shows how the readback protection is set The two possible options are readback protection on Region 0 or readback protection of the whole code memory If there is only one region the option is readback protection on All or off e SoftDevice identification nRFgo Studio tries to identify the firmware located in the chip at Region 0 For the firmware that it recognizes it prints the ID in clear text for the unrecognized firmware it prints the FWID number 6 1 3 Erase all Use Erase all in the following s
47. ng DLL s You can always perform this operation at a later time via shart menu cancel 4 Ifyou are using Keil MDK v4 54 go to http www segger com IDE_Integration_Keil html knownproblems Download JL2CM3 and copy it to lt keil gt ARM Segger This patch is necessary for the SEGGER debugger to work Go to www nordicsemi com and log in to your Nordic My Page account Select MY KEYS from the left menu This takes you to the My Keys page Enter the product key included with this kit into the Product Key field and click Add Click MY PRODUCTS in the left menu From the Add product dropdown select the product name and click Add The chosen product is now listed in the below Overview My Products table 10 In the Overview My Products table click the Downloads link next to the product name to go directly to the relevant product page download section 11 Download and run the nRF51 SDK installer Make sure to choose the Keil MDK ARM installer option oe KAR Page 6 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 3 1 Install the nRF51822 connector module Connect the hardware 1 Screw the antenna into the SMA connector on the nRF51822 DK SMA PCA10005 connector module 2 Ensure that header K1 has a jumper connecting pin 2 and 3 The two upper rows of P4 should have two jumpers placed vertically matching the 32 kHz marking
48. nk OB SAM3U128 V1 con IO CODE Device Hame dd Delete Update IF ler Manual Configuration Cache Options Download Options IY Cache Code Verity Code Download IY Cache Memory Download to Flash State ready CERE mm Ping Figure 41 Debug settings 6 Select the J Link device for target programing Page 59 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Configure Flash Menu Command Use Target Driver for Flash Programming Aun Independent Figure 42 Flash settings 7 Ifthe J Link serial number appears in the SN field the device is properly installed The default settings can be accepted by clicking OK closing both the SEGGER Control Panel and Keil target Driver Setup Page 60 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Liability disclaimer Nordic Semiconductor ASA reserves the right to make changes without further notice to the product to improve reliability function or design Nordic Semiconductor ASA does not assume any liability arising out of the application or use of any product or circuits described herein Life support applications Nordic Semiconductor s products are not designed for use in life support appliances devices or systems where malfunction of these products can reasonably be expected to result in personal injury Nordic Semiconductor ASA customers using or selling t
49. o program Select whether to enable or disable readback protection of Region 0 Set the SoftDevice size This sets the size of the code memory region 0 and will not be available if the size is defined by the HEX file Note The 110 nRF51822 SoftDevice can be downloaded from www nordicsemi com by logging into your MyPage account and entering the product key printed in the Development Kit Page 35 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 1 5 Programming an application This function lets you program an application onto the chip Before nRFgo Studio starts programming it verifies that the HEX file matches the actual memory configuration If it matches nRFgo Studio continues with the programming if not it stops the programming and returns an error message For example if an application requires the SoftDevice on the chip it will check the memory configuration for the SoftDevice before programming the chip Note This programming will not set up any memory Regions nRFgo Studio File View nRF8001 Setup Help Features 4 2 4GHz SEGGER to use gt v Refresh 4 Front End Tests TX carrier wave output RX constant carrier LO leakage TX RX channel sweep a Blu ee en Program SoftDevice Program Application nRF8001 Configuration Dispatcher Trace Translator File to program n Direct Test Mode nRF8002 F Lock entire chip from read back Programing of appli
50. odule 4 Motherboards 4 Board 0 Module nRF51822 nRF ISP Motherboard connector nRFS1 Evaluation Boards nRFS1 USB Dongles nRFSl Programming 4 Ifyou have more than one SEGGER debugger connected you need to select which one you want to use 5 Select the Program SoftDevice tab Programing of SoftDevice on nRF51 device File to program E Lock SoftDevice from readback SoftDevice size kB 128 6 Click Browse and navigate to the SoftDevice file you downloaded 7 Click Program Page 12 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Compile program and run the heart rate monitor demo Note The Development Dongle must be unplugged during these steps 1 Locate the Heart Rate demo project found in the folder lt keil path gt ARM Device Nordic nrf51822 board nrf6310 ble ble_app_hrs arm 2 Open the Heart Rate demo project in Keil uVision by double clicking the ble_app_hrs uvproj file Click the Build icon or press F7 to build the project 4 Only one SEGGER device should be connected to your computer Make sure it is also connected to the nRF51822 development module to ensure the program is downloaded to the correct target 5 Goto the Flash menu and click Download to load the program or click the Load icon 6 The Heart Rate demo example will start executing LEDO should be lit indicating it is advertising 7 The application advertises for 3 minutes If a connection isn t m
51. opment dongles Segger a nRF51 Programming Bootloaders Log c Nordic Semiconductor ASA 2008 2011 Note e Please refer to nRFgo Studio s help file for further information While in nRFgo Studio press F1 to open the help file e The nRF51822 device is capable of operating at voltages higher and lower than 3 3 V This can be tested when the debugger is not required for programming or debugging the application However for the J Link Lite Cortex M that is included in the kit to function correctly the supply voltage must be set to 3 3 V on the Motherboard At all voltages other than 3 3 V the J Link Lite CortexM 9 debugger should be disconnected from the nRF51822 module SEGGER has debuggers that are capable of debugging in the entire voltage range The supply voltage operating range of the nRF51822 device is stated in the Product Specification Page 10 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Start the Blinky project Before you start make sure the device is empty by doing the following 1 Open nRFgo Studio 2 Inthe Device Manager select the motherboard your module is connected to 3 Select the module 4 Motherboards 4 Board 0 Module nRF51822 nRF ISP Motherboard connector nRFS1 Evaluation Boards nRFS1 USB Dongles nRFS1 Programming 4 Ifyou have more than one SEGGER debugger connected you need to select which one you want to use Seger to use 5 Cli
52. rogramming and application development ii 33 6 1 Programming and erasing flash USING nRFgo Studio 000000000ee0e 000 aee nana nena nana en anana n awanan n awanane 33 6 2 Application development nn 37 7 STU UNG te RE 45 7 1 nRF51822 debug features and precautions 0 46 8 Testing the physical layer with Direct Test Mode si 49 8 1 SUN tor UAR T raaa ee On 49 8 2 Programming the NRF51822 module with DIM 00e000000 000000000000 0n aane anon nenen en nana ea nenen nean anane 52 8 3 DIM Tasting using nREGOStUdIO me 52 9 Software Development Kit tt ttt ttt titi ti 53 9 1 ISSUE 53 10 Troubleshooting mm dn 54 Appendix A Installing drivers and configuring KEIL projects for the SEGGER debugger 56 Page 2 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 1 Introduction The nRF51822 Development Kit DK for Bluetooth low energy 2 4 GHz proprietary provides a complete solution for developing testing and evaluating the nRF51822 device nRF51822 is part of the nRF51 series which offers a range of ultra low power System on Chip SoC solutions for your 2 4 GHz wireless products 1 1 Minimum requirements nRFgo Starter Kit NRFgo Studio v1 14 or later e Computer with a minimum of 2 USB ports e Windows XP 32 bit SP3 or Windows 7 1 2 External resources Keil MDK ARM Lite v4 54 or later https www keil com demo eval arm htm e J Link Software v4 56 or l
53. ry address 0x20002000 and available RAM size is 0x2000 8 kB KA Options for Target nRF51822_ 110 Device Target Output Listing User C C Asm Linker Debug Utilities Nordic nRF51822 on chi man BOOED FE NAH Figure 24 Memory layout with example SoftDevice IROM1 Start Specify the start address for the application code Size Specify available code size for the application code IRAM1 Start Specify start address for the application data Size Specify available RAM size for the application data Table 7 Memory layout Page 39 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 6 2 2 Shared call stack The user application shares the call stack with the SoftDevice if the SoftDevice is loaded on the chip The application must reserve enough memory for both itself and the SoftDevice in the call stack The call stack size required by the SoftDevice varies between devices and protocol stack versions and is supplied in the S110 NRF51822 SoftDevice Specification The user application sets its call stack size plus the amount needed by the SoftDevice It then writes the stack pointer at the first address of the application Reset Vector Note Using Keil with the ARMCC toolchain the call stack size can be set using the Stack_S1ze definitions in your projects startup file typically arm_startup_nrf51 s Stack_Si1ze EQU 0x400 The application call stack size protocol call stack size AREA ST
54. signed c Restricted Version with 32768 Byte Code Size Limit event auto unsigned c Currently used 948 Bytes 2 ant_channel auto unsigned ck i lt not in scope gt auto unsigned in auto unsigned in Load C Keil ARM Device Nordic nRF51422 210 1 0 Board nrf6310 nrf275 BS ant_broadcast_tx main_broadcast_tx c 165 BS ant_broadcast_tx main_broadcast_tx c 88 lt return_value Ba not in scope gt 4 MI pin 8 to 15_bits lt not in scope gt auto unsigned in 5 4 gt I ASSIGN BreakDisable BreakEnable BreakKill BreakList BreakSet BreakAccess ga Call Stack Locals E Memory 1 E see Se J LINK J Trace Cortex t1 0 00000000 sec CAP NUM SCRL OVR RA Figure 34 Setup with breakpoint after an SVC call Page 48 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 8 Testing the physical layer with Direct Test Mode The Direct Test Mode DTM interface enables you to test the RF parameters performance of the Bluetooth low energy radio design It can be used for performance testing tuning your prototypes and compliance testing This interface is compliant with the description in the Bluetooth Core Specification Version 4 0 Volume 6 Part F DTM testing requires that you program the chip with the DTM application that is delivered with the nRF51 SDK as described in Section 8 2 on page 52 The DTM UART setting features e 1 stop bit 8
55. u begin The instruction gt on ae back of this card 1 x NRF51822 Development Dongle PCA10000 1 x J Link Lite CortexM 9 JTAG SWD Emulator 1x NRF51822 DK PCB antenna module PCA10004 _ aa 1x NRF51822 DK SMA connector module PCA10005 1 x USB cable 1 x 10 pin connector Figure 1 nRF51822 DK hardware content Page 4 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 2 2 Downloadable content The nRF51822 Development Kit includes firmware source code documentation hardware schematics and layout files To access these files log in to your My Page account enter your product key and download the files Instructions can be found in Chapter 3 on page 6 2 2 1 nRF51822 DK software content e NRFgo Studio e NRF51 Software Development Kit SDK e Precompiled HEX files e Source code e Keil ARM project files e 110 nRF51822 SoftDevice Master Control Panel 2 2 2 nRF51822 DK documentation nRF51822 Development Kit User Guide nRF51 Series Reference Manual nRF51822 PS 110 NRF51822 SoftDevice Specification nRF51 SDK nRF51822 PAN 2 2 3 Schematics Bill of Materials PCB layout files and production files The ZIP file and its subdirectories contain the hardware design files for the nRF51822 DK e Altium Designer files Schematics PCB layout files e Production files e Assembly drawings Drill
56. versions Upgrade to version 4 54 or later The debugger doesn t work Please refer to Section 4 2 1 on page 19 The debugger seems to freeze while debugging If running a SoftDevice that has been programmed with the Lock SoftDevice from Read back enabled see section Section 6 1 on page 33 the debugger will halt while stepping to an SVC instruction You should set the breakpoint after the SVC instruction and run the application to the breakpoint or step over any SVC instructions See Section 7 1 2 on page 47 for more details have a problem sending receiving data using the USB to UART bridge In order to use the USB to UART bridge the software on nRF51822 has to enable flow control When reconnecting the PCA10000 using the USB cable the terminal program running on your computer has to be restarted you should wait for it to end before disconnecting Otherwise it locks up the serial port and the terminal Software gets out of sync while debugging Setting modifying breakpoints on a running system using the SEGGER debugger will halt the CPU which may result in software that is out of sync You should avoid setting breakpoints while the system is running The debugger does not halt on breakpoints Some Keil projects in the SDK have Optimization level 3 03 and Optimize for time checked If you are debugging an application with these settings your breakpoint set might have no effect Press AIt F7 to open the Target opt
57. y 2 4 GHz including Nordic s Gazell protocol Non concurrent combinations of Bluetooth low energy and proprietary 2 4 GHz 9 1 Installing the nRF51 SDK The nRF51 SDK is a part of the DK downloadable content available from your My Page account see Section 2 2 on page 5 The SDK is downloaded as a MSI file a windows installer and is installed by running the application When installing the SDK you can select Keil MDK Support Master Control Panel and or Custom install e Keil MDK support installs Keil uVision example project files the code memory programming algorithm for the J Link debugger and the Nordic nRF51 series device database file for Keil Custom install installs a software archive to a customized location nrfjprog installs a command line programming interface to be used with SEGGER debuggers Note The Keil MDK Support option will only be available if you already have the Keil MDK toolchain installed Page 53 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 10 Troubleshooting The nRF51822 device on the PCA10004 5 does not respond when try to contact it What has happened Verify that the jumper on connector K1 on the nRF51822 module is set in the position Pin 2 and Pin 3 When connect multiple SEGGER J Link debugger boards to my computer Vision does not recognize them correctly This is a known limitation with uVision in MDK v4 53 or earlier that is fixed in later
58. you would like to replace by this version The previous version will be renamed and kept in the same folder allowing manual undo ln case of doubt do not replace existing DLLs You can always perform this operation at a later time via start menu caret Figure 36 IDEs selected for updating to the latest SEGGER DLLs Page 56 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 4 Go to http www segger com IDE_Integration_Keil html knownproblems for MDK v4 54 Download JL2CM3 and copy it to lt keil gt ARM Segger This patch is necessary for the SEGGER debugger to work 5 Plug in the J Link Lite CortexM 9 module with USB cable The LED will blink while the driver installation occurs Wait until the LED is continuously lit J LINK LITE CortexM Serial number Figure 37 J Link Lite CortexM 9 serial number location Page 57 of 62 NORDIC SEMICONDUCTOR nRF51822 Development Kit User Guide v1 3 Configuring KEIL projects for SEGGER debugger for first time use 1 Double click an example project file to open the Keil uVision IDE 2 Click Target Options on the toolbar or click Project menu and select Options for Target Debug Peripherals Tools SVCS Window Help Configure target options Figure 38 Keil Target configuration 3 Under the Debug tab in the Use list select J LINK J Trace Cortex option as shown in Figure 39 4 Click Settings as shown in Figure 39 Both the SEGGER Control

Download Pdf Manuals

image

Related Search

Related Contents

User Manual For GSM Fixed Wireless Phone    Manual de usuario  Imetec E0401    Bedienungsanleitung  Manual de instrucciones  ※老朽消火器取扱いには 注意して下さい。  V1729A User Manual  

Copyright © All rights reserved.
Failed to retrieve file