# Connect J-Link EDU Mini to MR-CANHUBK344 with Cognipilot debugger

{% hint style="success" %}
This is an alternative connection using a Cognipilot debugger adapter.
{% endhint %}

First take the J-Link EDU Mini, you can find more information here: [WITB MR-B3RB-BMF](/mr-b3rb/archive/whats-in-the-box-pre-production-version/witb-mr-b3rb-bmf.md#j-link-edu-mini-debugger)<br>

<figure><img src="/files/xPyP5aEsFBN6JcY9QKpR" alt="" width="188"><figcaption></figcaption></figure>

<figure><img src="/files/kSMYrnhrQrRoTrDnOb5z" alt="" width="188"><figcaption></figcaption></figure>

Then, get the J-Link EDU Mini. Then, use the cable with a micro-USB connector on one end and a USB Type-A connector on the other end.

<figure><img src="/files/ledwTSf3wms9KdkQziYl" alt=""><figcaption></figcaption></figure>

Then take the [10-Pin 2x5 Socket-Socket IDC (SWD) Ribbon Cable](https://www.adafruit.com/product/1675) and connect it to the J-Link EDU mini:

<figure><img src="/files/fXxjqkgsh7qT3xqso9eA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/X0zykQFYdJ1bm3LEDj0y" alt=""><figcaption></figcaption></figure>

Please, connect the 10-Pin 2x5 Socket-Socket IDC (SWD) Ribbon cable in the following position to the J-Link EDU Mini:<br>

<figure><img src="/files/JvSXegPQznlgGE8CDJ7f" alt=""><figcaption></figcaption></figure>

Next, please pick up the Cognipilot debug adapter:&#x20;

<figure><img src="/files/9SIVl2822YXQLznfBwVP" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/xd8RFepd9NorAQcMKzOx" alt="" width="375"><figcaption><p> 7 position JST-GH connector</p></figcaption></figure>

<figure><img src="/files/XgQXu6lyDUW77GOIpvQ8" alt="" width="375"><figcaption><p>A close view on how to connect the 7 position JST-GH connector to the debugger</p></figcaption></figure>

Next, connect one end of the 10-pin 2x5 Socket-Socket IDC (SWD) ribbon cable to the connector on the Cognipilot debugger. Ensure that the orientation of the connector corresponds to the one shown in the following image:&#x20;

<figure><img src="/files/CcPc405CmhpP5gbvIFSa" alt="" width="375"><figcaption></figcaption></figure>

Finally, connect the other end of the 7 position JST-GH connector to the MR-CANHUBK344. Please, connect it into the pin showed in the following image:

<figure><img src="/files/HVrTefrGc0u2N3p8Oepl" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/wnYzHTZ1nPUZzg9Xqr2s" alt="" width="375"><figcaption></figcaption></figure>

Now, you just need to connectConnect the USB cable to your development computer and also remember to connect power to the Buggy (the LiPo battery to the PDB) in order to flash the MR-CANHUBK344, as the board needs to be connected to the power. Then, you can return here to follow the instructions: .\
\
\
[CogniPilot: Prepare MR-CANHUBK344 for programming](/mr-b3rb/software/mr-b3rb-software-developer-guide/cognipilot-prepare-mr-canhubk344-for-programming.md#prepare-mr-canhubk344-real-time-vehicle-controller)

\
Connect the MR-Link-MR to the 7 position JST-GH programing connector to the MR-CANHUBK344. Please, connect it as shown in the following image:<br>

<figure><img src="/files/HVrTefrGc0u2N3p8Oepl" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/wnYzHTZ1nPUZzg9Xqr2s" alt="" width="375"><figcaption></figcaption></figure>

Now, you just need to connect the USB cable to your development computer and also remember to connect the LiPo battery to the PDB to flash the MR-CANHUBK344, as the board needs to be connected to the power. Then, you can return here to follow the instructions: [CogniPilot: Prepare MR-CANHUBK344 for programming](/mr-b3rb/software/mr-b3rb-software-developer-guide/cognipilot-prepare-mr-canhubk344-for-programming.md#prepare-mr-canhubk344-real-time-vehicle-controller)


---

# 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://nxp.gitbook.io/mr-b3rb/software/mr-b3rb-software-developer-guide/cognipilot-prepare-mr-canhubk344-for-programming/connect-j-link-edu-mini-to-mr-canhubk344-with-cognipilot-debugger.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.
