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 07:58] – [Sub parts] 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 43: | Line 45: | ||
The actual MCU module is available from several sources: | The actual MCU module is available from several sources: | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
===== 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 54: | 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. | + | The Discovery module (even if connected to a MIDIbox Core) can be used for programming. |
+ | |||
+ | {{: | ||
+ | |||
+ | 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 ==== | ||
+ | |||
+ | The following five connections should be made with DuPont cables: | ||
+ | |||
+ | * 3v3 | ||
+ | * 0V/ground | ||
+ | * DIO | ||
+ | * CLK | ||
+ | * 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.1505030303.txt.gz · Last modified: 2017/09/10 07:58 by latigid_on