You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Is there a means (or would be possible to add support) for a way to view defmt logs while a micro controller is already running (i.e. without resetting it first)? My current use case looks something like:
I have a Raspberry Pi Pico
I can bring the RUN pin low to reset the device
When I do, sometimes the program resets and starts running from the beginning successfully...
... and other times, the device appears to lock up or crash -- the LCD I have attached as part of my project freezes, but I don't know if that's because the LCD controller is stuck in a bad state while everything else on the RP2040 is chugging along, or if something paniced, or...
Logs here would be a big help.
I can do probe-run target/thumbv6m-none-eabi/debug/pim --no-flash --chip rp2040, which doesn't flash the device, but it does reset it. It would help in this sort of scenario if I could view the defmt logs without resetting the device.
I guess such a feature contradicts the "run" in the name probe-run, but unless there's already another executable that provides this ability, it would be really nice to have. Or if this is a fundamental limitation of defmt/probe-run, it would be nice to have an advisory in the docs (assuming I haven't overlooked such).
Thanks!
The text was updated successfully, but these errors were encountered:
Still would be cool for probe-run to support this, as (at the very least) I really like the unique features probe-run has like colorization for the various log components (making it easier to spot log level, file names, etc) and support for full back traces.
Hello,
Is there a means (or would be possible to add support) for a way to view
defmt
logs while a micro controller is already running (i.e. without resetting it first)? My current use case looks something like:panic
ed, or...Logs here would be a big help.
I can do
probe-run target/thumbv6m-none-eabi/debug/pim --no-flash --chip rp2040
, which doesn't flash the device, but it does reset it. It would help in this sort of scenario if I could view thedefmt
logs without resetting the device.I guess such a feature contradicts the "run" in the name
probe-run
, but unless there's already another executable that provides this ability, it would be really nice to have. Or if this is a fundamental limitation ofdefmt
/probe-run
, it would be nice to have an advisory in the docs (assuming I haven't overlooked such).Thanks!
The text was updated successfully, but these errors were encountered: