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'm downloading about 450 KBytes of data into the devices.This takes rather long:
With the Stellaris in Circuit Debugger this will take 29 Seconds, with a XDS110 about 20 Seconds. I tried all possible options in the setup to speed it up more, but I can get it faster than this. This is rather long, if I e.g. have to debug. Additionally both debuggers fail to load the program in about 30..50 % - as the running program is sometimes not properly terminated. Additionally we are flashing these devices for production in volumes with these debuggers, so for this purpose a faster flash would be cool.
Is there a faster XDS out there, you can recommend which speeds this up more? Or a general recommendation for at least speed up production?
Thanks & Regards
Micky
Can someone report about the speed differences: Is the XDS560v2 faster than the XDS110 or is the speed limit related to the TM4C129 capabilities?
Hello Michael,
Can someone report about the speed differences: Is the XDS560v2 faster than the XDS110 or is the speed limit related to the TM4C129 capabilities?
I don't think we ever really benchmarked these points but a lot of the bottleneck is simply the time it takes to write to Flash memory over JTAG. I am not sure how much faster an XDS560 or even a Seggar J-Link would be, but I've never heard of customers using them for speed, only extra debug capabilities.
Additionally both debuggers fail to load the program in about 30..50 % - as the running program is sometimes not properly terminated.
That seems to be a CCS issue with debug sessions though I don't usually see that so probably some issue with the steps taken to program too - regardless in production you'd use CCS Uniflash and not have this issue at all.
Best Regards,
Ralph Jacobi
Referring the speed issue: I'll have to evaluate on my own, then [sigh].
With the Uniflash we donot face problems with downloads in production. But in that case, the controllers are in factory delivery state, so this is no wonder. When debugging with a "fresh" part, I also donot encounter any problem with CCS.
Hi Michael,
I can try and do a quick check with 1MB image on a DK-TM4C129X using ICDI vs XDS200 vs Seggar J-Link on Uniflash this afternoon to see if the latter offers any discernable advantage to XDS200. I don't have an XDS560 to test with.
Best Regards,
Ralph Jacobi
Hi Michael,
Interesting results!
ICDI and XDS200 were basically equivalent, around ~43-45 seconds (accounting for human error on stop watch ) each for program load of a full 1MB image.
The J-Link actually had an interface come up with an accurate time (but it didn't stay up) and the results were:
So basically 20 seconds flat, half the time quicker. I wasn't really expecting it to be that much faster...
Unfortunately as mentioned I don't have an XDS560 around to test with. I will try and ask around tomorrow if I can find one...
Best Regards,
Ralph Jacobi
Debug Probe Performance Comparison has some benchmarks on a XDS560 (and other debug probes) on a MSP432E401Y is a sister device of a TM4C129, so should be comparable.
Hi Ralph,
Thanks for your help.
If Debug Probe Performance Comparison is also valid for the TM4C, the XDS560v2 is not faster (if you can evaluate for this particular device, this is welcome, too).
I will buy a segger then. I will check also the different options there. Is there a spreadsheet for J-Link integration or is this just out of the box?
Regards
Micky
Hi Michael,
I wasn't able to find an XDS560 to test with unfortunately. That said, I would expect that what Chester shared would reflect very closely with what to expect with TM4C as the devices are very similar, so it looks like XDS560 doesn't have any advantages over XDS200 whereas J-Link will be faster than both.
Best Regards,
Ralph Jacobi
Hi Ralph,
That's ok so far. I checked segger's homepage and their products. I've seen, they also have a arm-flasher unit, which might be useful in our production. It is fast and can be controlled via e.g. simple TCP-commands. That is even easier than using uniflash. We will evaluate this. I will report, if you don't mind.
I will check the different J-Link Debuggers and Trace devices, and see, how I can use them. For now, I'm using CCS for debugging only, anyway. I compile with make and use emacs (why I do so, is another story to tell with a lot of pain...). Well, my dream: Work complete in emacs, download fast, debug robust, do all inside emacs. OMG, this would be a wonderful day...
Regards
Micky.
Hi
as I told to give feedback: With the Segger J-Link Ultra+ debugger I have a downloadtime of 9 seconds.
So for 500 kB I have here
+ ICD Debugger 29 sec
+ XDS110 20 sec.
+ JLink 9 sec.
EDIT: I have to correct myself, sorry. The next sentence is only true, if I change nothing in the code and do a simple reload.
and: The debugger is also checking, weather a flash block needs update at all, so if I change only in some functions, only these blocks are renewed, which is mostly the case during development. This speeds up to less than 1 second. And it seems to be much more robust, and more than 6 breakpoints ...
I'm really angry with myself that I didnot investigate this earlier. I will also check their gdbsever (and will report). I really can recommend this debugger, if you code more than smaller projects. So thumbs up!!!! We also bought the Segger Arm Flasher, which I think will be as fast. As we flash a lot of devices, this will save a lot of time.
Regards
Micky