Add support for the more efficient ElmüSoft Candlelight Protocol
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- networking
Línea de trabajo
Comienza con la descripción detallada del proyecto enlazada y la demostración en Python del ElmüSoft Candlelight 2.5 firmware repository para comprender el protocolo y la funcionalidad requerida. Después, revisa el soporte existente de Candlelight en python-can y determina los puntos de entrada de integración. Se considera completado cuando python-can admita las funciones de transferencia USB y feedback del nuevo protocolo sin perder la compatibilidad heredada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello
The legacy Candlelight protocol from Geschwister Schneider has not been designed very well.
It has several design errors.
The transfer over USB is far from optimal. For each CAN FD packet 80 bytes are transferred over USB no matter how many data bytes the CAN packet has.
There is no useful error feedback and there is no feedback if a Tx packet has been acknowledged on CAN bus.
The legacy Candlelight protocol only sends a FAKE echo back to the host computer, even if the Tx packet has never been sent to CAN bus.
You have a big problem to find out WHY CAN bus does not work without a useful feedback.
Therefore I designed the new ElmüSoft Candlelight 2.5 protocol with lots of improvements, lots of new features and the maximum USB transfer speed that is possible.
I wrote a Python demo application that contains ready-to-use classes that can be copied and pasted into any Python project. They could also be integrated into python-can.
The firmware runs on several CAN bus adapters with STM32G431, STM32G473 and STM32G0B1 processors.
The Python classes were tested on Windows where they use WinUSB and on Linux where they use libusb.
Here you find a detailed description of the entire project:
https://netcult.ch/elmue/CANable%20Firmware%20Update/
The sourcecode is on Github:
https://github.com/Elmue/CANable-2.5-firmware-Slcan-and-Candlelight
The Python demo shows all the functionality of the new firmware:
And here a snippet of my manual with comparison between legacy and ElmüSoft Candlelight protocol in my firmware:
- Lenguaje dominante
- Python
- Estrellas
- 1.6k
- Forks
- 697
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hardbyte/python-can
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
hardbyte/python-can#2077 · 1 comentario · 1 reacción ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
hardbyte/python-can#1922 · 1 reacción ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
hardbyte/python-can#2092 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
hardbyte/python-can#2091 ·
-
`BitTiming.from_sample_point` rejects valid timing solutions due to hardcoded register limits Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
hardbyte/python-can#2083 ·
Todos los issues de hardbyte/python-can
Issues similares
-
triage/confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
apache/cloudstack#14222 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100