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

Get "Trace Hw no present" on segger j-link

Hi guys

I am using customized board(Raytac MDBT40) based on nrf51822(flash memory 256k, RAM 32k).

I am trying BLE UART example code of SDK 11.

which path : \nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_uart\pca10028\s130\arm5_no_packs

Now I want to use debugger to run it, so I install segger j-link.

I connect nrf51822 and j-link by SWODIO, SWOCLK, GND,

and set configuration in keil ARM(μVision V5.23.0.0) as illustrated.

image description

image description

image description

image description

image description

image description

Before loading code, I upload softdevice s130 v2.0 by nRFgo.

It seems fine until press "DOWNLOAD".

But I get "trace hw no present" after press "Start Debug".

image description

image description

What is the error message mean?

*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'nrf51422_xxac_s130'
".\_build\nrf51422_xxac_s130.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed:  00:00:02
Load "D:\\Nordic Semiconductor\\nRF5_SDK_11.0.0_89a8197\\examples\\ble_peripheral\\ble_app_uart\\pca10028\\s130\\arm5_no_packs\\_build\\nrf51422_xxac_s130.axf" 
Set JLink Project File to "D:\Nordic Semiconductor\nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_uart\pca10028\s130\arm5_no_packs\JLinkSettings.ini"
* JLink Info: Device "NRF51422_XXAC" selected.
 
JLink info:
------------
DLL: V6.14c, compiled Mar 31 2017 17:45:52
Firmware: J-Link V9 compiled Mar 10 2017 19:41:40
Hardware: V9.30
S/N : 59302133 
Feature(s) : GDB 
 
* JLink Info: Found SW-DP with ID 0x0BB11477
* JLink Info: AP-IDR: 0x04770021, Type: AHB-AP
* JLink Info: AHB-AP ROM: 0xF0000000 (Base addr. of first ROM table)
* 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]: E00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl[1] @ E00FF000
* JLink Info: ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
* JLink Info: ROMTbl[0][1]: F0002000, CID: B105900D, PID: 000BB9A3 ???
ROMTableAddr = 0xF0000000
 
Target info:
------------
Device: nRF51422_xxAC
VTarget = 3.296V
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.
Flash Load finished at 14:50:57
Error: Target DLL has been cancelled. Debugger aborted !
Related