> For the complete documentation index, see [llms.txt](https://nxp.gitbook.io/mr-canhubk344/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nxp.gitbook.io/mr-canhubk344/hardware/connectors-and-user-i-o/programming-interface.md).

# Programming Interface

Two programming connectors are provided. The traditional Arm 10-pin JTAG/SWD and a “DCD-LZ” Dronecode Debug connector. Note also that the 10-Pin JTAG/SWD may be removed and replaced with a larger 20-pin header, giving full access to the trace debug pins.

## Location of Debug Connectors

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

## Debug Connectors

### P6 - DCD-LZ

This is a JST-GH connector from DroneCode Standard which combines the SWD and Console UART into a single connector. The -LZ version of the spec also adds an RST pin.

### P26 - Arm 10-pin JTAG/SWD

This is a 10-pin 0.50”-spacing JTAG/SWD header with the common pinout used by standard Arm debuggers. Ensure pin 1 on the PCB silkscreen is aligned with pin 1 on the debugger.

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

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://nxp.gitbook.io/mr-canhubk344/hardware/connectors-and-user-i-o/programming-interface.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
