본문 바로가기
프로그래밍/STM32F Tutorial

STM32F4 Discovery 보드 구하기

by choies1 2015. 1. 10.

ST Micro에서 STM32F4 칩을 이용한 보드 아래 링크에서 처럼 는 다양하게 존재한다.

http://www.st.com/web/catalog/tools/FM116/SC959/SS1532

아래는 각 보드별 설명이다.

ST's tools for evaluation of the STM32, range from highly affordable community enabled tools up to fully equipped boards, ready for evaluation of every single feature of the selected MCU. All ST evaluation boards include an ST-LINK/V2 in-circuit debugger/programmer.

STM32 Nucleo boards follow a lean approach and are ideal for prototyping and community usage. An Arduino™connector and the ST Morpho connector make an extension with application related add-on hardware easy. All I/Os of the MCU are easily accessible, the boards come with a HAL library and work with IAR, Keil, CCC based IDEs as well as the mbed™ online IDE.

STM32 Discovery kits are a cheap and complete approach for evaluation of the outstanding capabilities of STM32 MCUs. They carry the necessary components, like MEMS microphones, sensors, LCD displays) for demonstration of specific device features. Evaluation and prototyping are facilitated by a HAL library and software examples, IAR, Keil and CCC based IDEs are supported.

STM32 Eval boards, the high end evaluation platform, carry all the required external hardware necessary for using the complete features set of an STM32 Microcontroller. STM32 Eval boards give access to all the pins of the contained microcontroller, even for bigger packages. The HAL library and ready-to-use software examples make application design very easy.

This comprehensive portfolio of evaluation boards is complemented by a wide choice of STM32 evaluation boards developed by ST’s partners.

[필요 장치 구매]

위 링크의 보드 중에서 값싸고 다양한 테스트를 해볼 수 있으며 현재 쉽게 구할 수 있는 STM32F4 Discovery 보드를 구매했다. 이 보드에는 Debug 장치가 포함되어 있어서 따로 Debug 장치를 구매하 필요가 없다.

이 글을 쓰고 있는 현재 약 2만원 정도에 판매한다. ( http://www.eleparts.co.kr/EPX7X4VW )

아래는 필요한 보드와 케이블이다.

1. STM32F4 Discovery 보드: 가속도 센서, Audio DAC, MEMS MIC, Headphone Jack, OTG connector 내장

2. Mini USB Cable: STM32F4 Discovery 보드에 전원을 공급하고 Debug하기 위해서 필요함

3. FT232 USB UART Board (Type A) : PC와 Serial 통신하기 위해서 필요함

4. 커넥터 케이블: FT232 USB UART Board와 STM32F4 Discovery 보드를 연결하기 위한 커넥터 케이블

5. Micro USB Host OTG Cable: 휴대폰에 USB 메모리를 연결할 수 있는 Cable로 여기서는 USB Host 장치 실험에 필요함


아래는 위의 실제로 연결한 사진이다.


[필요 Driver 및 Tool 설치]

이제 STM32F4 Discovery 보드를 PC에서 사용하기 위해서 몇몇 S/W를 설치해야 된다.

T-LINK가 내장되어 있는데, 이것을 위한 Driver와 응용 프로그램을 설치해야 된다.

 1. ST-LINK 관련 사이트에 접속

2. Relate Tool과 S/W를 다운로드 받고 설치한다.

    • ST-LINK/V2 USB Driver
    • STM32 ST-LINK utility

Related Tools and Software

Part Number Description
STSW-LINK003 ST-LINK/V2 USB driver for Windows 7, Vista and XP
STSW-LINK004 STM32 ST-LINK utility
STSW-LINK005 ST-LINK/V2 firmware upgrade
STSW-LINK006 ST-LINK/V2 USB driver for Windows 8

3. ST-LINK/V2 Firmware upgrade 방법

    • STM32 ST-LINK Utility를 실행
    • STM32F4 Discovery 보드에서 Mini USB 케이블을 분리 후 다시 연결
    • STM32 ST-LINK Utility 프로그램에서 ST-LINK -> Firmware update 클릭
    • Device Connect 버튼 클릭
    • 현재 버전과 Upgrade 버전을 비교하여 차이가 있으면 Yes를 눌러서 upgrade 한다.

* 아래 사이트를 참고하면 위의 과정이 좀 더 자세하게 설명되어 있다.

http://www.jkelec.co.kr/img/arm/cortex-m3/rabbit_stm32_lqfp64/st_link_manual.html