jtag
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
jtag [2017/04/03 10:26] – [Black Magic Probe] add pinout kingkevin | jtag [2017/04/25 14:03] – [Baite] kingkevin | ||
---|---|---|---|
Line 82: | Line 82: | ||
One trick to get this ridiculously low price is to use STM32F101 micro-controllers. | One trick to get this ridiculously low price is to use STM32F101 micro-controllers. | ||
Compared to the STM32F103 micro-controllers they offer less functionalities, | Compared to the STM32F103 micro-controllers they offer less functionalities, | ||
- | Well this is because these micro-controllers use the same die, but if not all STM32F103 feature tests pass after production they get packages as STM32F101, | + | Well this is because these micro-controllers use the same die, but if not all STM32F103 feature tests pass after production they get packages as STM32F101, |
+ | At least this is my guess. | ||
+ | It would be interesting to check if the other STM32F103 peripherals normally not present on the STM32F101 work as well, but I wouldn' | ||
+ | After all, they are probably marked as STM32F101 for a good reason.\\ | ||
Similarly the STM32F103C8 is only rated having 64 kB of flash because it didn't pass the flash test, compared to the 128 kB for the STM32F103CB, | Similarly the STM32F103C8 is only rated having 64 kB of flash because it didn't pass the flash test, compared to the 128 kB for the STM32F103CB, | ||
Line 134: | Line 137: | ||
I've also reversed the board layout to get the {{: | I've also reversed the board layout to get the {{: | ||
The connector pins are all protected with 220 ohms resistors. | The connector pins are all protected with 220 ohms resistors. | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | There is a newer version marked as " | ||
+ | * all pads for the micro-controller are present (there is even solder mask between them) | ||
+ | * they added a SWD port | ||
+ | * the STM32F103C8 has been replaced with a STM32F101CB, | ||
+ | * the passives are smaller | ||
+ | * the routing is horrible | ||
===== Black Magic Probe ===== | ===== Black Magic Probe ===== | ||
Line 155: | Line 168: | ||
This has less power pins (who needs 2xGND, 2x5V, 3x3.3V anyway), but provides enough function pins to add UART (and SRST). | This has less power pins (who needs 2xGND, 2x5V, 3x3.3V anyway), but provides enough function pins to add UART (and SRST). | ||
- | To build the firmware: | + | To build the firmware |
<code bash> | <code bash> | ||
git clone https:// | git clone https:// | ||
Line 161: | Line 174: | ||
git submodule init | git submodule init | ||
git submodule update | git submodule update | ||
+ | wget -O 0001-add-new-platform-Baite-ST-Link-V2-clone.patch " | ||
+ | patch -p1 < 0001-add-new-platform-Baite-ST-Link-V2-clone.patch | ||
make | make | ||
cd src | cd src |
jtag.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1