Hello,
I want to change the programmer in my CCS project from the default XDS1110 programmer to Jlink-Base programmer. The reason is, I want to use Jlink RTT Viewer to debug my application. To do this I changed the targetConfigs/CC2640R2F.ccxml in my CCS project to use the Jlink-Base programmer.
Unfortunately I cannot use full JTAG interface because our final product only hast cJTAG interface. Therefore I need to do this over cJtag.
I connected the LaunchXL Board in the following way. Jumper Configuration is also the same.
[img='https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/538/pastedimage1625226870285v1.png',none,285][/img]
My targetConfigs/CC2640R2F.ccxml looks like this:
Display All
The Problem I am facing is that my Application does not run when using Jlink-Base Debugger over cJTAG with the CCS Debugging Mode and RTT Viewer.
I tested multiple configurations with my Application Code Base:
Now I do not know where to look for. It seems like it is related to my Application, because the ProjectZero Application works. On the other hand it also seems like it is related to CCS+Jlink because it works with XDS110 Debugger and it works with Jlink Commander in manual mode.
I already started a thread in TI Forum. They said I should look here for help.
Do you know how I could get my Application to work with CCS and cJTAG?
regards
Alex
I want to change the programmer in my CCS project from the default XDS1110 programmer to Jlink-Base programmer. The reason is, I want to use Jlink RTT Viewer to debug my application. To do this I changed the targetConfigs/CC2640R2F.ccxml in my CCS project to use the Jlink-Base programmer.
Unfortunately I cannot use full JTAG interface because our final product only hast cJTAG interface. Therefore I need to do this over cJtag.
I connected the LaunchXL Board in the following way. Jumper Configuration is also the same.
[img='https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/538/pastedimage1625226870285v1.png',none,285][/img]
My targetConfigs/CC2640R2F.ccxml looks like this:
XML Source Code
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <configurations XML_version="1.2" id="configurations_0">
- <configuration XML_version="1.2" id="SEGGER J-Link Emulator_0">
- <instance XML_version="1.2" desc="SEGGER J-Link Emulator_0" href="connections/segger_j-link_connection.xml" id="SEGGER J-Link Emulator_0" xml="segger_j-link_connection.xml" xmlpath="connections"/>
- <connection XML_version="1.2" id="SEGGER J-Link Emulator_0">
- <instance XML_version="1.2" href="drivers/JLINKicepick_c.xml" id="drivers" xml="JLINKicepick_c.xml" xmlpath="drivers"/>
- <instance XML_version="1.2" href="drivers/jlinkcs_dap.xml" id="drivers" xml="jlinkcs_dap.xml" xmlpath="drivers"/>
- <instance XML_version="1.2" href="drivers/jlinkcortexm3.xml" id="drivers" xml="jlinkcortexm3.xml" xmlpath="drivers"/>
- <platform XML_version="1.2" id="platform_0">
- <instance XML_version="1.2" desc="CC2640R2F_0" href="devices/cc2640r2f.xml" id="CC2640R2F_0" xml="cc2640r2f.xml" xmlpath="devices"/>
- <device HW_revision="1" XML_version="1.2" description="SimpleLink(TM) Bluetooth(R) low energy CC2640R2F wireless MCU" id="CC2640R2F_0" partnum="CC2640R2F" simulation="no">
- <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_0" isa="ICEPICK_C">
- <subpath id="subpath_0">
- <router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_0" isa="CS_DAP">
- <subpath id="subpath_1">
- <cpu HW_revision="1.0" XML_version="1.2" description="Cortex_M3 CPU" deviceSim="false" id="Cortex_M3_0" isa="Cortex_M3">
- <property Type="choicelist" Value="2" id="Target Interface Type"/>
- <property Type="filepathfield" Value="" id="J-Link Scriptfile Path"/>
- </cpu>
- </subpath>
- </router>
- </subpath>
- </router>
- </device>
- </platform>
- </connection>
- </configuration>
- </configurations>
The Problem I am facing is that my Application does not run when using Jlink-Base Debugger over cJTAG with the CCS Debugging Mode and RTT Viewer.
I tested multiple configurations with my Application Code Base:
- CCS Debugging with onboard XDS110 Debugger over JTAG -> no issue, but no RTT View
- manual reset and only use RTT Viewer with Jlink Debugger -> no issues and RTT Viewer works
- CCS Debugging with Jlink Debugger -> does not start the Bluetooth Task
- CCS Debugging with Jlink Debugger and TI ProjectZero Application -> no issues
I already started a thread in TI Forum. They said I should look here for help.
Do you know how I could get my Application to work with CCS and cJTAG?
regards
Alex