Other Parts Discussed in Thread: UNIFLASH, , LAUNCHXL-RM42, EK-TM4C123GXL
Hi
I was waiting for a response to this thread but i discovered today that it is locked.
Why? Can someone unlock it?
Thanks,
André
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.
Hi
I was waiting for a response to this thread but i discovered today that it is locked.
Why? Can someone unlock it?
Thanks,
André
Hi Andre,
The forum system automatically lock thread after one month. Here is the question in the other thread.
Hi thanks. I opened CCS and tried to add more Devices for each debugger (daisy-chain several):
- XDS100V1 - couldn't add TM4C devices
- XDS100V2 - success to add several TM4C devices
- XDS100V3 - success to add several TM4C devices
- XDS2xx - success to add several TM4C devices
- XDS2xx onboard - success to add several TM4C devices
- ICDI - success to add several TM4C devices
Strange that i can add several devices in CCS using ICDI because i read here e2e.ti.com/.../379659 that it does not support
At the moment i am using linux and under SSH i can connect to the computer where the ICDI is connected and lm4flash my boards individually. My point here is to reduce the number of programmers and still use command line flashing. How can i accomplish that if im stuck with the CCS IDE to configure targets, compile, debug and flash?
I'm not clear with your question. Are you looking for a non-CCS tool, such as an off the shelf CLI tool to program each target individually or in a daisy-chain? If you are looking for a CLI tool then you can use the Uniflash but I'm not sure it is capable to program all targets in daisy-chain. Depending on your question I will need to move your post to the CCS forum group for their expertise in this subject.
Please take a look at the Uniflash wiki page and search for the CLI commands.
Hi
I have no idea how to do that and have no skills in Pearl so i won't call it an easy task (at least for me).
Hi Andre,
I cannot comment about RM42 as I don't support that MCU. You are on your own if you want to modify that RM42 launchpad to support debugging out another targets. You will be the first one doing this as far as I know - using RM42 to debug TM4C.
The easiest solution is to purchase either the XDS100v2 or XDS110 debug probe.
www.ti.com/.../TMDSEMU110-U
www.newark.com/.../78R2896
I will close this thread for now. If you have new questions you can open a new thread.
It seems the Launchxl onboard XDS100V2 is working in a daisy chain connection.
I removed R25 (TMS), R27 (TDI), R30 (TDO), R32 (TCK), R33 (RESET) and connected an external header for these 5 pins. Connected them to the 2 TM4C123 boards. XDS100V2 TDI connected to 1st TM4C123 TDI, TDO connected to the 2nd TM4C123 TDI and the 2nd TDO connected to XDS100V2 TDO. The rest JTAG pins in parallel.
I created a CCS config ccxml file with XDS100V2 and two TM4C123 targets and executed 2 lines of code. It seems there is no need to check the bypass checkbox on CCS because on dslite the --core flag chooses the MCU order on the chain.
Each one flashed one MCU:
./dslite.sh --config=user_files/configs/xds100v2_tm4c123_1_and_2.ccxml --core=0 --verbose --flash --verify user_files/images/blinky.bin,0x0
./dslite.sh --config=user_files/configs/xds100v2_tm4c123_1_and_2.ccxml --core=1 --verbose --flash --verify user_files/images/blinky.bin,0x0
For now i am only having issues with the reset signal on the XDS100V2 board. It is now resetting the MCUs on the chain. I don't know why. Have to manually press the reset button on each MCU board.
Andre Leitao said:I have no idea how to do that and have no skills in Pearl so i won't call it an easy task (at least for me).
You will never know what you are capable of until you at least try! After all Linux users should know something about Pearl scripting or switch back to Windows and use simple CMD scripts. I would bet you can pick up Pearl script after installing RPMS and doing some C+ programming. I'm purely an MS guy but have played with Linux in the past and reviewed a few Pearl command scripts.
Andre Leitao said:But why Pearl? why not shell scripting?
Always figured Linux shell scripting used a reduced subset of Pearl syntax. Anyway the idea was to control multiple daisy chain DAP ports access via a central GUI. Otherwise pre-written lines of specific configuration strings sent by the script when selected by a number. It would seem you have exhausted all other possibilities to that desired CCS debug concept, off topic not!
Hi,
I'm a bit unclear. You wrote earlier "It is now resetting the MCUs on the chain. I don't know why. Have to manually press the reset button on each MCU board." I thought you were getting reset when you tried to program based on your statement. Now you said you are trying to connect the RESET/TRSTN from the RM43 to the TM4C123. You need to know that there is no nTRST input to the TM4C123. So connecting TRSTN from the RM42 has no use. I'm not sure which RESET from RM42 you are trying to connect as I don't directly support that MCU. Can you clarify? Are you talking about the RESET from the RM42 MCU? I thought you were trying to use the RM42 board's on-board debug probe (the XDS100), why are you connecting the RM42 MCU's RESET to the TM4C123.
Again, I'm not clear if you are having an inadvertent reset to the TM4C123 or not. If this is the case, you need to read the RESC register to find the cause of the reset event.
Hi Andre,
Are you making some progress? Can you try some of the options below?
Do you at least have one the XDS debug probe that you can borrow if you don't have one yourself. This way it is easier to narrow down the problem. Again, I recommend you purchase one. If you insist hacking the RM42 (a device and launchpad that I'm not so familiar with ) then it is not what I will recommend but it is your choice.