rusefi_documentation/Connectivity.md

27 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2022-12-30 09:33:08 -08:00
# Intro
2021-02-17 14:50:11 -08:00
rusEFI firmware currently supports two protocols for ECU monitoring & control
2021-02-17 14:50:11 -08:00
1. human-readable native protocol - connect to the ECU using HyperTerminal. This used to be protocol rusEFI console was using but not any more, we are moving towards not having text protocol enabled by default.
2022-12-30 09:33:08 -08:00
[List of commands](Dev-Console-Commands)
2022-12-30 09:33:08 -08:00
[Java console code overview](Dev-Console-Implementation)
2. binary protocol for integration with rusEFI console or [TunerStudio](http://www.tunerstudio.com/) tuning software
See [tunerstudio.cpp](https://sourceforge.net/p/rusefi/code/HEAD/tree/trunk/firmware/console/binary/tunerstudio.cpp) for a brief description of this binary protocol
For physical level rs232 is used ("serial port") - either via a FL232 chip or by emulating a USB device right within stm32f4. A bluetooth option is also available.
![FTDI IC pads](Images/ftdi.png)
[Forum thread](http://rusefi.com/forum/viewtopic.php?f=5&t=210)
## Q&A
Q: Why two protocols? can you achieve the same results using both protocols?
2022-12-30 09:33:08 -08:00
A: Not really. Our text-based protocol has support for human-readable messages and it handles our own build-in logic analyzer - it is better for troubleshooting.
The protocol has better support for engine tuning in terms of editing individual cells on fuel maps etc.
Q: Is the binary protocol compatible with MegaSquirt?
2021-02-17 14:50:11 -08:00
A: Kind of, but not really. The general protocol is the same, but the packet format is rusEFI specific. All this works based on TunerStudio packet definition flexibility.