Skip to content

Commit 25b1708

Browse files
committed
hic_docs: add installation instructions for lpc4322 HIC
1 parent b01bc5d commit 25b1708

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

docs/hic/lpc4322.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,53 @@ Bootloader size is 64 KB
3434
| NF-RST But. | I | P2_11 | A9 |
3535
| LEDs |
3636
| LED | O | P1_1 | K2 |
37+
38+
## Installation using ROM USB DFU support
39+
40+
The LPC4322 has USB DFU support in ROM which can be leveraged with
41+
[LPCScrypt](https://www.nxp.com/design/microcontrollers-developer-resources/lpcscrypt-v2-1-2:LPCSCRYPT)
42+
to load DAPLink bootloader.
43+
44+
| Board | Label | Jumper |
45+
|------------------|----------|:------:|
46+
| LPCXpresso55S69 | DFU | J4 |
47+
| LPCXpresso55S28 | DFU | J4 |
48+
| LPCXpresso55S16 | Link2 | JP6 |
49+
| LPCXpresso55S06 | DFU | JP6 |
50+
| LPCXpresso54628 | DFU Link | JP5 |
51+
| LPCXpresso54618 | DFU Link | JP5 |
52+
| LPCXpresso54608 | DFU Link | JP5 |
53+
| LPCXpresso54114 | DFU Link | JP5 |
54+
| LPCXpresso54102 | DFU Link | JP5 |
55+
| LPCXpresso54S018 | DFU Link | JP5 |
56+
| LPCXpresso54018 | DFU Link | JP5 |
57+
| LPCXpresso43S67 | DFU Link | JP6 |
58+
| LPCXpresso43S37 | DFU Link | JP6 |
59+
| LPCXpresso18S37 | DFU Link | JP6 |
60+
| LPCXpresso4367 | DFU Link | JP6 |
61+
| LPCXpresso4337 | DFU Link | JP6 |
62+
| LPCXpresso1125 | DFU Link | JP5 |
63+
64+
Install jumper according to table above and power cycle to force into
65+
DFU boot mode. Adapt the following command to program
66+
`lpc4322_bl_crc.bin`.
67+
68+
```
69+
$ ./scripts/boot_lpcscrypt
70+
Looking for DFU devices with VID 1fc9 PID 000c ...
71+
dfu-util -d 1fc9:000c -c 1 -i 0 -t 2048 -R -D ./scripts/../bin/LPCScrypt_240.bin.hdr
72+
Booted LPCScrypt target (1fc9:000c) with ./scripts/../bin/LPCScrypt_240.bin.hdr
73+
$ ./bin/lpcscrypt querypart
74+
partID = 0xa00bcb3c 80
75+
decode = LPC4322: BankA 512KB
76+
Core Clock = 180000000
77+
$ ./bin/lpcscrypt program ${PATH_TO_BINARY}/lpc4322_bl_crc.bin BANKA
78+
..
79+
Programmed 57344 bytes to 0x1a000000 in 0.532s (105.297KB/sec)
80+
```
81+
82+
Remove the jumper and power cycle. The `MAINTENANCE` drive should
83+
appear and you can copy the interface firmware into it. If there is no
84+
specific interface firmware support for the board you can use the
85+
generic `lpc4322_if_crc.bin` interface firmware which does not offer
86+
drag and drop flash functionality.

0 commit comments

Comments
 (0)