User Tools

Site Tools


wcore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wcore [2017/09/11 06:27]
latigid_on [wCoreF4]
wcore [2017/09/18 06:07] (current)
latigid_on [Flashing over SWD]
Line 52: Line 52:
  
 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. 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 should be set to SYSTEM, although I think this is more relevant for flashing through UART rather than SWD.
  
 ==== Option 1: ST-LINK clone ==== ==== Option 1: ST-LINK clone ====
Line 63: Line 65:
 {{:​wcore:​discojumpers.png?​nolink&​300|}} {{:​wcore:​discojumpers.png?​nolink&​300|}}
  
-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 and set the power switch to USB. This ensures that 407v 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.+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 75: Line 77:
   * RESET   * RESET
  
-{{::​wcore:​flashing.png?​nolink&​600|}} ​+{{::​wcore:​flashing.png?​nolink&​600|}} ​\\ 
 +//Of course, only one programmer should be connected to the 407v board!//
  
  
wcore.1505111256.txt.gz · Last modified: 2017/09/11 06:27 by latigid_on