Open zharijs opened 3 years ago
As a markdown table:
| PIN | SWD | PIC |
|-----|-------|---------|
| 1 | VCC | VCC |
| 2 | GND | GND |
| 3 | NRST | MRST |
| 4 | SWDIO | PGD |
| 5 | SWCLK | PGC |
| 6 | RXD | RXD |
| 7 | GND/FM| GND/FM |
| 8 | TXD | TXD |
For the SWD+UART version, why didn't you add the two UART lines into the existing SWD pinout. That seems far more sensible?
Hi again.
I suggest 2 more pinouts - combination of SWD + UART + FactoryMode detection and same for PIC. They're already presented in my libs. I use these combos in my projects, so I can get debugger, console and FactoryMode detection from single connector speeding up the manufacturing process and making R&D space cleaner. FactoryMode is just GPIO with pull-up, that is pulled down by the programming clip and makes the device enter init / test sequence after boot automatically.
Here are my pinouts: PIN | SWD | PIC 1 - VCC - VCC 2 - GND - GND 3 - NRST - MRST 4 - SWDIO - PGD 5 - SWCLK - PGC 6 - RXD - RXD 7 - GND/FM -GND/FM 8 - TXD - TXD