Name
fs write — Write to filesystem
Synopsis
fs write
[-b mem_address
] [-l length
] {name}
Arguments
Name | Type | Description | Default |
---|---|---|---|
mem_address
| Number | Address of data to be written to flash. | Address of last loaded file. If not set by a load operation it must be specified. |
length
| Number | Length of data to be written. | Length of last loaded file. |
name
| String | Name of file to create. |
Description
This command is used to write data from memory to a file. If the file does not exist it will be created. If it does exist, then it will be overwritten with the new contents.
Examples
Write an area of data to a file
RedBoot>fs write -b 0x0606f000 -l 0x1000 image
RedBoot>fs ls
d--------- 128 . d--------- 128 .. ---------- 4096 image d--------- 96 tests RedBoot>
2024-03-18 | eCosPro Non-Commercial Public License |