Skip to content

Commit b462003

Browse files
mbrossardmathias-arm
authored andcommitted
lpc55xx_hic: Add documentation for MCU-LINK and MCU-LINK-PRO support
1 parent d0890af commit b462003

File tree

1 file changed

+47
-4
lines changed

1 file changed

+47
-4
lines changed

docs/hic/lpc55xx.md

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,60 @@ Reference design is based on [MCU-Link](https://www.nxp.com/design/development-b
3131
| SWDIO / TMS | I/O | PIO0_2 | 52 |
3232
| SWO / TDO | I | PIO0_3 | 53 |
3333
| TDI | O | PIO0_1 | 2 |
34-
| nRESET | O | PIO0_19 | 58 |
34+
| nRESET | I/O | PIO0_19 | 58 |
3535
| GNDDetect | I | PIO0_22 | 50 |
3636
| UART |
3737
| UART RX | I | PIO0_24 | 45 |
3838
| UART TX | O | PIO0_25 | 51 |
39-
| Button |
40-
| NF-RST But. | I | PIO0_18 | 38 |
41-
| F-RST But. | I | PIO1_27 | 18 |
4239
| LEDs |
4340
| Con. LED | O | PIO0_5 | 56 |
4441

4542
Additional pins are used to drive external circuitry:
4643
- SWDIO TX Enable (PIO0_28, pin 44)
4744
- nRESET Output Enable (PIO0_13, pin 46)
45+
46+
## MCU-LINK and MCU-LINK-PRO support
47+
48+
The `lpc55s69_mculink_bl` and `lpc55s69_mculink_if` images support both
49+
MCU-LINK and MCU-LINK-PRO boards. Installation of the bootloader can be
50+
done by putting the board in firmware update mode and using the NXP
51+
`blhost` tool:
52+
53+
```
54+
$ blhost --usb 0x1fc9,0x0021 flash-image lpc55s69_mculink_bl_crc.hex erase
55+
```
56+
57+
### MCU-LINK "Buttoms"
58+
59+
The MCU-LINK does not have amy buttons, but both board have "Disable VCOM"
60+
and "Disable SWD" respectively mapped to non-forwarding reset and
61+
forwarding reset functionality in DAPLink.
62+
63+
| Signal | I/O | Symbol | Pin |
64+
|-------------|:---:|---------|:---:|
65+
| Button |
66+
| NF-RST But. | I | PIO0_18 | 38 |
67+
| F-RST But. | I | PIO0_27 | 18 |
68+
69+
### MCU-LINK-PRO detection and LEDs
70+
71+
The [MCU-LINK-PRO](https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-pro-debug-probe:MCU-LINK-PRO)
72+
defines board type detection using `HW_VER_4` and `HW_VER_3`. When
73+
`HW_VER_4` and `HW_VER_3` are respectively low and high, we determine that
74+
the board is a MCU-LINK-PRO, otherwise we assume the board is a MCU-LINK.
75+
MCU-LINK only has one red activity LED. MCU-LINK-PRO has 7 LEDs (1 red
76+
and 6 green), 5 are currently used by DAPLink (see table below).
77+
78+
| Signal | I/O | Symbol |
79+
|---------------|:---:|---------|
80+
| Detection |
81+
| HW_VER_4 | I | PIO1_5 |
82+
| HW_VER_3 | I | PIO1_4 |
83+
| LEDs |
84+
| Con. LED (r) | O | PIO0_5 |
85+
| Run. LED (g) | O | PIO1_17 |
86+
| HID LED (g) | O | PIO1_13 |
87+
| CDC LED (g) | O | PIO1_18 |
88+
| MSC LED (g) | O | PIO1_15 |
89+
| N/A LED 1 (g) | O | PIO1_12 |
90+
| N/A LED 2 (g) | O | PIO1_12 |

0 commit comments

Comments
 (0)