As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Difference between revisions of "CW308T-STM32F/ChipWhisperer Bootloader"

From ChipWhisperer Wiki
Jump to: navigation, search
(Created page with "The STM32Fx devices have a built-in bootloader, and the ChipWhisperer software as of 3.5.2 includes support for this bootloader. To access the bootloader you can perform these...")
 
Line 1: Line 1:
The STM32Fx devices have a built-in bootloader, and the ChipWhisperer software as of 3.5.2 includes support for this bootloader. To access the bootloader you can perform these steps:
+
The STM32Fx devices have a built-in bootloader, and the ChipWhisperer software as of 3.5.2 includes support for this bootloader.
 +
 
 +
Important notes before we begin:
 +
* You MUST setup a clock and the serial lines for the chip. This is easily done by selecting a start-up script such as the "AES SimpleSerial on XMEGA" startup script.
 +
* On the STM32F1, you MUST adjust the clock frequency to by 8MHz. The bootloader does not work with our usual 7.37 MHz clock frequency.
 +
 
 +
To access the bootloader you can perform these steps:
  
 
# Select the
 
# Select the
Line 13: Line 19:
 
# Reset the ARM device either by pressing the reset button (newer UFO boards only), or by toggling power:
 
# Reset the ARM device either by pressing the reset button (newer UFO boards only), or by toggling power:
 
#: [[File:arm_togglepower.png]]
 
#: [[File:arm_togglepower.png]]
 
Important notes:
 
# You MUST confirm a clock for the chip. This is easily done by selecting a start-up script such as the "AES SimpleSerial on XMEGA" startup script.
 
# On the STM32F1, you MUST adjust the clock frequency to by 8MHz. The bootloader does not work with our usual 7.37 MHz clock frequency.
 

Revision as of 06:03, 18 July 2017

The STM32Fx devices have a built-in bootloader, and the ChipWhisperer software as of 3.5.2 includes support for this bootloader.

Important notes before we begin:

  • You MUST setup a clock and the serial lines for the chip. This is easily done by selecting a start-up script such as the "AES SimpleSerial on XMEGA" startup script.
  • On the STM32F1, you MUST adjust the clock frequency to by 8MHz. The bootloader does not work with our usual 7.37 MHz clock frequency.

To access the bootloader you can perform these steps:

  1. Select the
    Arm programmer.png
  2. Mount a jumper between the H1/H2 pins on the UFO board:
  3. Reset the ARM device either by pressing the reset button (newer UFO boards only), or by toggling power:
    Arm togglepower.png
  4. Select the hex-file and press the "Program/Verify" button.
  5. The device should program, it may take a moment to fully program/verify on larger devices:
    Arm programmed.png
  6. Remove the jumper between the H1/H2 pins.
  7. Reset the ARM device either by pressing the reset button (newer UFO boards only), or by toggling power:
    Arm togglepower.png