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 am using loadRaw and saveRaw function in dss script to load and store raw frames from target.
The loadRaw function is taking around 22 seconds to load single raw frame of size 1.2 MB.
The saveRaw function is taking around 56 seconds to save 8 raw frames with total size of 2.1 MB.
Is there any way to optimize these functions?
The load/save raw DSS APIs are probably the best APIs in terms of download performance. What debug probe are you using? If you are using one of the more slower probes (like XDS100), then upgrading your probe would have the biggest impact.
Thanks
ki
Hi Ki,
I am using XDS560V2 STM debug probe. Is there any way the performance can be increased by modifying the code?
Parameswaran L said:I am using XDS560V2 STM debug probe.
That is one of our highest performing debug probes.
hmm... when you use the memory load/save feature in the Memory Browser view, is the performance faster?
Yes, when I use the memory load/save feature in the Memory Browser view, the performance is significantly faster.
hmm, that's interesting. I would think they both used similar calls under the hood. Can you:
1) provide the part of your script where the APIs are called (I want to see what parameters are passed to the API)
2) enable debug server logging to generate a debug server log, then run the script and zip up the log and attach to this thread? I might be a good idea to have a simplified script when all you do is start a debug session, connect to the target, and call the APIs. That will make it easier to analyze the log.
Thanks
ki