OLIMEX© 2014
STM32-P407 user's manual
CHAPTER 2 SETTING UP THE STM32-P407 BOARD
2. Introduction to the chapter
This section helps you set up the STM32-P407 development board for the first time.
Please consider first the electrostatic warning to avoid damaging the board, then discover the
hardware and software required to operate the board.
The procedure to power up the board is given, and a description of the default board behavior is
detailed.
2.1 Electrostatic warning
STM32-P407 is shipped in a protective anti-static package. The board must not be exposed to high
electrostatic potentials. A grounding strap or similar protective device should be worn when
handling the board. Avoid touching the component pins or any other metallic element.
2.2 Requirements
In order to set up the STM32-P407, the following items are required:
- 5 Vdc power supply (or JTAG or SWD, or 5V TRACE, or 5V CAN, or 5V_USB, depending on
PWR_SEL jumper position)
- SWD interface programmer
Note 1: additionally, the board can be programmed via JTAG interface but there are signals
multiplexed with the LCD and the audio, so if using JTAG interface for programming you might
need to implement a software mechanism to stop them or you might not be able to reprogram again.
Note 2: the board can also be programmed via the USART (RS232_1) connector using the built-it
bootloader application (without the need of third-party tool). This way of programming/debugging
is slow but my provide a better/cheaper solution in certain cases. The configuration is explained in
the RS232 chapter (6.10) of the manual.
You may use a pair of the following devices for this purpose:
- ARM-JTAG-COOCOX programmer/debuuger which has both JTAG and SWD interfaces and
works natively with CooCox IDE, and Keil uVision and IAR EW via plugin
- Any of Olimex’s ARM-JTAG programmer/debugger (keeping in mind the note above)
- Any of Olimex's ARM-JTAG programmer/de ARM-JTAG-SWD + Rowley CrossWorks
Also, a host-based software toolchain is required in order to program/debug the STM32-P407
board. There are also a number of ready IDEs available like CooCox IDE, IAR Embedded
Page 7 of 32