SimonMerrett / SOICbite

A compact PCB footprint which allows SOIC test clips to be used as a space-efficient programming and debugging connector
BSD 2-Clause "Simplified" License
291 stars 26 forks source link

Suggested pinouts #22

Open zharijs opened 3 years ago

zharijs commented 3 years ago

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

DeflateAwning commented 3 weeks 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?