Datasheet
PinD3throughD7areJTAGinterfacepins.ThesecanbeusedtoreprogramyourPhoton
bootloaderoruserfirmwareimagewithstandardJTAGtoolssuchastheST-Linkv2,J-Link,R-Link,
OLIMEXARM-USB-TINI-H,andalsotheFTDI-basedParticleJTAGProgrammer.Ifyouareshorton
availablepins,youmayalsouseSWDmodewhichrequireslessconnections.
Photon
Pin JTAG SWD
STM32F205RGY6
Pin
PØPin
# PØPinName
Default
Internal
[1]
D7 JTAG_TMS SWD/SWDIO PA13 44 MICRO_JTAG_TMS ~40kpull-up
D6 JTAG_TCK CLK/SWCLK PA14 40 MICRO_JTAG_TCK ~40kpull-down
D5 JTAG_TDI PA15 43 MICRO_JTAG_TDI ~40kpull-up
D4 JTAG_TDO PB3 41 MICRO_JTAG_TDO Floating
D3 JTAG_TRST PB4 42 MICRO_JTAG_TRSTN ~40kpull-up
3V3 Power Power
GND Ground Ground
RST Reset Reset
Notes:
[1]
DefaultstateafterresetforashortperiodoftimebeforethesepinsarerestoredtoGPIO
(ifJTAGdebuggingisnotrequired,i.e. USE_SWD_JTAG=y isnotspecifiedonthecommandline.)
Astandard20-pin0.1"shroudedmaleJTAGinterfaceconnectorshouldbewiredasfollows:
JTAGANDSWD










