I am using JLINK EDU and Beagleboard XM. The JTAG connection is setup correctly; when I connect using JLINK Commander, I get a popup saying "Can not find ICE-Pick (IDCODE mismatch)" but it eventually seems to work (I renamed the beagleboard script as Default.JLinkScript) and I get:
This indicates that I am properly connected to the device. Through JLINK Commander, I view memory and write them to file. However, when I try to set breakpoint on 0x00000000 or 0xFFFF0000 and reset the processor, the breakpoint never hit. Second, when I try to do a cpu speed test, I get an error like
and when starting up the JLINK GDB Server, I get this error,
What am I doing wrong? Thanks.
SEGGER J-Link Commander V4.22c ('?' for help)
Compiled Jan 18 2011 11:40:21
DLL version V4.22c, compiled Jan 18 2011 11:40:08
Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
Hardware: V8.00
S/N: xxxxx
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
VTarget = 1.805V
Info: Beagle Board OMAP3530 (Cortex-A8 core) J-Link script
Info: J-Link script: Init ICEPick
Info: TotalIRLen = 6, IRPrint = 0x01
Info: TotalIRLen = 10, IRPrint = 0x0011
Info: ARM AP[0]: 0x14770001, AHB-AP
Info: ARM AP[1]: 0x04770002, APB-AP
Info: ARM AP[2]: 0x14760010, JTAG-AP
Info: Found Cortex-A8 r3p2
Info: 6 code breakpoints, 2 data breakpoints
Info: Data endian: little
Info: Main ID register: 0x413FC082
Info: Cache Type register: 0x82048004
Info: System control register:
Info: Instruction endian: little
Info: Level-1 instruction cache enabled
Info: Level-1 data cache disabled
Info: MMU disabled
Info: Branch prediction supported
Found 2 JTAG devices, Total IRLen = 0:
#0 Id: 0x0B6D602F, IRLen: 04, IRPrint: 0x1, Cortex-A8 Core
#1 Id: 0x0B7AE02F, IRLen: 06, IRPrint: 0x1, TI ICEPick
Cortex-A8 identified.
JTAG speed: 100 kHz
J-Link>
This indicates that I am properly connected to the device. Through JLINK Commander, I view memory and write them to file. However, when I try to set breakpoint on 0x00000000 or 0xFFFF0000 and reset the processor, the breakpoint never hit. Second, when I try to do a cpu speed test, I get an error like
J-Link>testcspeed
Testing CPU clock frequency @ address 0x00000000...
****** Error: Timeout while entering debug state
No RAM available @ address 0x0. Could not determine CPU clock
J-Link>
and when starting up the JLINK GDB Server, I get this error,
J-Link connected
Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
Hardware: V8.00
S/N: xxxxx
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
Resetting target using BP@0 and trying again to connect...
WARNING: CPU not halted after Reset, halting using Halt request
ERROR: DBGEN is not asserted.
ERROR: Could not connect to target.
J-Link connected
Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
Hardware: V8.00
S/N: xxxxx
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
ERROR: DBGEN is not asserted.
What am I doing wrong? Thanks.