Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add support for power trace #214

Open
diggit opened this issue Nov 9, 2024 · 5 comments
Open

[Feature request] Add support for power trace #214

diggit opened this issue Nov 9, 2024 · 5 comments

Comments

@diggit
Copy link

diggit commented Nov 9, 2024

Hi,
I started using power output on my J-link base compact and noticed there is current and voltage available on it's webserver http://localhost:19080/target_power.htm .

Image

Segger website sites state only higher end probes support power tracing at 200 ksa/s, but my J-link compacts can obviously measuring output current and voltage (at least on some lower rate, web control panel traces refresh several times per second.

There are API functions JLINK_POWERTRACE_Control and JLINK_POWERTRACE_Read. It looks similar to RTT API functions.

Would it be possible to explore this functionality and add it into pylink? Unfortunately I don't have SDK license so I don't know if I can help.

@hkpeprah
Copy link
Contributor

Sorry, I forgot to update here. I'll take a look at this. I have the code complete, just haven't had a moment to test it yet. Will try to get something out by EoW.

@diggit
Copy link
Author

diggit commented Nov 30, 2024

@hkpeprah Hi, do you have the code in some public branch? I can also give it a try, but I only have Base models...

@hkpeprah
Copy link
Contributor

hkpeprah commented Dec 2, 2024

Sorry, I'm just wrapping up the unit tests, then I will put up a patch.

@hkpeprah
Copy link
Contributor

hkpeprah commented Dec 2, 2024

PR is up! #215

@hkpeprah
Copy link
Contributor

hkpeprah commented Jan 7, 2025

This should be available in 1.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants