/
GangFlasher-ST User Guide

GangFlasher-ST User Guide

Programming Software for STM32 MP15x MPUs

PM052A01 rev 0.010.Jan.2021

Elprotronic Inc.
35 Austin Rumble Court King City
Ontario, L7B0B2 CANADA
Web site: www.elprotronic.com
E-mail: info@elprotronic.com
Fax: 905-539-0474
Voice: 905-539-0424

Copyright © Elprotronic Inc. All rights reserved.

Disclaimer:

No part of this document may be reproduced without the prior written consent of Elprotronic Inc. The information in this document is subject to change without notice and does not represent a commitment on any part of Elprotronic Inc. While the information contained herein is assumed to be accurate, Elprotronic Inc. assumes no responsibility for any errors or omissions.
In no event shall Elprotronic Inc., its employees or authors of this document be liable for special, direct, indirect, or consequential damage, losses, costs, charges, claims, demands, claims for lost profits, fees, or expenses of any nature or kind.
The software described in this document is furnished under a license and may only be used or copied in accordance with the terms of such a license.

Disclaimer of warranties: You agree that Elprotronic Inc. has made no express warranties to You regarding the software, hardware, firmware and related documentation. The software, hardware, firmware and related documentation being provided to You "AS IS" without warranty or support of any kind. Elprotronic Inc. disclaims all warranties with regard to the software, express or implied, including, without limitation, any implied warranties of fitness for a particular purpose, merchantability, merchantable quality or non-infringement of third-party rights.

Limit of liability: In no event will Elprotronic Inc. be liable to you for any loss of use, interruption of business, or any direct, indirect, special incidental or consequential damages of any kind (including lost profits) regardless of the form of action whether in contract, tort (including negligence), strict product liability or otherwise, even if Elprotronic Inc. has been advised of the possibility of such damages.

END USER LICENSE AGREEMENT

PLEASE READ THIS DOCUMENT CAREFULLY BEFORE USING THE SOFTWARE AND THE ASSOCIATED HARDWARE. ELPROTRONIC INC. AND/OR ITS SUBSIDIARIES ("ELPROTRONIC") IS WILLING TO LICENSE THE SOFTWARE TO YOU AS AN INDIVIDUAL, THE COMPANY, OR LEGAL ENTITY THAT WILL BE USING THE SOFTWARE (REFERENCED BELOW AS "YOU" OR "YOUR") ONLY ON THE CONDITION THAT YOU AGREE TO ALL TERMS OF THIS LICENSE AGREEMENT. THIS IS A LEGAL AND ENFORCABLE CONTRACT BETWEEN YOU AND ELPROTRONIC. BY OPENING THIS PACKAGE, BREAKING THE SEAL, CLICKING "I AGREE" BUTTON OR OTHERWISE INDICATING ASSENT ELECTRONICALLY, OR LOADING THE SOFTWARE YOU AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS, CLICK ON THE "I DO NOT AGREE" BUTTON OR OTHERWISE INDICATE REFUSAL, MAKE NO FURTHER USE OF THE FULL PRODUCT AND RETURN IT WITH THE PROOF OF PURCHASE TO THE DEALER FROM WHOM IT WAS ACQUIRED WITHIN FIFTEEN (15) DAYS OF PURCHASE AND YOUR MONEY WILL BE REFUNDED.

1. License.

The software, firmware and related documentation (collectively the "Product") is the property of Elprotronic or its licensors and is protected by copyright law. While Elprotronic continues to own the Product, You will have certain rights to use the Product after Your acceptance of this license. This license governs any releases, revisions, or enhancements to the Product that Elprotronic may furnish to You.
Your rights and obligations with respect to the use of this Product are as follows:

YOU MAY:

  • A. use this Product on computers that have a valid license to do so, as sold to You by Elprotronic or its licensors;

