Download TASKING VX-toolset for ARM User Guide

Transcript
TASKING VX-toolset for ARM User Guide
Connecting the board
1.
Connect any of the J-Link or ST-LINK debugger probes with the 20-pin JTAG/SWD cable to the
board. Alternatively, you can use the ST-LINK/V2 that is embedded on the board. In this case, connect
a USB cable from CN21 to a PC.
2.
(Only if a debugger probe is connected) Connect J-Link or ST-LINK to a PC with a USB cable.
3.
Power the board with the 5V DC power adapter connected to the power jack on the board.
Eclipse target board debug configuration
In order to debug in the Eclipse environment, you have to create a debug launch configuration for your
hardware configuration. This is explained in Section 11.2, Creating a Customized Debug Configuration.
Use the following settings:
Target board debug configuration Setting
Target
STMicroelectronics STM320518-EVAL
Configuration
Default
Connection
J-Link over USB (JTAG or SWD) /
ST-LINK over USB (JTAG or SWD)
Flash settings: monitor file
fstm32f051xx.sre
Flash settings: sector buffer size
4096
Flash settings: workspace address
0x20000000
12.24. Using the STMicroelectronics STM32F0 Discovery
The STM32F0 Discovery is an evaluation board for STMicroelectronics ARM Cortex-M0 core-based
STM32F051R8 microcontrollers.
Installing driver software
Before you connect ST-LINK to the board or if you want to use the ST-LINK/V2 that is embedded on the
board, first make sure you have installed the latest driver software. You can download the latest software
for ST-LINK and ST-LINK/V2 from
http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DRIVER/st-link_v2_usbdriver.zip.
312