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/03/31 20:31] – [Baite] kingkevin | jtag [2017/04/25 14:05] – [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 108: | Line 111: | ||
{{: | {{: | ||
- | From the outside this looks very similar to the previous one, except that the connector pinout is very different (except for power).\\ | + | From the outside this looks very similar to the previous one, except that the connector pinout is very different (except for power) |
No markings are on the board. | No markings are on the board. | ||
Line 132: | Line 135: | ||
{{: | {{: | ||
- | I've also reversed the board layout to get the {{:jtag:baite_schematic.pdf|schematic}}. | + | I've also reversed the board layout to get the {{:jtag:baite.pdf|schematic}}. |
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 | ||
Line 213: | Line 228: | ||
or short RX to ground (pin 5 and 7) to force the DFU bootloader start when plugin in the dongle (in case the main application is buggy). | or short RX to ground (pin 5 and 7) to force the DFU bootloader start when plugin in the dongle (in case the main application is buggy). | ||
- | Here is the new "BMP Baite" pinout: | + | Here is the new "BMP Baite" |
^ signal ^ pin ^ pin ^ signal ^ | ^ signal ^ pin ^ pin ^ signal ^ | ||
| SRST | 1 | 2| +3.3V | | | SRST | 1 | 2| +3.3V | |
jtag.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1