UM ISP Console Programmer EN
UM ISP Console Programmer EN
UM0006
User Manual
Introduction
This user manual gives an overview of Artery ISP Console. ISP Console is a command-line
application based on MCU Bootloader. With the help of this software, users can configure ARTERY
MCU devices through UART or USB ports.
Contents
1 Introduction ............................................................................................................ 5
2 Installation .............................................................................................................. 6
List of tables
Table 1. AT32F403 series part numbers and interface support........................................................... 7
Table 2. AT32F403 GPIO Pin Map ...................................................................................................... 7
Table 3. AT32F413 series part numbers and interface support........................................................... 7
Table 4. AT32F413 GPIO Pin Map ...................................................................................................... 8
Table 5. AT32F415 series part numbers and interface support........................................................... 8
Table 6. AT32F415 GPIO Pin Map ...................................................................................................... 8
Table 7. AT32F403A/F407 series part numbers and interface support ............................................... 9
Table 8. AT32F403A/F407 GPIO Pin Map ........................................................................................... 9
Table 9. AT32F421 series part numbers and interface support......................................................... 10
Table 10. AT32F421 GPIO Pin Map .................................................................................................. 10
Table 11. AT32F435/F437 series part numbers and interface support ............................................. 11
Table 12. AT32F435/F437 GPIO Pin Map ......................................................................................... 12
Table 13. AT32WB415 series part numbers and interface support ................................................... 12
Table 14. AT32WB415 GPIO Pin Map ............................................................................................... 12
Table 15. AT32F425 series part numbers and interface support ...................................................... 13
Table 16. AT32F425 GPIO Pin Map .................................................................................................. 13
Table 17. AT32L021 GPIO Pin Map ................................................................................................... 13
Table 18. AT32L021 GPIO Pin Map ................................................................................................... 14
Table 19 List of command line parameters ........................................................................................ 17
Table 20 List of return codes.............................................................................................................. 19
Table 21. Document revision history.................................................................................................. 21
List of figures
Figure- 1 Command line window ....................................................................................................... 15
Figure- 2 Batch file processing .......................................................................................................... 15
Figure- 3 Linux system ...................................................................................................................... 16
Figure- 4 Shell script file .................................................................................................................... 16
Figure- 5 Flow chart ........................................................................................................................... 20
1 Introduction
Environmental requirements
Software resources
Windows OS
Windows 7 and above
Linux OS
Ubuntu, Fedora
Hardware resources
Serial communication port (COM).
USB communication port.
Glossary
ISP:
ISP is the abbreviation for In-System Programming. It enables users to directly perform write or
erase operations on the chip with an ISP feature.
UART:
UART is the abbreviation for Universal Asynchronous Receiver/Transmitter. It is a serial
communication port (COM) for full-duplex asynchronous communication.
USB:
USB is the abbreviation for Universal Serial Bus. It is an external bus standard used to regulate the
connection and communication between computers and external devices.
DFU:
DFU is the abbreviation for Device Firmware Upgrade. It is a USB-based device firmware update
protocol..
2 Installation
Hardware installation
UART communication: The device must be connected to the serial communication port (COM)
on the computer.
DFU communication: The device must be connected to USB port on the computer.
AT32F413 series
Table 3. AT32F413 series part numbers and interface support
Interfaces supported
Part numbers Flash Size Pins
UART1 UART2 DFU
AT32F413RCT7 256KB LQFP64 Y Y Y
AT32F413CCT7 256KB LQFP48 Y Y Y
AT32F413KCU7-4 256KB QFN32 Y Y Y
AT32F413CCU7 256KB QFN48 Y Y Y
AT32F413RBT7 128KB LQFP64 Y Y Y
AT32F413CBT7 128KB LQFP48 Y Y Y
AT32F413KBU7-4 128KB QFN32 Y Y Y
AT32F415 series
Table 5. AT32F415 series part numbers and interface support
Interfaces supported
Part numbers Flash Size Pins
UART1 UART2 DFU
AT32F415RCT7 256KB LQFP64 Y Y Y
AT32F415RCW 256KB LQFP64 Y Y Y
AT32F415RCT7-7 256KB LQFP64 Y Y Y
AT32F415CCT7 256KB LQFP48 Y Y Y
AT32F415KCU7-4 256KB QFN32 Y Y Y
AT32F415RBT7 128KB LQFP64 Y Y Y
AT32F415RBW 128KB LQFP64 Y Y Y
AT32F415RBT7-7 128KB LQFP64 Y Y Y
AT32F415CBT7 128KB LQFP48 Y Y Y
AT32F415KBU7-4 128KB QFN32 Y Y Y
AT32F415R8T7 64KB LQFP64 Y Y Y
AT32F415R8T7-7 64KB LQFP64 Y Y Y
AT32F415C8T7 64KB LQFP48 Y Y Y
AT32F415K8U7-4 64KB QFN32 Y Y Y
AT32F415CCU7 256KB QFN48 Y Y Y
AT32F415CBU7 128KB QFN48 Y Y Y
AT32WB415 series
Table 13. AT32WB415 series part numbers and interface support
Interfaces supported
Part numbers Flash Size Pin
UART1 UART2 DFU
AT32WB415CCU7-7 256KB QFN48 N Y Y
UART1 All 无 无
AT32L021 series
Table 17. AT32L021 GPIO Pin Map
Interfaces supported
产品型号 Flash Size Pin
UART1 UART2 DFU
AT32L021C8T7 64KB 48LQFP Y Y N
AT32L021C6T7 32KB 48LQFP Y Y N
AT32L021C4T7 16KB 48LQFP Y Y N
AT32L021K8T7 64KB 32LQFP Y Y N
AT32L021K6T7 32KB 32LQFP Y Y N
AT32L021K4T7 16KB 32LQFP Y Y N
AT32L021K8U7 64KB 32QFN Y Y N
AT32L021K6U7 32KB 32QFN Y Y N
AT32L021K4U7 16KB 32QFN Y Y N
AT32L021K8U7-4 64KB 32QFN Y Y N
AT32L021K6U7-4 32KB 32QFN Y Y N
AT32L021K4U7-4 16KB 32QFN Y Y N
4 Software operation
Operating mode
4.1.1 Used in Windows
Mode 1: Input parameters on the command line
Mode 2: Batch file processing (Refer to DFU_download.bat and USART_download.bat for details on common
operations)
If OS is Windows, this is port number, e.g: 1, 2… default 1. Else this is port name,
--pn port number
e.g: ttyACM0, ttyS0.
--br baud rate E.g: 256000, 128000, 115200, 57600 ..., default 115200.
11: RTS high level to reset, DTR low level to load bootloader.
12: RTS high level to reset, DTR high level to load bootloader.
Erase flash.
--fn file_name Full path name (bin, hex or s19 file; the file type is recognized by its extension).
--a address(hex) Start address, default 0x08000000; ignored if the target file is not a binary file.
-d --fn file_name Full path name (bin, hex or s19 file; the file type is recognized by its extension).
--efap Enable flash access protection, all arguments following this one will fail .
-p
--efap1 Enable basic access protection, all options following this one will fail.
--efap2 Enable high level access protection, all options following this one will fail.
0x06 -usd --get Failed to get user system data from the device.
0x07 -usd --set Failed to write user system data to the device.
Start
When a SPIM is
nee ded
Ena ble SPIM
Era se Flash
Download
Per form
verifica tion
according to the
nee ds
Upload an d V erify
End
5 Revision history
Table 21. Document revision history
Date Revision Changes
2022/08/25 V3.03 1. Added AT32F4212C8T7.
2022/08/12 V3.02 1. Added return codes.
2022/07/06 V3.01 1. Added AT32F425 series.
2022/03/16 V3.00 1. Supports multiple platforms,inluding Windows、Linux(Ubuntu, Fedora) OS.
2022/01/26 V2.03 1. Adjustment description.
2022/01/04 V2.02 1. Added SPIM support.
2. Added access protection and advanced access protection.
2021/11/26 V2.01 1. Added AT32F403/F413/F415/F421/F403A/F407/F435/F437.
2. Added AT32F425 series.
3. Added AT32F403AVGW.
4. Added AT32WB415 series.
Artery’s products and services are provided “AS IS” and Artery provides no warranties express, implied or statutory, including, without
limitation, any implied warranties of merchantability, satisfactory quality, non-infringement, or fitness for a particular purpose with respect to
the Artery’s products and services.
Notwithstanding anything to the contrary, purchasers acquires no right, title or interest in any Artery’s products and services or any
intellectual property rights embodied therein. In no event shall Artery’s products and services provided be construed as (a) granting
purchasers, expressly or by implication, estoppel or otherwise, a license to use third party’s products and services; or (b) licensing the third
parties’ intellectual property rights; or (c) warranting the third party’s products and services and its intellectual property rights.
Purchasers hereby agrees that Artery’s products are not authorized for use as, and purchasers shall not integrate, promote, sell or
otherwise transfer any Artery’s product to any customer or end user for use as critical components in (a) any medical, life saving or life
support device or system, or (b) any safety device or system in any automotive application and mechanism (including but not limited to
automotive brake or airbag systems), or (c) any nuclear facilities, or (d) any air traffic control device, application or system, or (e) any
weapons device, application or system, or (f) any other device, application or system where it is reasonably foreseeable that failure of the
Artery’s products as used in such device, application or system would lead to death, bodily injury or catastrophic property damage.