├── .github └── workflows │ └── firmware-builds.yml ├── .gitignore ├── .gitmodules ├── Dockerfile ├── LICENSE ├── Makefile ├── Makefile.stm32f1 ├── README.md ├── contrib └── escape-bootloader.py ├── docs ├── building-dirtyjtag.md ├── img │ ├── baite-128.jpg │ ├── baite-huge.jpg │ ├── baite-pinout.jpg │ ├── baite-swd-pinout.png │ ├── bluepill-128.jpg │ ├── bluepill-boot0-boot1-flashmode.png │ ├── bluepill-flash-another-bluepill-with-jtag.jpg │ ├── bluepill-huge.jpg │ ├── bluepill-pinout.png │ ├── bluepill-pinout.svg │ ├── bluepill-stm32flash-squaredpins-nosoldering.jpg │ ├── bluepill-wrt54g-jtag.jpg │ ├── pi-pico.jpg │ ├── stlink-pinout.jpg │ ├── stlink-white-128.jpg │ ├── stlink-white-huge.jpg │ ├── stlinkv2-128.jpg │ ├── stlinkv2-header-cable.jpg │ ├── stlinkv2-huge.jpg │ ├── stlinkv2-jig-1.jpg │ ├── stlinkv2-jig-2.jpg │ ├── stlinkv2-pcb.jpg │ ├── stlinkv2-programming.png │ ├── stlinkv2-programming.svg │ ├── stlinkv2-sticker.svg │ ├── stlinkv2-teardown.gif │ ├── stlinkv2white-pinout.jpg │ ├── stm32h103-128.jpg │ ├── stm32h103-pinout.png │ ├── stm32h103-pinout.svg │ ├── stm32h103-swd-pinout.jpg │ └── wrt54g-jtag-pinout.png ├── install-baite.md ├── install-bluepill.md ├── install-stlinkv2-dfu.md ├── install-stlinkv2-swd.md ├── install-stlinkv2.md ├── install-stlinkv2white.md ├── install-stm32h103.md ├── jtag-validation.md ├── openfpgaloader-dirtyjtag.md ├── stm32f1-flash-protection.md └── urjtag-dirtyjtag.md ├── hooks ├── README.md └── post_checkout ├── ld ├── stm32f1-loader2k.ld ├── stm32f1-loader4k.ld └── stm32f1-noloader.ld └── src ├── cmd.c ├── cmd.h ├── delay.c ├── delay.h ├── dirtyjtag.c ├── jtag.c ├── jtag.h ├── usb.c └── usb.h /.github/workflows/firmware-builds.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/.github/workflows/firmware-builds.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/.gitmodules -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.stm32f1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/Makefile.stm32f1 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/README.md -------------------------------------------------------------------------------- /contrib/escape-bootloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/contrib/escape-bootloader.py -------------------------------------------------------------------------------- /docs/building-dirtyjtag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/building-dirtyjtag.md -------------------------------------------------------------------------------- /docs/img/baite-128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/baite-128.jpg -------------------------------------------------------------------------------- /docs/img/baite-huge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/baite-huge.jpg -------------------------------------------------------------------------------- /docs/img/baite-pinout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/baite-pinout.jpg -------------------------------------------------------------------------------- /docs/img/baite-swd-pinout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/baite-swd-pinout.png -------------------------------------------------------------------------------- /docs/img/bluepill-128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-128.jpg -------------------------------------------------------------------------------- /docs/img/bluepill-boot0-boot1-flashmode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-boot0-boot1-flashmode.png -------------------------------------------------------------------------------- /docs/img/bluepill-flash-another-bluepill-with-jtag.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-flash-another-bluepill-with-jtag.jpg -------------------------------------------------------------------------------- /docs/img/bluepill-huge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-huge.jpg -------------------------------------------------------------------------------- /docs/img/bluepill-pinout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-pinout.png -------------------------------------------------------------------------------- /docs/img/bluepill-pinout.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-pinout.svg -------------------------------------------------------------------------------- /docs/img/bluepill-stm32flash-squaredpins-nosoldering.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-stm32flash-squaredpins-nosoldering.jpg -------------------------------------------------------------------------------- /docs/img/bluepill-wrt54g-jtag.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/bluepill-wrt54g-jtag.jpg -------------------------------------------------------------------------------- /docs/img/pi-pico.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/pi-pico.jpg -------------------------------------------------------------------------------- /docs/img/stlink-pinout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlink-pinout.jpg -------------------------------------------------------------------------------- /docs/img/stlink-white-128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlink-white-128.jpg -------------------------------------------------------------------------------- /docs/img/stlink-white-huge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlink-white-huge.jpg -------------------------------------------------------------------------------- /docs/img/stlinkv2-128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-128.jpg -------------------------------------------------------------------------------- /docs/img/stlinkv2-header-cable.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-header-cable.jpg -------------------------------------------------------------------------------- /docs/img/stlinkv2-huge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-huge.jpg -------------------------------------------------------------------------------- /docs/img/stlinkv2-jig-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-jig-1.jpg -------------------------------------------------------------------------------- /docs/img/stlinkv2-jig-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-jig-2.jpg -------------------------------------------------------------------------------- /docs/img/stlinkv2-pcb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-pcb.jpg -------------------------------------------------------------------------------- /docs/img/stlinkv2-programming.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-programming.png -------------------------------------------------------------------------------- /docs/img/stlinkv2-programming.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-programming.svg -------------------------------------------------------------------------------- /docs/img/stlinkv2-sticker.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-sticker.svg -------------------------------------------------------------------------------- /docs/img/stlinkv2-teardown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2-teardown.gif -------------------------------------------------------------------------------- /docs/img/stlinkv2white-pinout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stlinkv2white-pinout.jpg -------------------------------------------------------------------------------- /docs/img/stm32h103-128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stm32h103-128.jpg -------------------------------------------------------------------------------- /docs/img/stm32h103-pinout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stm32h103-pinout.png -------------------------------------------------------------------------------- /docs/img/stm32h103-pinout.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stm32h103-pinout.svg -------------------------------------------------------------------------------- /docs/img/stm32h103-swd-pinout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/stm32h103-swd-pinout.jpg -------------------------------------------------------------------------------- /docs/img/wrt54g-jtag-pinout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/img/wrt54g-jtag-pinout.png -------------------------------------------------------------------------------- /docs/install-baite.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/install-baite.md -------------------------------------------------------------------------------- /docs/install-bluepill.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/install-bluepill.md -------------------------------------------------------------------------------- /docs/install-stlinkv2-dfu.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/install-stlinkv2-dfu.md -------------------------------------------------------------------------------- /docs/install-stlinkv2-swd.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/install-stlinkv2-swd.md -------------------------------------------------------------------------------- /docs/install-stlinkv2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/install-stlinkv2.md -------------------------------------------------------------------------------- /docs/install-stlinkv2white.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/install-stlinkv2white.md -------------------------------------------------------------------------------- /docs/install-stm32h103.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/install-stm32h103.md -------------------------------------------------------------------------------- /docs/jtag-validation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/jtag-validation.md -------------------------------------------------------------------------------- /docs/openfpgaloader-dirtyjtag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/openfpgaloader-dirtyjtag.md -------------------------------------------------------------------------------- /docs/stm32f1-flash-protection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/stm32f1-flash-protection.md -------------------------------------------------------------------------------- /docs/urjtag-dirtyjtag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/docs/urjtag-dirtyjtag.md -------------------------------------------------------------------------------- /hooks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/hooks/README.md -------------------------------------------------------------------------------- /hooks/post_checkout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/hooks/post_checkout -------------------------------------------------------------------------------- /ld/stm32f1-loader2k.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/ld/stm32f1-loader2k.ld -------------------------------------------------------------------------------- /ld/stm32f1-loader4k.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/ld/stm32f1-loader4k.ld -------------------------------------------------------------------------------- /ld/stm32f1-noloader.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/ld/stm32f1-noloader.ld -------------------------------------------------------------------------------- /src/cmd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/cmd.c -------------------------------------------------------------------------------- /src/cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/cmd.h -------------------------------------------------------------------------------- /src/delay.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/delay.c -------------------------------------------------------------------------------- /src/delay.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/delay.h -------------------------------------------------------------------------------- /src/dirtyjtag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/dirtyjtag.c -------------------------------------------------------------------------------- /src/jtag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/jtag.c -------------------------------------------------------------------------------- /src/jtag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/jtag.h -------------------------------------------------------------------------------- /src/usb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/usb.c -------------------------------------------------------------------------------- /src/usb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dirtyjtag/DirtyJTAG/HEAD/src/usb.h --------------------------------------------------------------------------------