I'm trying to run SWO viewer from automated tests to capture log output from target. For some reason CPU frequency measured by SWO tool is not always correct and causes SWO frequency to jump from 900kHz (correct) to 750kHz (incorrect).
Using GUI version I can manually enter CPU frequency. However using command line options (both to GUI and CL version) I cannot. I've tried different combinations of -swofreq, -device, -cpufreq (only some of them, various orders) but they seem to be ignored at least to some point. For example setting SWO frequency does not work at all. Setting only CPU frequency leads to prompt for device, etc.
I checked few version of J-Link tools (latest beta, latest stable and 5.12g) - all behaves exactly the same.
Using GUI version I can manually enter CPU frequency. However using command line options (both to GUI and CL version) I cannot. I've tried different combinations of -swofreq, -device, -cpufreq (only some of them, various orders) but they seem to be ignored at least to some point. For example setting SWO frequency does not work at all. Setting only CPU frequency leads to prompt for device, etc.
I checked few version of J-Link tools (latest beta, latest stable and 5.12g) - all behaves exactly the same.