Program I/O Expander firmware with JTAG debugger
This topic explains how to program the I/O Expander using the JTAG interface. This operation is only required when the I/O Expander IC is blank or its firmware cannot be updated with the ioexp_fw_updater software tool.
Note Before programming via JTAG, verify that you can't program the firmware using the updater application. See I/O Expander firmware update.
Requirements
To program the I/O Expander firmware using a JTAG debugger, you need:
- A hardware debugger such as a P&E USB multilink debugger or a standalone Cyclone programmer.
- An accessible Serial Wire Debug (SWD) port to the I/O Expander on your carrier board.
- An adapter cable between the hardware debugger and the SWD port.
SWD port on ConnectCore 6UL SBC Pro
The Digi ConnectCore 6UL SBC Pro board has tag connect footprints to access the SWD port of the I/O Expander:
SWD port pinout
Pin |
Line |
Footprint |
---|---|---|
1 |
VCC |
|
2 |
SWD_DIO |
|
3 |
GND |
|
4 |
SWD_CLK |
|
5 |
VCC |
|
6 |
- |
|
7 |
- |
|
8 |
- |
|
9 |
- |
|
10 |
RESET_N |
Use the pinout as reference to create a custom cable between your debugger and the tag-connect footprint on the carrier board.