M17-Project / TR-9

TR-9 - M17 protocol compatible handheld - schematics, PCB design files, BOM.
https://m17project.org/
GNU General Public License v2.0
164 stars 20 forks source link

Unify SWD header on TR-9 with HMI #7

Open tkuester opened 4 years ago

tkuester commented 4 years ago

As of 9ac1f05, the HMI board and the TR-9 share a different header layout for the SWD interface. Per a conversation with @sp5wwp, it would be nice to unify the headers to a common standard.

Headers on the TR-9 Mainboard

Headers on the HMI Board

Some considerations I think are important:

sp5wwp commented 3 years ago
tkuester commented 3 years ago

I have a proposal for the SWD connector.

Programmers like this are relatively cheap and easy to come by. (~$6 USD) Do you think we could use the header for this?

Alternatively, I have an STM32 Nucleo-64 development board on my desk, and the pin order is:

1 - VDD_TARGET 2 - SWCLK 3 - GND 4 - SWDIO 5 - nRST

I'm still new to the STM32 platform, I'm just looking for "standards" that are pre-existing.

sp5wwp commented 3 years ago

We can use that mapping. Also: it is not necessary to use VDD_TARGET line.