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

twai_handle_tx_buffer_frame twai.c:183 #60

Open
liesenbergk opened this issue Nov 9, 2023 · 0 comments
Open

twai_handle_tx_buffer_frame twai.c:183 #60

liesenbergk opened this issue Nov 9, 2023 · 0 comments

Comments

@liesenbergk
Copy link

Hello, I am using this library fork on Wemos D1 mini. On my simulator with some 50..60 messages per second it works fine. In my car, connected to the obd2 interface I obtain with certain frequency the following message after corruption crash:

assert failed: twai_handle_tx_buffer_frame twai.c:183 (p_twai_obj->tx_msg_count >= 0)
Backtrace: 0x40083841:0x3ffbf45c |<-CORRUPTED
ELF file SHA256: 1b576722c7d4efcc
Rebooting...

In the car there are some 250..260 rx callbacks per second.

As far as I coud read it looks like as there is a bug on Espressiv's TWAI. And as far as could understand it seems that the error appears due to high traffic.

Since I use Arduino IDE my possibilities of resolution are limited.

Is there any hint to help me out with this issue?

Many thanks in advance.

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

1 participant