![Segger Flasher ATE Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/segger/flasher-ate/flasher-ate_user-manual_1233803033.webp)
33
CHAPTER 3
Universal Flash Loader mode
3.3 Universal Flash Loader mode
As an alternative to the stand-alone mode, configured via J-Flash, there is the Universal
Flash Loader mode. While the normal stand-alone mode relies on using the debug interface
of the device, the Universal Flash Loader mode uses device or vendor specific programming
interfaces and protocols and therefore it is independent of the CPU core.
3.3.1 Preparing manually
The Universal Flash Loader uses an initialization file (*.UNI), a device specific flash pro-
gramming algorithm (*.PEX) and a data file (*.HEX, *.MOT, *.BIN or *.DAT).
3.3.1.1 Configuration
The initialization file basically is split into three parts. The first part, the section [DEVICE],
controls the generic behavior of the Universal Flash Loader. It specifies which protocol
driver and data file to use. It allows enabling and configuring target power and it defines
which actions to perform. The second part consists of one or more [BANKx] sections, which
contain information about the memories. The third part, the section [CONFIG], includes
configuration settings for the protocol driver.
An .ini file might look as follows:
[OPTIONS]
TargetPower =
"0"
ChipErase =
"0"
[TASKS]
CheckBlank =
"1"
Erase =
"1"
Program =
"1"
Verify =
"1"
Secure =
"1"
[DEVICE]
Algo =
"RL78.PEX"
Data =
"ALL_6k.mot"
Offset =
"0x00000000"
[BANK0]
; Code Flash
Base =
"0x00000000"
Size =
"0x00004000"
Sect =
"0x00000400"
[BANK1]
; Data Flash
Base =
"0x000F1000"
Size =
"0x00000800"
Sect =
"0x00000400"
[CONFIG]
BaudRate =
"1000000"
ClearConfigOnConnect =
"0x00"
Security =
"0xFF"
ShieldStart =
"0x0000"
ShieldEnd =
"0x000F"
[OPTIONS]
TargetPower
If set to a value >0, power is applied to the target. The value defines the delay (in ms)
after enabling the target power supply and before starting to communicate with the target.
Flasher ATE User Guide (UM08035)
© 2017-2018 SEGGER Microcontroller GmbH
Содержание Flasher ATE
Страница 4: ...4 Flasher ATE User Guide UM08035 2017 2018 SEGGER Microcontroller GmbH...
Страница 6: ...6 Flasher ATE User Guide UM08035 2017 2018 SEGGER Microcontroller GmbH...
Страница 20: ...20 CHAPTER 2 Setting up the IP interface Flasher ATE User Guide UM08035 2017 2018 SEGGER Microcontroller GmbH...
Страница 22: ...22 CHAPTER 2 Operating modes Flasher ATE User Guide UM08035 2017 2018 SEGGER Microcontroller GmbH...
Страница 60: ...60 CHAPTER 8 ASCII command interface Flasher ATE User Guide UM08035 2017 2018 SEGGER Microcontroller GmbH...