Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/collin80/ESP32RET
CAN Reverse engineering tool for ESP32 based boards (specifically EVTV ESP32Due)
https://github.com/collin80/ESP32RET
Last synced: 28 days ago
JSON representation
CAN Reverse engineering tool for ESP32 based boards (specifically EVTV ESP32Due)
- Host: GitHub
- URL: https://github.com/collin80/ESP32RET
- Owner: collin80
- License: mit
- Created: 2018-03-27T23:58:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T21:05:39.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T04:09:12.016Z (4 months ago)
- Language: C++
- Size: 102 KB
- Stars: 181
- Watchers: 12
- Forks: 52
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-canbus - ESP32RET - CAN Reverse engineering tool for ESP32 based boards (unmaintained). (Hardware / Espressif Systems (ESP8266, ESP32))
README
ESP32RET
=======Reverse Engineering Tool running on ESP32 based hardware. Supports both EVTV ESP32 and Macchina A0
#### Requirements:
You will need the following to be able to compile the run this project:
- [Arduino IDE](https://www.arduino.cc/en/Main/Software) Tested on 1.8.13
- [Arduino-ESP32](https://github.com/espressif/arduino-esp32) - Allows for programming the ESP32 with the Arduino IDE
- [esp32_can](https://github.com/collin80/esp32_can) - A unified CAN library that supports the built-in CAN plus MCP2515 and MCP2517FD
- [can_common](https://github.com/collin80/can_common) - Common structures and functionality for CAN librariesPLEASE NOTE: The Macchina A0 uses a WRover ESP32 module which includes PSRAM. But, do NOT use the WRover
board in the Arduino IDE nor try to enable PSRAM. Doing so causes a fatal crash bug.The EVTV board has no PSRAM anyway.
This program is larger than the default partitioning scheme. You will need to use
a larger scheme. The recommended way to do this: Tools -> Partition Scheme -> Minimal SPIFFSAll libraries belong in %USERPROFILE%\Documents\Arduino\hardware\esp32\libraries (Windows) or ~/Arduino/hardware/esp32/libraries (Linux/Mac).
The canbus is supposed to be terminated on both ends of the bus. This should not be a problem as this firmware will be used to reverse engineer existing buses. However, do note that CAN buses should have a resistance from CAN_H to CAN_L of 60 ohms. This is affected by placing a 120 ohm resistor on both sides of the bus. If the bus resistance is not fairly close to 60 ohms then you may run into trouble.
#### The firmware is a work in progress. What works:
- CAN0 / CAN1 reading and writing
- Preferences are saved and loaded
- Text console is active (configuration and CAN capture display)
- Can connect as a GVRET device with SavvyCAN
- LAWICEL support (somewhat tested. Still experimental)
- Bluetooth works to create an ELM327 compatible interface (tested with Torque app)#### What does not work:
- Digital and Analog I/O#### License:
This software is MIT licensed:
Copyright (c) 2014-2020 Collin Kidder, Michael Neuweiler
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.