gtm32测试指导手册 · web viewbefore installing the firmware, you need to install stm32...

15
深深深深深深深深深深深 GEEETECH How to install firmware for GTM32 www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Upload: ledieu

Post on 10-Apr-2018

252 views

Category:

Documents


10 download

TRANSCRIPT

Page 1: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

深圳市捷泰技术有限公司GEEETECH

How to install firmware for GTM32

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 2: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

1

深圳市捷泰技术有限公司GEEETECH

Install the firmware

1) Before installing the firmware, you need to install STM32 ST-LINK

Utility. Please note that this software can only run in windows OS.

You can download it here:http://www.st.com/web/catalog/tools/FM147/SC1887/PF258168

2) Install STM32 ST-LINK Utility

Unzip the software you download before and double click to install

it.

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 3: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

2

1

深圳市捷泰技术有限公司GEEETECH

Click next to finish the installation.

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 4: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

3

2

深圳市捷泰技术有限公司GEEETECH

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 5: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

4

3

深圳市捷泰技术有限公司GEEETECH

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 6: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

5

4

深圳市捷泰技术有限公司GEEETECH

3) Use the ST-LINK to connect GTM32 to the PC. The wirings for the

ST-LINK is as the picture shows:

ST-LINK GTM32+5V VCC

SWDIO SWDIO

SWCLK SWCLK

GND GND

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 7: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

6

5

深圳市捷泰技术有限公司GEEETECH

Note: VCC for the ST LINK is 5V. And please mind the GND and

VCC, wrongly connected will burn the board!

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 8: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

7

6

深圳市捷泰技术有限公司GEEETECH

Open STM32 ST-LINK Utility:

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 9: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

8

7

深圳市捷泰技术有限公司GEEETECH

①Change the size to 0x0007FFFF

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 10: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

9

8

深圳市捷泰技术有限公司GEEETECH

②Click , and choose the GTM32.hex file.(the firmware)

③Click to connect to the board. If succeeded, you can get those

codes:13:55:52 : ST-LINK SN : 48FF71064977554859362387

13:55:52 : ST-LINK Firmware version : V2J17S4 (Need Update)

13:55:52 : Connected via SWD.

13:55:52 : Connection mode : Normal.

13:55:52 : Debug in Low Power mode enabled.

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 11: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

10

9

深圳市捷泰技术有限公司GEEETECH

13:55:52 : Device ID:0x414

13:55:52 : Device flash Size : 512KBytes

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 12: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

11

10

深圳市捷泰技术有限公司GEEETECH

Click④ to erase the chip first.

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 13: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

12

11

深圳市捷泰技术有限公司GEEETECH

Click⑤ , click start button in the pop-up window to install the

firmware:

When finish you can see the codes here:14:00:11 : Flash memory programmed in 12s and 137ms.

14:00:11 : Verification...OK

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858

Page 14: GTM32测试指导手册 · Web viewBefore installing the firmware, you need to install STM32 ST-LINK Utility. Please note that this software can only run in windows OS

13

12

深圳市捷泰技术有限公司GEEETECH

Now we have finished installing the firmware for GTM32.

www.geeetech.comTel: +86 755 2658 4110Fax: +86 755 2658 4074 -858