
Emcraft Systems
Configuring for stm-som board...
[psl@pvr u-boot]$ make -s
5.7. U-Boot Installation
The Emcraft Systems STM32F4 SOM board arrives with the U-Boot firmware pre-installed
into the on-chip Flash of the STM32F4. The U-Boot command line interface provides
commands that allow upgrading U-Boot on the running target in self-upgrade mode.
However, should you program a faulty U-Boot image into STM32F4, U-Boot can be re-
installed using an ST-LINK programmer device (not included in the kit) and the
STMicroelectronics ST-LINK/V2 software. Please follow the procedure described below:
1.
On the Windows development host download and install the ST-LINK/V2 software from
the web site (
Design Support
in
http://www.st.com/internet/evalboard/product/251168.jsp
). The following software and
documents are required:
2.
Driver:
ST-LINK/V2 USB driver for Windows 7, Vista and XP
;
3.
ST-LINK utility:
STM32 ST-LINK utility
;
4.
ST-LINK User Manual:
UM0892: STM32 ST-LINK Utility
.
5.
Connect an ST-LINK programmer device to the Windows development host over the USB
cable and to the SOM-BSB-EXT board over the flat ribbon cable;
6.
Power on the SOM-BSB-EXT board by attaching the mini-USB cable to the mini-USB
connector P1. On the PC side, the USB link provides a serial console device to the board
(
/dev/ttyUSB
n on Linux,
COM
n on Windows).;
7.
On the Windows development host run the ST-LINK utility:
a)
Connect to the target the
Target
->
Connect
menu;
b)
Open the
Target -> Option Bytes...
menu and select the
WDG_SW
,
nRST_STDBY
and
nRST_STOP
check-boxes, if not already selected;
c)
Program the SOM-BSB-EXT board as described in Section 3.4, "Device Programming"
of the
ST-LINK Utility User Manual
. File to program is
u-boot.bin
, the start address
is the default 0x08000000;
8.
Run a terminal program (e.g.
HyperTerminal
on Windows, or
kermit
on Linux) and
create a serial connection to the SOM-BSB-EXT board with the following COM-port
settings:
115200 8N1
. The terminal device ;
9.
Reset the SOM-BSB-EXT board and see the U-Boot start-up banner in the terminal
program.
6. Further Materials
Refer to
Emcraft Systems STM32F4 SOM (System-On-Module) Hardware Architecture
for
detailed information on the hardware architecture of the Emcraft Systems STM32F4 SOM
board.
Refer to
Emcraft Systems SOM-BSB-EXT Baseboard Hardware Architecture
for detailed
information on the hardware architecture of the Emcraft Systems SOM-BSB-EXT baseboard.
Refer to Linux
Cortex-M User's Manual
for detailed information on the software architecture
of the Linux STM32F4 distribution.
Visit Emcraft Systems' web site at
to obtain additional materials related to
Linux STM32F4.
Emcraft Systems STM32F4 SOM Starter Kit Guide
11/12
Release 1.12.0