C17 Fwdc (Copy Target Memory)[Icd Mini] - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

c17 fwdc
(copy target memory)
Operation
This is a dedicated command for the flash writer of the S5U1C17001H.
It loads the data stored in target board memory into the S5U1C17001H so that the data can be written to flash
memory.
Format
c17 fwdc SourceAddr Size EraseStartBlock EraseEndBlock EraseParam [ Comment ]
SourceAddr:
Target memory address from which to copy (flash on the CPU side, in decimal, hexadecimal,
or symbol)
Size:
Number of bytes to copy (decimal or hexadecimal)
EraseStartBlock: Block at which to start erasing (flash on the CPU side, in decimal or hexadecimal)
EraseEndBlock: Block at which to complete erasing (flash on the CPU side, in decimal or hexadecimal)
EraseParam:
Erase parameter
A parameter passed to the erase routine in an external routine call
Comment:
Comments to identify data/address information (may be omitted)
0 ≤ SourceAddr ≤ 0xfffffe (A0 = 0), 0 ≤ Size ≤ 0xfffffe (D0 = 0),
Conditions:
0 ≤ EraseStartBlock ≤ 0xffffffff, 0 ≤ EraseEndBlock ≤ 0xffffffff
When EraseStartBlock = EraseEndBlock = 0, all blocks in flash memory are assumed to be
erased.
0 ≤ comment size ≤ 128 bytes
Usage example
(gdb) c17 fwdc FLASH_START 0x100000 0 0 0x200000
The range of flash memory to be erased (all blocks in flash memory) is set, and 1MB of area is copied from
FLASH_START in target memory to the S5U1C17001H.
Notes
• This command cannot be used in simulator mode.
• This command can be used with the ICD Mini (S5U1C17001H). It cannot be executed normally with the
ICD board (an error message will not be displayed).
• The ICDmini flash memory can retain up to 4 MB of data.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
10 DEBUggEr
[ICD Mini]
10
Debugger
10-129

Advertisement

Table of Contents
loading

Table of Contents