Flash Programmer Mode; Preparation For Using Flash Programmer Mode; Fwlp Command; Command Format - Epson S5U1C17001H2 User Manual

Table of Contents

Advertisement

6.

Flash Programmer Mode

As flash writer at main unit, flash programmer mode is an S5U1C17001H operating mode for using it as a
standalone Flash programmer. This section describes the preparation and operations for using the Flash
programmer mode.
It is not used when debugging programs.
This operation is used only when the S5U1C17001H is used as a Flash programmer without a host computer for
mass production etc.
6.1

Preparation for Using Flash Programmer Mode

The S5U1C17001H is capable of programming data such as programs saved to the internal Flash memory
directly to the target system.
First save the Flash erasing/programming program (FLS program) and user program to the S5U1C17001H
internal memory as described below.
(1) Start up the S5U1C17001H in ICD mode.
Refer to "5.2 Activation in ICD Mode."
(2) Start up the debugger.
Refer to "5.3 Starting Up the Debugger."
(3) Save the FLS program corresponding to the target system (S1C processor) or external Flash memory to
the S5U1C17001H internal memory using the debugger (gdb) "fwlp" command.
(4) Load the data to be written to the target Flash memory to the S5U1C17001H using the "fwld" command.
(5) Quit the debugger.
For details of debugger (gdb) start/end procedures and how to create saf format files, refer to the
S5U1C17001C Manual (S1C17 Family C Compiler Package) or the S5U1C33001C Manual (S1C33
Family C Compiler Package).
6.1.1

fwlp Command

The debugger (gdb) "fwlp" command is used to save FLS programs for the target system (S1C processor) or
external flash memory in the S5U1C17001H internal memory.
6.1.1.1

Command format

(gdb) S1c fwlp Filename EraseEntryAddr WriteEntryAddr [Comment]
S1c: Target processor command ("c17" or "c33")
Filename: Erasing/programming program file name (FLS program name)
EraseEntryAddr: Erase routine address
WriteEntryAddr: Write routine address
Comment: Data/address information identifier comment (can be omitted)
Enclose in double quotes if it includes spaces.
The following options (v, s, b, n, t) can be specified in the comment section only when the S1C17
processor has been selected.
-v
Function
S5U1C17001H2 User Manual
(ICDmini Ver2.0) (Rev2.0)
Flash programming voltage control option
Specifying the "-v" option within the comment section allows the flash programming
voltage to be set.
Seiko Epson Corporation
6. Flash Programmer Mode
23

Advertisement

Table of Contents
loading

Table of Contents