wcore
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wcore [2017/09/10 17:41] – [Option 2: use a Discovery module] latigid_on | wcore [2017/09/18 06:07] (current) – [Flashing over SWD] latigid_on | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== wCoreF4 ====== | ====== wCoreF4 ====== | ||
- | |||
- | ===== Introduction ===== | ||
This is a cross-grade of the STM32F4 Core based on the [[http:// | This is a cross-grade of the STM32F4 Core based on the [[http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
==== Pros ==== | ==== Pros ==== | ||
Line 49: | Line 51: | ||
===== Burning the bootloader ===== | ===== Burning the bootloader ===== | ||
- | The MCU module has a USB port, but direct programming would only be possible with a USB-UART programmer. It would also require a different bootloader protocol. Instead, we make use of ST-LINK-like | + | The MCU module has a USB port, but direct programming would only be possible with a USB-UART programmer. It would also require a different bootloader protocol. Instead, we make use of SWD functionality. The MCU module has a typical JTAG/SWD header and these pins are also available on the two 2*25 header rows. |
+ | |||
+ | I believe that the BOOT CONFIG switch | ||
==== Option 1: ST-LINK clone ==== | ==== Option 1: ST-LINK clone ==== | ||
Line 57: | Line 61: | ||
==== Option 2: use a Discovery module ==== | ==== Option 2: use a Discovery module ==== | ||
- | The Discovery module (even if connected to a MIDIbox Core) can be used for programming. To do so, remove the two jumpers labelled ST-LINK/ | + | The Discovery module (even if connected to a MIDIbox Core) can be used for programming. To do so, remove the two CN3 jumpers labelled ST-LINK/ |
{{: | {{: | ||
+ | |||
+ | Note that pin 1 of the 6-pin SWD interface on CN2 of the Discovery board only **detects** the voltage of the target. Thus the most foolproof method of flashing is to connect a mini USB cable to the 407v board and set the power switch to USB. This ensures that the board is always powered up when programming. After the bootloader is burned in, the 407v board can be installed in the wCore PCB through the two 2*25 headers. | ||
==== Flashing over SWD ==== | ==== Flashing over SWD ==== | ||
Line 71: | Line 77: | ||
* RESET | * RESET | ||
- | {{:: | + | {{:: |
+ | //Of course, only one programmer should be connected to the 407v board!// | ||
+ | After that, [[http:// | ||
+ | If the JTAG/SWD header of the 407v board had to be removed and the MCU required re-flashing, | ||
wcore.1505065262.txt.gz · Last modified: 2017/09/10 17:41 by latigid_on