1
0
forked from me/IronOS

New TS100 v2.51A version allows SWD over USB pins

This commit is contained in:
Paul Fertser
2020-06-09 23:32:33 +03:00
parent 18a2c0a9ec
commit d2b05570fc

View File

@@ -20,8 +20,11 @@ Officially the bootloader on the iron only works under Windows. However, users h
For the more adventurous out there, you can also load this firmware onto the device using an SWD programmer.
On the bottom of the MCU riser PCB, there are 4 pads for programming.
On the bottom of the MCU riser PCB, there are 4 pads for programming. On v2.51A PCB revision `USB_D+` is shorted to `SWDIO` and `USB_D-` is shorted to `SWCLK` so debugging works without disassembly (attach while staying in the bootloader). Installing [dapboot from eDesignOSS](https://github.com/eDesignOSS/dapboot) (`make TARGET=TS100 -C src`) is recommended as it allows reliable flashing of binary files with [dfu-util](http://dfu-util.sourceforge.net/).
There is a complete device flash backup included in this repository. (Note this includes the bootloader, so will need an SWD programmer to load onto the unit).
For the TS80 the SWD pins are used for the QC negotiation, so you can actually connect to the SWD power via the USB connector.
@@ -66,4 +69,4 @@ This will **NOT** show up as a USB storage drive, but instead show up using a st
To change to dapboot based alternative bootloader, you need to flash the hex file from [here](https://github.com/eDesignOSS/ts100-bl-flasher/releases).
`ts100-stockbl.hex` will reflash the stock bootloader, `ts100-dapboot.hex` will flash the new dapboot based usb bootloader.
Note that this is only reccomended for users who know what they doing. If you dont not understand how this works; please dont flash this.
Note that this is only reccomended for users who know what they doing. If you dont not understand how this works; please dont flash this.