# Hardware (Ocelot Gateway)

Ocelot is a universal CAN gateway and interceptor designed to make retrofitting of existing vehicle components like the [iBooster](https://www.evcreate.nl/installing-the-ibooster/) or Corolla EPS easier. It is also firmware-compatible with Comma.ai Panda, allowing it to be used with tools like Cabana for CAN data visualization/analysis.

Ocelot is OSHW and FOSS, giving users more power over what the device is used for and allowing for further customization for endless possibilities.

It can be obtained from the [RetroPilot Shop](https://shop.retropilot.org/product/ocelot-can-gateway/) or you can build it yourself from the [board files and BOM.](https://github.com/RetroPilot/ocelot/tree/main/hardware)

Below is the front of the board. Here, you can see the USB type C connector (used for data I/O and firmware flashing) as well as the two buttons for resetting and placing the board into DFU mode.&#x20;

<div data-full-width="true"><figure><img src="https://1912279400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaBjjuoU2oGqbcSMM67Yn%2Fuploads%2F3F0GdZm2PWfP9kYCCO1U%2Focelot_front.png?alt=media&#x26;token=e5f06e71-6b62-4d0c-b48d-327eb0e7e652" alt=""><figcaption></figcaption></figure></div>

This is the bottom of the board. Here, the labels for all connections can be seen. The board is capable of being powered via 12V using 12V and GND to power it. There is also a 12VOUT connection, which is controlled by the microcontroller and is useful as an IGN source for your ECU and can be switched on and off in [firmware](https://wiki.retropilot.org/index/hardware/ocelot/firmware). If your ECU needs CAN termination, CAN2 and CAN3 have termination resistors, which can be enabled by bridging the solder pads near the PCB labels.

<figure><img src="https://1912279400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaBjjuoU2oGqbcSMM67Yn%2Fuploads%2FTaI116tFuWYWGmGEPDUN%2Focelot_back.png?alt=media&#x26;token=1e967413-1de1-402e-a527-6ac089899005" alt=""><figcaption><p>Back of the Ocelot PCB</p></figcaption></figure>

On the other side of the PCB, there is also a SWD interface which can be used for live debugging with gdb and STM32IDE. \[todo: label the connections]

## DFU Mode

First ensure the Ocelot is connected to USB. To enter DFU, simply hold down the B (BOOT) button and tap the R (RESET) button while continuing to hold B.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.retropilot.org/index/hardware/ocelot/hardware-ocelot-gateway.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
