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

bad address std::system_error #50

Open
qasidaleem opened this issue Jun 10, 2024 · 2 comments
Open

bad address std::system_error #50

qasidaleem opened this issue Jun 10, 2024 · 2 comments

Comments

@qasidaleem
Copy link

My code keeps crashing when i use this library. i even used the example code provided in this library and it still crashed.

i get this output


terminate called after throwing an instance of 'std::system_error'
  what():  Bad address
Aborted

what could be the issue?

I'm using linux 24.02

@gbmhunter
Copy link
Owner

Hmmmm, @qasidaleem the first thing that comes to mind is the device path. What is the device you are talking to, and what is it's path under /dev/? Can you connect to the serial port using a program like minicom?

@qasidaleem
Copy link
Author

Hmmmm, @qasidaleem the first thing that comes to mind is the device path. What is the device you are talking to, and what is it's path under /dev/? Can you connect to the serial port using a program like minicom?

It's dev/ttyacm0

I am able to interface with it using the Arduino ide without any hiccups

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