Other Parts Discussed in Thread: TMS570LS1224
The JLINK I used to connect the JTAG interface of TMS570LS1227 has no problem with the program simulation after several days!
Probably because I added this code to my program system.c
/** @b Clock source[7-3] is set to the disabled state */
/*SYSTEM_1->CSDISSET = 0x00000000U | (31U << 3U);
I can't connect target board today!!!
After sending the "connect" command in JFLASH, the following error appears:
Connecting ...
- Connecting via USB to J-Link device 0
- J-Link firmware: J-Link V9 compiled Oct 25 2018 11:46:07
- Device "TMS570LS1227" selected.
- Executing InitTarget()
- TotalIRLen = 6, IRPrint = 0x01
- J-Link script: ICEPick found, enabling DAP of CPU core.
- TotalIRLen = 10, IRPrint = 0x0011
- JTAG chain detection found 2 devices:
- #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
- #1 Id: 0x3B95502F, IRLen: 06, TI ICEPick
- Identified core does not match configuration. (Found: None, Configured: Cortex-R4)
- Executing InitTarget()
- TotalIRLen = 6, IRPrint = 0x01
- J-Link script: ICEPick found, enabling DAP of CPU core.
- TotalIRLen = 10, IRPrint = 0x0011
- JTAG chain detection found 2 devices:
- #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
- #1 Id: 0x3B95502F, IRLen: 06, TI ICEPick
- ERROR: Could not power up debug port: Control/Status register reads 00000F02
- Target interface speed: 1000 kHz (Auto)
- VTarget = 3.291V
- Executing InitTarget()
- TotalIRLen = 6, IRPrint = 0x01
- J-Link script: ICEPick found, enabling DAP of CPU core.
- TotalIRLen = 10, IRPrint = 0x0011
- JTAG chain detection found 2 devices:
- #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
- #1 Id: 0x3B95502F, IRLen: 06, TI ICEPick
- Identified core does not match configuration. (Found: None, Configured: Cortex-R4)
- Executing InitTarget()
- TotalIRLen = 6, IRPrint = 0x01
- J-Link script: ICEPick found, enabling DAP of CPU core.
- TotalIRLen = 10, IRPrint = 0x0011
- JTAG chain detection found 2 devices:
- #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
- #1 Id: 0x3B95502F, IRLen: 06, TI ICEPick
- ERROR: Could not power up debug port: Control/Status register reads 00000F02
- ERROR: Failed to connect.
Could not establish a connection to target.
Now the 3.3v, 1.2v voltage and 16Mhz Xtals in target board I measured are working normally! and my Jlink emulator is working normally!
I strongly suspect that there is something wrong with the software that was programming in, which occupied the corresponding IO pins or disabled the relevant clock source, resulting in the inability to use JLink to communicate with it.
so The important question now is how do I get the software with problerm to stop running when it's powered on, or to erase FLASH in some other way???
anyone Experienced superior to answer it???
Thank you very much for your reply!!!