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
Is your feature request related to a problem? Please describe.
I find that the current mechanism for graphing has too much friction. If I understand correctly, there is configuration on both cortex-debug side and firmware side (eg via RTT) in order to get data onto a graph. So, adding a new signal to a graph requires reconfiguration in cortex-debug, firmware changes, and a recompile/flash.
Instead, I end up using Segger's Ozone for graphing. I can add an expression at any time to add it to the graph. No configuring or recompiling. It somehow does not need firmware changes at all to support (maybe because we are using the Trace pins?).
However, Ozone is not compatible with dev containers (plus I much prefer using the cortex-debug debugger).
Describe the solution you'd like
I would love to have a graphing window where I can add expressions with corresponding sample frequency without reconfiguration in launch.json or recompiling firmware.
With this, I could move entirely to cortex-debug.
Describe alternatives you've considered
Currently, I download the elf file from my dev container to my windows environment and run Ozone.
We (another team member) also tried printing to file via RTT and graphing with python.
Neither of the above are great solutions...
Additional context
Here is a screenshot of Ozone's "Timeline" view for reference:
The text was updated successfully, but these errors were encountered:
I believe there are two parts to this problem/feature.
fast data reading
Ozone is using J-Link HSS to get the data as fast as possible. Periodic readout is offloaded to J-Link probe itself.
Necessary symbols are present in libjlinkarm (linux)
So some custom SW could be able to utilize this feature (good candidate to add this is e.g. pylink). J-link GDB server does not seem to expose this feature.
In the end doable, but not so easy and external tools dependent.
plotting
We now have live data readout (several Hz, maybe more) so adding an option to plot them makes sense. This should be purely about code of this extension.
Is your feature request related to a problem? Please describe.
I find that the current mechanism for graphing has too much friction. If I understand correctly, there is configuration on both cortex-debug side and firmware side (eg via RTT) in order to get data onto a graph. So, adding a new signal to a graph requires reconfiguration in cortex-debug, firmware changes, and a recompile/flash.
Instead, I end up using Segger's Ozone for graphing. I can add an expression at any time to add it to the graph. No configuring or recompiling. It somehow does not need firmware changes at all to support (maybe because we are using the Trace pins?).
However, Ozone is not compatible with dev containers (plus I much prefer using the cortex-debug debugger).
Describe the solution you'd like
I would love to have a graphing window where I can add expressions with corresponding sample frequency without reconfiguration in launch.json or recompiling firmware.
With this, I could move entirely to cortex-debug.
Describe alternatives you've considered
Currently, I download the elf file from my dev container to my windows environment and run Ozone.
We (another team member) also tried printing to file via RTT and graphing with python.
Neither of the above are great solutions...
Additional context
![image](https://private-user-images.githubusercontent.com/69219109/321376248-5ba5932a-0c2c-4dca-b9c9-ebeeaa91b095.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NzQ4OTUsIm5iZiI6MTcyNDc3NDU5NSwicGF0aCI6Ii82OTIxOTEwOS8zMjEzNzYyNDgtNWJhNTkzMmEtMGMyYy00ZGNhLWI5YzktZWJlZWFhOTFiMDk1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDE2MDMxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZkMzQ2YmEzMTM3ZWZjYTNkODM2YjE0MzQ5YTQxYWYwMWVhMzZkYTIyMGZkMWVjYzk2MzgwMmU4NGQ3ZTJjZWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cOM71jtaIRGszjnyqLdQP_9Ir2u7qReInOy9jfFNndg)
Here is a screenshot of Ozone's "Timeline" view for reference:
The text was updated successfully, but these errors were encountered: