mirror of
https://github.com/XIVN1987/DAPLink.git
synced 2026-09-27 06:26:16 +00:00
add dual VCOM support
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
## DAPLink
|
||||
DAPLink (CMSIS-DAP) based on Nuvoton M480, supports SWD and CDC.
|
||||
DAPLink (CMSIS-DAP) based on Nuvoton M480, supports SWD and CDC (1 or 2).
|
||||
|
||||
In the C/C++ page of Keil Option Window:
|
||||
* Define `DAP_FW_V1`: generate CMSIS-DAP V1 firmware, using HID transport protocol.
|
||||
* Do not define `DAP_FW_V1`: Generate CMSIS-DAP V2 firmware, using WINUSB transfer protocol.
|
||||
|
||||
### Pin map
|
||||
| FUNC | Pin |
|
||||
| :---- | :---- |
|
||||
| SWD_CLK | PA.1 |
|
||||
| SWD_DIO | PA.0 |
|
||||
| SWD_RST | PF.4 |
|
||||
| CDC_TXD | PB.1 |
|
||||
| CDC_RXD | PB.0 |
|
||||
| LED_SWD | PA.2 |
|
||||
| LED_TXD | PC.1 |
|
||||
| LED_RXD | PC.0 |
|
||||
| FUNC | Pin |
|
||||
| :---- | :---- |
|
||||
| SWD_CLK | PA.1 |
|
||||
| SWD_DIO | PA.0 |
|
||||
| SWD_RST | PF.4 |
|
||||
| CDC_TXD | PB.1 |
|
||||
| CDC_RXD | PB.0 |
|
||||
| LED_SWD | PA.2 |
|
||||
| LED_TXD | PC.1 |
|
||||
| LED_RXD | PC.0 |
|
||||
|
||||
### Optional CDC2
|
||||
| FUNC | Pin |
|
||||
| :---- | :---- |
|
||||
| CDC2_TXD | PB.3 |
|
||||
| CDC2_RXD | PB.2 |
|
||||
|
||||
Reference in New Issue
Block a user