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.
Tool/software: Code Composer Studio
I have a board with a TMS570LS0714. I am trying to connect using a J-Link EDU under CCSv7 on mac (I have also tried and failed with CCSv6 on windows).
I have set the project processor and the target configuration processor to the TMS570LS0714. When I try to debug, I get the following error:
Error connecting to the target:
runJLinkCommand: ERROR : Failed to set device.
I have also tried changing the procID in the "jlinkcortexr4.xml" file to match the one in the processor data sheet, which is shown below. I still get the same error.
<isa Type="Cortex_R4" ProcID="0x0BB0302F">
The J-link package has been updated. Also, sometimes, when selecting the J-link debugger in the target configurations window, I am shown a vastly reduced set of processors to choose from. The reduced set does not include the chip I'm using, and it more closely matches the compatibility list on the Segger site.
I would like to know the source of the "Failed to set device" error message. It looks like cortex R4 compatibility is included in the Segger CCS drivers, but is there an ID somewhere else that I should change so that the debugger will see my device?
Note that I can get sometimes get some sort of JTAG communication when setting the target configuration device to TMS570LC43xx (which is a Cortex-R5), as I see a blinking orange and green light on the debugger, and the current consumption of my board fluctuates. However, this ends in an error including "..._IsHalted() call failed ... memory map set to 0x00," if I remember right.
John,
I configured CCS to connect to an RM44L520, and manually set the project and target config endianess, as well as switching to the correct endian runtime support library. The J-Link definitely tries to connect, as I can see the current fluctuating and lights blinking.
However, I see the following errors in CCS:
CortexR4: Error: Stat [ JLINKARM_IsHalted() call ] failed! CortexR4: Unable to determine target status after 20 attempts CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0
Then an "Unable to connect to target" window pops up.
Do you have any pointers as to what could be causing this? I'm trying to totally rule out a hardware issue. The memory map issue is particularly weird, as the RM and the 570 have the same memory map. I know there's nothing that says that this should work, but I'm trying to understand what the errors mean while waiting on official support to be introduced.
Thanks!
Richard