Skip to content

Program crashes after 2-3 VAN packets with ESP32 #12

Open
@unpapardo

Description

@unpapardo

Well, pretty much what the title says. The programs starts out OK, and after 1-4 (usually 1 or 2) VAN packets it crashes with abort() and a corrupted backtrace. It can crash mid-print sometimes

14:54:06.417 -> abort() was called at PC 0x40084f1b on core 1
14:54:06.417 -> Backtrace: 0x40083851:0x3ffbeeec |<-CORRUPTED
(You can check the attachment, its all the same)

I don't really know where to start looking for

For the record, here are the board settings:
image

Arduino IDE is 2.3.2, esp32 library is 2.0.16 and VanBus library is 0.4.0
Car is a 2007 Peugeot 206, RD3 radio
ESP32 is connected via 10k resistor divider to VANH, as I dont have a MCP2551 yet. Maybe half the packets do come as CRC corrupted, but I don't think that's the issue here

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