Skip to content

Using Candle.dll means to use a buggy library. #1

@Elmue

Description

@Elmue

This project is based on the Candle.dll
But this DLL is programmed wrongly.

Candle.dll uses WinUSB the wrong way.
WinUSB is a critical library which was not designed very intelligently by Microsoft.
Using WinUSB is more difficult than it seems on the first look.
The differences between WinUSB and other Microsoft libraries are not documented by Microsoft.
And if you do not read the USB packets in the exactly correct way you get data corruption or missing packets.

The developer of Candle.dll did it wrong and the result is that you get CAN packets in the wrong order when there is much CAN bus traffic.
So do not use this library!

I wrote a new CANable 2.5 firmware that optimizes USB throughput to the maximum and I provide a correctly working WinUSB implementation.
Please read the detailed manual.

https://github.com/Elmue/CANable-2.5-firmware-Slcan-and-Candlelight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions