g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU...

25
A-Link Series Firmware downloader User Manual Release V1.000.01

Transcript of g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU...

Page 1: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

Release V1.000.01

Page 2: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

2

A-Link Series Firmware downloader User Manual @Copyright ABOV Semiconductor Co.,Ltd. 2018. All rights reserved.

Release information

Description Issue Change

V1.000.00

November 2017

First release

V1.000.01

January 2018

Add programming precautions

Proprietary notice

The product described in this document is subject to continuous developments and

improvements. All particulars of the product and its use contained in this document are given by

ABOV Semiconductor Co.,Ltd. in good faith.

However, all warranties implied or expressed, including but not limited to implied warranties or

merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ABOV

Semiconductor Co.,Ltd. shall not be liable for any loss or damage arising from the use of any

information in this document, or any error or omission such information, any incorrect use of the

product.

Document confidentiality status

This document is Open Access. This document has no restriction on distribution.

Product status

The information in this document is Final (information on a developed product).

ABOV web address

http://www.abov.co.kr

Page 3: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

3

Contents A-Link Series Firmware downloader User Manual

Chapter 1 Getting Started 4

1.1 System requirements 5

1.2 Program overview 6

1.3 A-Link series hardware 8

Chapter 2 Setup package 9

2.1 Program download 10

2.2 Program installation 11

Chapter 3 Functions 12

3.1 Function details 13

Chapter 4 Usage 19

4.1 In System Programming 20

4.2 Make dongle to standalone programmer 21

Chapter 5 Programming precautions 22

4.1 In System Programming 23

4.2 Make dongle to standalone programmer 24

Page 4: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

4

Chapter 1 Getting Started

This chapter describes:

System requirements

Program overview

A-Link series hardware

Page 5: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

5

1.1 System requirements This section described the hardware and software system requirements.

F/W downloader run following Operating Systems.

32bit or 64bit version is not matter.

MS-Windows NT

MS-Windows 2000

MS-Windows XP

MS-Windows Vista

MS-Windows7

MS-Windows8, 8.1

MS-Windows10

PC hardware requirement is not so much.

However, PC performance affects USB communication speed.

Page 6: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

6

1.2 Program overview A-Link series Firmware Downloader helps device programming as following cases.

One is ISP(In System Programming), and the other is making field programmer.

It detects connected A-Link series dongle type automatically.

All A-Link series dongle support ISP.

Its programming speed is slow, because all data and commands are transferring by USB HID

interface.

If you want better performance ISP writer, use E-PGM+.

Specialized A-Link series support field programming function.

PC mode programming

It programs target device from PC host.

Target device is programmed with hex file and configuration data via USB interface.

USB communication using standard CMSIS-DAP commands.

F/W downloader support all A-Link series.

Page 7: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

7

Standalone mode programming

It sends programming algorithm to main controller of A-Link series hardware.

And, it send target device’s hex file and configuration data to external flash memory of A-

Link series hardware.

It makes dongle to a standalone programmer without PC.

A-Link does not support.

A-Link-Pro support.

Page 8: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

8

1.3 A-Link series hardware A-Link series adaptor is an USB CMSIS-DAP debugger and programmer (using SWD interface).

It can be used debugging adaptor for ABOV Cortex family chips and simple on board

programmer.

A-Link series include A-Link, A-Link-Pro. etc.

If you want to see more details, please refer “A-Link Series Hardware Manual”.

PC Scope A-Link series Target system

Page 9: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

9

Chapter 2 Setup package

This chapter describes:

Program download

Program installation

Page 10: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

10

2.1 Program download You can download the install program from our website (http://www.abov.co.kr).

You had better to keep newest software because we add new devices and newer features

continuously.

Setup file name include version number and generated.

For example,

Setup_FWDownloader_V1.000.00(170912).exe

- It means setup program for FW downloader.

- Its version is 1.000.00.

- It is generated 2017(Year) 09(Month) 12(Date).

Whenever you launching the F/W downloader application program, it search newer version

from our website. If it found newer version, it will notice to you.

Page 11: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

11

2.2 Program installation Executes setup program.

S/W license is not required.

Driver is not required for this software.

Page 12: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

12

Chapter 3 Functions

This chapter describes:

Function details

Page 13: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

13

3.1 Function details Display statuses

Hex file name

It shows last loaded valid hex file name.

Checksum

It shows valid hex data checksum,

Address range is target device ROM area.

Process

It shows processing name and progressing percent.

Page 14: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

14

Button functions for target device

Target device series

Select target device series.

For example A31 series or A33 series, … etc.

Target device

Select target device within selected device series.

For example, if you selected device series as “A31G…”, then you can select “A31G111”,

“A31G112”,… etc.

Page 15: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

15

Load Hex

Load hex file from disk and open configuration dialog box.

If hex file include configuration data, it will be used device configuration.

Set Conf.

Open device configuration setting dialog box.

It allows to edit configuration data.

Page 16: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

16

Button functions for PC host mode

PC host mode

It allows device programming on PC host.

It shows related buttons only.

All A-Link series support this mode.

Program

It programs target device.

Sequence is as below

- Send flash loader

- Verify flash loader

- Send hex data to program target device

- Verify target device checksum

- Send device configuration to program target device if exist.

- Verify target device configuration

Verify

It verifies target device checksum and configuration.

Sequence is as below

- Send flash loader

- Verify flash loader

- Verify target device configuration first to reduce verification time.

- Verify target device checksum

Page 17: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

17

Blank ?

It checks target device is blank or not.

Sequence is as below

- Send flash loader

- Verify flash loader

- Send hex data to program target device

- Verify target device checksum is blank or not

Show Conf.

It shows target device’s configuration.

Sequence is as below

- Send flash loader

- Verify flash loader

- Read target device’s configuration

- Open configuration dialog box to show setting, but it does not allow editing.

Show Checksum

It shows target device’s checksum.

Sequence is as below

- Send flash loader

- Verify flash loader

- Read target device’s checksum

- Open checksum dialog box to show the value.

Page 18: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

18

Button functions for standalone mode

Standalone mode

It makes dongle to support standalone mode.

It shows related buttons only.

Some specialized A-Link series dongle can support this mode.

Write F/W, FLM

It send following data.

- Dongle firmware to support standalone mode programmer.

It includes programming control algorithm for each device.

- Flash loader for target device programming.

It executed on target device’s internal RAM.

Send Hex, Conf.

It send following data.

- Hex data for target flash code memory.

- Device configuration data.

Page 19: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

19

Chapter 4 Usage

This chapter describes:

In System Programming

Make dongle to standalone programmer

Page 20: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

20

4.1 In System Programming You can program target device by PC host.

Just do as following sequence.

Select target device first.

Load hex file.

Set configurations if exist.

Connect dongle and target system then start programming.

Page 21: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

21

4.2 Make dongle to standalone programmer You can make your A-Link series dongle as a field programmer without PC.

Just do as following sequence.

Select target device first.

Load hex file.

Set configurations if exist.

Connect dongle and send flash loader F/W and hex/configuration.

Page 22: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

22

Chapter 5 Programming precautions

This chapter describes:

Precautions of various case during on board programming

Avoiding method or limitations

Page 23: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

23

5.1 Precautions PC mode and Standalone mode, A-Link, A-Link-Pro uses target system power because of it

does not include power generator and power control circuits.

Especially, A-Link-Pro standalone mode uses target system power only.

Therefore always target system is start before A-Link, A-Link-Pro booting.

Basically, SWD interface using VCC, VSS, SWCLK, SWDIO.

There are two option pin (nReset and Boot) to improve SWD interface connection.

If user code changes SWD I/O to GPIO, A-Link, A-Link-Pro could not initialize target system,

because of target system runs user code already.

Refer followings

nReset pin

We recommends to connect nReset signal between target system and A-Link, A-Link-

Pro.

If target system is connected RESET IC to nReset directly, it conflicts A-Link, A-Link-

Pro nReset control signal. In this case, disconnect RESET IC.

Boot mode pin

We recommends to connect Boot pin as boot mode.

The boot mode port controls the booting order of the target device.

Boot code sets GPIO port to SWD port as default.

Page 24: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

24

5.2 Avoiding method or limitations A-Link, A-Link-Pro does not include power control circuits.

So, you have to care as followings.

A-Link, A-Link-Pro does not support hot-plug.

Do not plug during target system is powered.

It would be damage A-Link, A-Link-Pro hardware permanently.

If target device’s read protection was set it could not be programmed at a time.

POR (Power on reset) is required at this time.

You have to retry programming at this case.

A-Link, A-Link-Pro are convenient but simple tools.

It can be used for small amount of pre-production.

But, it should not be used for mass production.

Because its protection circuit is not so strong to endure mass production.

We recommends programming tools as E-PGM+ or 3rd party programmers.

Page 25: g +0- '4+'5 +4/9#4' &190.1#&'4 5'4 #07#. /LQN 6HULHV )LUPZDUH GRZQORDGHU 8VHU 0DQXDO # .KPM 5GTKGU (KTOYCTG FQYPNQCFGT 7UGT /CPWCN #&RS\ULJKW $%29 6HPLFRQGXFWRU &R /WG $OO ULJKWV UHVHUYHG

A-Link Series Firmware downloader User Manual

25

End of document.