Flash Memory Manipulation Commands; C17 Fls (Set Flash 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

10 DEBUggEr

10.7.12 flash Memory Manipulation Commands

c17 fls
(set flash memory)
Operation
Sets up flash memory of the target system as required to write data to it.
Format
c17 fls StartAddr EndAddr ErasePrg WritePrg
StartAddr: Start address of flash memory (decimal, hexadecimal, or symbol)
EndAddr:
End address of flash memory (decimal, hexadecimal, or symbol)
ErasePrg: Start address of erase program (decimal, hexadecimal, or symbol)
WritePrg:
Start address of write program (decimal, hexadecimal, or symbol)
Conditions: 0 ≤ StartAddr ≤ EndAddr ≤ 0xffffff, 0 ≤ ErasePrg ≤ 0xffffff, 0 ≤ WritePrg ≤ 0xffffff
Usage example
(gdb) c17 fls 0x200000 0x2fffff FLASH_ERASE FLASH_LOAD
Flash start address = 0x200000, Flash end address = 0x2fffff
Flash erase routine address = 0x100, Flash write routine address = 0x200 .....done
The flash memory area in the target system (0x200000 to 0x2fffff), and addresses of the erase and write
routines are set.
Notes
• This command cannot be used in simulator mode.
• Before you can erase flash memory of the target system or write data to flash memory, you must have written
the data write and erase programs to the specified address locations.
10-120
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
[ICD Mini]
S5U1C17001C ManUal

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Table of Contents