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

View defmt_rtt output in J-Link viewer #826

Open
pnchatterji opened this issue Apr 4, 2024 · 2 comments
Open

View defmt_rtt output in J-Link viewer #826

pnchatterji opened this issue Apr 4, 2024 · 2 comments

Comments

@pnchatterji
Copy link

Hello,
I am using defmt_rtt in an Embassy application. In order to view output messages using probe_rs, I was forced to change the jlink usb driver. I had previously attempted to view the output on J-Link viewer, but I was getting junk, even after setting encoding to raw. However, now my J-link viewer is unusable. Probably I would need to reinstall it. Is there any way to see the defmt_rtt output in j-link viewer, thus avoiding having to replace the USB driver? I need the j-link viewer for non-rust embedded applications, so I can't keep installing and reinstalling the USB drivers.

thanks
regards
pnc

@jonathanpallant
Copy link
Contributor

I think you would need to talk to SEGGER about adding support for the defmt protocol to their J-Link tool, either directly or by piping the RTT byte stream through the defmt-print binary.

@jonathanpallant
Copy link
Contributor

SEGGER now have official Rust support in the Ozone debugger so it's definitely worth asking them about this.

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

No branches or pull requests

2 participants