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

cargo embed rtt BinaryLE channel does not work properly #2396

Open
ruabmbua opened this issue Apr 21, 2024 · 1 comment
Open

cargo embed rtt BinaryLE channel does not work properly #2396

ruabmbua opened this issue Apr 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ruabmbua
Copy link
Contributor

Describe the bug

It seems like the socket feature does not work properly when setting up a RTT channel in the BinaryLE format. According to wireshark, it does not even attempt to establish a connection. The String format works fine.

Also, for me the cargo-embed console display of BinaryLE RTT data is not line wrapped. For reference, I am sending 8 byte messages in one call to the rtt_target UpChannel.

To Reproduce
Steps to reproduce the behavior:

  1. Configure UpChannel 1 with NoBlockSkip on both ends, and set socket to localhost + some port, then listen on it with e.g. netcat.
    2.) Run cargo-embed in a project that sends 8byte messages as rtt data on channel 1.

Expected behavior
You will see that there is no attempt at connecting the socket. Also the cargo-embed interface for channel 1 will not line-wrap the binary data.

Desktop (please complete the following)

  • OS: Linux (Arch)
  • Target: RPI Pico (RP2040)
  • Debugger: Raspberry PI debug probe
  • probe-rs version: master (0.23)
@ruabmbua ruabmbua added the bug Something isn't working label Apr 21, 2024
@bugadani
Copy link
Contributor

Both of these issues were supposed to be fixed by #2249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants