Mfill, Name, Synopsis – Comtrol eCos User Manual
Page 141: Arguments, Description, Examples

mfill
Name
mfill
— Fill RAM with a specified pattern
Synopsis
mfill {-b
location
} {-l
length
} {-p
value
} [-1 | -2 | -4]
Arguments
Name
Type
Description
Default
-b
location
Memory address
Location in memory for
start of data.
none
-l
length
Number
Length of data
none
-p
pattern
Number
Data value to fill with
0
-1
Access one byte (8 bits) at
a time. Only the least
significant 8 bits of the
pattern will be used.
-4
-2
Access two bytes (16 bits)
at a time. Only the least
significant 16 bits of the
pattern will be used.
-4
-4
Access one word (32 bits)
at a time.
-4
Description
Fills a range of memory with the given pattern.
Examples
Fill a buffer with zeros.
RedBoot> x -b 0x100000 -l 0x20
00100000: 00 3E 00 06 00 06 00 06
00 00 00 00 00 00 00 00
|.>..............|
00100010: 00 00 00 78 00 70 00 60
00 60 00 60 00 60 00 60
|...x.p.‘.‘.‘.‘.‘|
RedBoot> mfill -b 0x100000 -l 0x20
RedBoot> x -b 0x100000 -l 0x20
00100000: 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
|................|
37
- FreeWire (54 pages)
- DeviceMaster LT (136 pages)
- PortVision DX (155 pages)
- PRO DeviceMaster (178 pages)
- PRO DeviceMaster Rackmount Shelf Kit (3 pages)
- UP DeviceMaster User Guide (166 pages)
- UP DeviceMaster Quick Start (36 pages)
- UP DeviceMaster Installation (86 pages)
- Modbus TCP Quick Start (78 pages)
- Modbus TCP User Guide (112 pages)
- PROFINET IO (18 pages)
- UP DeviceMaster Filtering and Data Extraction (26 pages)
- 500 DeviceMaster (72 pages)
- SICK LMS (12 pages)
- IOLM 4-EIP (62 pages)
- IO-Link Master EIP-4 (114 pages)
- IOLM Modbus TCP (28 pages)
- ES7110 (14 pages)
- ES7506 (158 pages)
- ES7510 (202 pages)
- ES7510-XT (215 pages)
- ES7528 (224 pages)
- ES8105 (6 pages)
- ES8508 Series Quick Start (8 pages)
- ES8508 Series User Guide (212 pages)
- RocketLinx VLAN Web (5 pages)
- ES8509-XT (210 pages)
- ES8510 (204 pages)
- ES8510-XTE (206 pages)
- ES9528 User Guide (212 pages)
- ES9528 Quick Start (8 pages)
- MC5001 (8 pages)
- MC7001 (6 pages)
- RocketPort EXPRESS (36 pages)
- RocketPort EXPRESS SMPTE (28 pages)
- RocketPort INFINITY (32 pages)
- RocketPort Universal PCI (32 pages)
- Cable (38 pages)
- RocketPort Plus 422 Universal PCI (26 pages)
- RocketPort Plus Universal PCI (30 pages)
- VS3000U (44 pages)
- VS2000 V.34 (4 pages)
- VS1000 Configuration Guide (38 pages)
- VS1000 Installation Reference Card (13 pages)