-
Notifications
You must be signed in to change notification settings - Fork 0
/
c232hm-ddhsl-0.cfg
28 lines (22 loc) · 824 Bytes
/
c232hm-ddhsl-0.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# c232hm-ddhsl-0.cfg
# Source: https://github.com/0x6a77/KinetisOpenOcdConfigs/blob/master/scripts/interface/c232hm-edhsl-0.cfg
#
# OpenOCD configuration file for:
# FTDI C232HM - USB 2.0 Hi-Speed to MPSSE Cable
interface ftdi
ftdi_vid_pid 0x0403 0x6014
ftdi_device_desc C232HM-DDHSL-0
# 0x000f -> TMS, TCK, TDI, TDO
# 0x4000 -> ^LED
# 0x0010 -> GPIOL0/SRST (grey)
# 0x0020 -> GPIOL1/TRST (purple)
# 0x0040 -> GPIOL2 (white)
# 0x0080 -> GPIOL3 (blue)
ftdi_layout_init 0x0008 0x400b
ftdi_layout_signal LED -ndata 0x4000
ftdi_layout_signal GPIOL0 -data 0x0010 -oe 0x0010
ftdi_layout_signal GPIOL1 -data 0x0020 -oe 0x0020
ftdi_layout_signal GPIOL2 -data 0x0040 -oe 0x0040
ftdi_layout_signal GPIOL3 -data 0x0080 -oe 0x0080
ftdi_layout_signal nSRST -data 0x0010 -oe 0x0010
ftdi_layout_signal nTRST -data 0x0020 -oe 0x0020