YOU MAY NOT:

  • A. sublicense, reverse engineer, decompile, disassemble, modify, translate, make any at-tempt to discover the Source Code of the Product; or create derivative works from the Product;

  • B. redistribute, in whole or in part, any part of the software component of this Product;

 

2. Copyright

All rights, title, and copyrights in and to the Product and any copies of the Product are owned by Elprotronic. The Product is protected by copyright laws and international treaty provisions. Therefore, you must treat the Product like any other copyrighted material.

3. Limitation of liability.

In no event shall Elprotronic be liable to you for any loss of use, interruption of business, or any direct, indirect, special, incidental or consequential damages of any kind (including lost profits) regardless of the form of action whether in contract, tort (including negligence), strict product liability or otherwise, even if Elprotronic has been advised of the possibility of such damages.

4. DISCLAIMER OF WARRANTIES.

You agree that Elprotronic has made no express warranties to You regarding the software, hardware, firmware and related documentation. The software, hardware, firmware and related documentation being provided to You "AS IS" without warranty of any kind. Elprotronic disclaims all warranties with regard to the software and hardware, express or implied, including, without limitation, any implied warranties of fitness for a particular purpose, merchantability, merchantable quality or noninfringement of third-party rights.

 

Table of Figures


FIGURE 4.1: MAIN DIALOG SCREEN 5
FIGURE 4.2: THE MPU GROUP TYPE CAN BE SELECTED HERE 5
FIGURE 4.3: STARTUP SUBDIRECTORY WITH FILES FOR EACH ST EVALUATION BOARD 6
FIGURE 4.4: STARTUP SUBDIRECTORY WITH FILES FOR STM32MP157A-DK1 BOARD 6
FIGURE 4.5: USER DEFINED BOARD WITH MP15XX MPU NAME SETUP GUI7
FIGURE 4.6: USER DEFINED BOARD NAME IN THE MAIN GUI7
FIGURE 4.7: OPEN TSV FILE 8
FIGURE 4.8: READ FILES SPECIFIED IN THE TSV FILE 9
FIGURE 4.9: VIEW TSV FILE 10
FIGURE 4.10:USB PORT/HUB EMPTY ASSIGNMENT 10
FIGURE 4.11: USB PORT/HUB NUMBER ASSIGNMENT 11
FIGURE 4.12: RESULT ICONS 12
FIGURE 4.13: ACTIONS THAT CAN BE TAKEN USING THE PROGRAMMER 13
FIGURE 4.14: REPORT WINDOWS (STATUS AND ERRORS) WITH REPORT TARGET SELECTOR – TOTAL AND TARGET 1…813
FIGURE 5.1: CODE FILE DATA. THE SELECTED OPTION ON THE BOTTOM IGNORES ALL BYTES THAT HAVE THE VALUE OF 0XFF, WHICH REPRESENTS EMPTY BYTES 16
FIGURE 6.1: C17
FIGURE 6.2: PEXUSB3S44V 4-PORT PCI EXPRESS USB 3.0 CARD 18

1. Introduction


The GangFlasher-ST programmer ("the programmer") is designed to program STM32MP15x series MPU devices from ST Microelectronics. The programmer communicates with MPUs using the dedicated USB OTG communication interface used for DFU communication
The programmer package consists of WindowsTM based software available online at www.elprotronic.com (supported on Windows 10 x64).
The programmer enables communication with the target device at high speed and uses the USB 2.0 interface protocol with communication speed up to 480 Mb/s. A standard auto program procedure includes startup initialization using the DFU interface protocol followed by a switch to USB 2.0 that allows the software to program at maximum available communication speed.

The remainder of this manual will explain how to use all of the programmer's different features.

2. Features

The GangFlasher-ST Programmer is designed to program the STM32MP15x series MPU devices from ST Microelectronics.

2.1 Key Features

The key features of the programmer are:

  • Supports MP15x devices.

  • Programming speed via USB OTG with communication speed up to 480 Mb/s. Effective programming speed can vary based on hardware specifications but has been measured to be up to 37 Mbytes/s u