How to use ST-LINK to install firmware for GTM32
Posted: Fri Nov 20, 2015 4:48 pm
Hi guys, if you buy the printer Prusa I3 M201 with 2-in-1-out switchable hotend, then you need to check here to install the firmware.
It's quite different from the boards like GT2560, cause we have upgraded the control system, based on STM32 processor. Ok, let get start!
Install the firmware for GTM32 (REV A)
Download the firmware here:
http://www.geeetech.com/forum/viewtopic ... 20&t=17046
Note: this is the latest firmware V1.0.5, fixed some bugs. For further information please come to here:
http://www.geeetech.com/forum/viewtopic ... 20&t=17279
Note: if your board is GTM32 REV B, the one that has a normal USB port, then please come here to install the firmware:
http://www.geeetech.com/forum/viewtopic ... 20&t=17597
If your board is GTM32 pro with 3 in 1 hotend, come here to install the firmware:
http://www.geeetech.com/forum/viewtopic ... 20&t=18167
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/FM1 ... 7/PF258168 2)Install STM32 ST-LINK Utility
Unzip the software you download before and double click to install it. Click next to finish the installation.
3)Use the ST-LINK to connect GTM32 to the PC. The wirings for the ST-LINK is as the picture shows: Note: VCC for the ST LINK is 5V. And please mind the GND and VCC, wrongly connected will burn the board!
Before install the firmware, please disconnect the heatbed and heaters from the mainboard, cause all the heaters will turn on during the installation, so you might burn yourself if you didn't notice that!
Open STM32 ST-LINK Utility: ①Change the size to 0x0007FFFF ②Click "Open file", and choose the GTM32.hex file.(the firmware) ③Click "connect to the target" 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.
13:55:52 : Device ID:0x414
13:55:52 : Device flash Size : 512KBytes
④Click"full chip erase" to erase the chip first. ⑤Click "program verify", 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
Now we have finished installing the firmware for GTM32.
It's quite different from the boards like GT2560, cause we have upgraded the control system, based on STM32 processor. Ok, let get start!
Install the firmware for GTM32 (REV A)
Download the firmware here:
http://www.geeetech.com/forum/viewtopic ... 20&t=17046
Note: this is the latest firmware V1.0.5, fixed some bugs. For further information please come to here:
http://www.geeetech.com/forum/viewtopic ... 20&t=17279
Note: if your board is GTM32 REV B, the one that has a normal USB port, then please come here to install the firmware:
http://www.geeetech.com/forum/viewtopic ... 20&t=17597
If your board is GTM32 pro with 3 in 1 hotend, come here to install the firmware:
http://www.geeetech.com/forum/viewtopic ... 20&t=18167
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/FM1 ... 7/PF258168 2)Install STM32 ST-LINK Utility
Unzip the software you download before and double click to install it. Click next to finish the installation.
3)Use the ST-LINK to connect GTM32 to the PC. The wirings for the ST-LINK is as the picture shows: Note: VCC for the ST LINK is 5V. And please mind the GND and VCC, wrongly connected will burn the board!
Before install the firmware, please disconnect the heatbed and heaters from the mainboard, cause all the heaters will turn on during the installation, so you might burn yourself if you didn't notice that!
Open STM32 ST-LINK Utility: ①Change the size to 0x0007FFFF ②Click "Open file", and choose the GTM32.hex file.(the firmware) ③Click "connect to the target" 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.
13:55:52 : Device ID:0x414
13:55:52 : Device flash Size : 512KBytes
④Click"full chip erase" to erase the chip first. ⑤Click "program verify", 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
Now we have finished installing the firmware for GTM32.