Skip to content

twai_handle_tx_buffer_frame twai.c:183  #60

@liesenbergk

Description

@liesenbergk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions