S5U1C17001C ManUal
EPSOn
10-65
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
10.7.3 Memory Manipulation Commands
c17 fb
(fill area, in bytes)
c17 fh
(fill area, in 16 bits)
c17 fw
(fill area, in 32 bits)
[ICD Mini / SIM]
Operation
c17 fb
Rewrites specified memory area with specified byte data.
c17 fh
Rewrites specified memory area with specified 16-bit data.
c17 fw
Rewrites specified memory area with specified 32-bit data.
Format
c17 fb
StartAddr
EndAddr
Data
c17 fh
StartAddr
EndAddr
Data
c17 fw
StartAddr
EndAddr
Data
StartAddr
: Start address of area to be filled (decimal, hexadecimal, or symbol)
EndAddr
: End address of the area to be filled (decimal, hexadecimal, or symbol)
Data
:
The data to write (decimal or hexadecimal)
Conditions: 0
≤
StartAddr
≤
EndAddr
≤
0xffffff, 0
≤
Data
≤
0xff (
c17 fb
), 0
≤
Data
≤
0xffff (
c17 fh
),
0
≤
Data
≤
0xffffffff (
c17 fw
)
Usage example
n
Example 1
(gdb)
c17 fb 0x0 0xf 0x1
Start address = 0x0, End address = 0xf, Fill data = 0x1 .....done
(gdb) x /16b 0x0
(memory dump command)
0x0: 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x8: 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
The entire memory area from address 0x0 to address 0xf is rewritten with byte data 0x01.
n
Example 2
(gdb)
c17 fh 0x0 0xf 0x1
Start address = 0x0, End address = 0xe, Fill data = 0x1 .....done
(gdb) x /8h 0x0
(memory dump command)
0x0: 0x0001 0x0001 0x0001 0x0001 0x0001 0x0001 0x0001 0x0001
The entire memory area from address 0x0 to address 0xf is rewritten with 16-bit data 0x0001. (This applies to
when using little endian.)
n
Example 3
(gdb)
c17 fw 0x0 0xf 0x1
Start address = 0x0, End address = 0xc, Fill data = 0x1 .....done
(gdb) x /4w 0x0
(memory dump command)
0x0: 0x00000001 0x00000001 0x00000001 0x00000001
The entire memory area from address 0x0 to address 0xf is rewritten with 32-bit data 0x00000001. (This
applies to when using little endian.)
10
Debugger
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...