c17 fle
(erase flash memory)
Operation
Erases the contents of flash memory of the target system.
Format
c17 fle ControlReg StartBlock EndBlock [ Timer ]
ControlReg: Start address set by c17 fls (decimal, hexadecimal, or symbol)
StartBlock: First block in erase range (decimal, hexadecimal, or symbol)
EndBlock: Last block in erase range (decimal, hexadecimal, or symbol)
When StartBlock = EndBlock = 0, the entire area is erased.
Timer:
Timeout value (decimal or hexadecimal)
Specify a time in second. When omitted, a timeout occur in 150 seconds.
Usage example
(gdb) c17 fle 0x200000 0 0
Control Register = 0x200000, Start block = 0x0, End block = 0x0 .....Finish with
0x00000000
The entire area of flash memory is erased.
Notes
• This command cannot be used in simulator mode.
• Before you can erase flash memory of the target system, you must have written the data write and erase
programs to the target system memory and executed the c17 fls command. If you execute the c17 fle
command with no erase programs set, an error is assumed.
• Before writing data to flash memory of the target system, always be sure to use this command to erase flash
memory.
• Some models do not allow the setting of a desired flash erasure range. For such models, make a setting for
the erasure of all blocks. To determine whether or not it is possible to set a desired flash erasure range, refer
to readme_x.txt in the fls folder (\gnu17\mcu_model\MODEL NAME\fls) for the model in
question.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
10 DEBUggEr
[ICD Mini]
10
Debugger
10-121
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?
Questions and answers