This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CCSTUDIO: CCS/CCSTUDIO Segger J-Link Support

Part Number: CCSTUDIO
Other Parts Discussed in Thread: SEGGER, AM3358, AM3359

Tool/software: Code Composer Studio

I am using BeagleBone Green to load program using J-Link EDU using CCS V10.

I can't seem to get the j-link working for some reason. As I understand it the j-link drivers are installed as a part of CCS Stuido Segger J-Link installation.

When I try to connect j-link to BBG I get the following error in CCS.

CortxA8: Error: Stat [ JLINKARM_IsHalted() call ] failed!
CortxA8: Unable to determine target status after 20 attempts
CortxA8: GEL: Error while executing OnTargetConnect(): Specified reset is not allowed at this time
at GEL_AdvancedReset("System Reset") [beagleboneblack.gel:346]
at OnTargetConnect()

I'm sure my HW is working. I am not sure what went wrong. On J-link I intermittent red-green blinking as if J-link can't connect to the target.

J-Link Cmd Line

C:\Program Files (x86)\SEGGER\JLink>JLink.exe
SEGGER J-Link Commander V6.72 (Compiled Apr 28 2020 10:54:00)
DLL version V6.72, compiled Apr 28 2020 10:53:04

Connecting to J-Link via USB...O.K.
Firmware: J-Link V11 compiled Apr 23 2020 16:49:23
Hardware version: V11.00
S/N: 261001663
License(s): FlashBP, GDB
OEM: SEGGER-EDU
VTref=3.432V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: AM3358
Type '?' for selection dialog
Device>AM3359
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>
Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
JTAGConf>
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "AM3359" selected.


Connecting to target via JTAG
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1

****** Error: AM335x connect: Can not find ICE-Pick (IRLen mismatch)
AM335x connect:Can not find ICE-Pick (IDCODE mismatch). Expected 0x0B00002F, found: 0xFFFFFFF7

TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1
TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFC1

****** Error: AM335x connect: Can not find ICE-Pick (IRLen mismatch)
AM335x connect:Can not find ICE-Pick (IDCODE mismatch). Expected 0x0B00002F, found: 0xFFFFFFF7

Cannot connect to target.