Visible to Intel only — GUID: esr1487887961721
Ixiasoft
Visible to Intel only — GUID: esr1487887961721
Ixiasoft
4.11.3.3.7. flash2dat
Description
Converts an SRAM Object File (.sof) to a .flash file.
Usage
flash2dat --infile=<flash-input-filename>
--outfile=<dat-output-filename>
--width=[ 8 | 16 | 32 | 39 | 64 | 128]
--base=<base byte-address of range of interest>
--end=<last byte-address of range of interest>
--pad=<1 if all locations should be represented in output>
--create-lanes=<1 if lane files should be created>
--relocate-input=<input-data relocation offset (usually=base)>
[--little-endian-mem] [--big-endian-mem]
Example
flash2dat --infile=foo.flash --outfile=foo.dat --width=32 --base=0x1000000 \
--end=0x1000FFF --pad=1 --create-lanes=1 --relocate=0x1000000
Creates files foo.dat, foo_lane0.dat, foo_lane1.dat, foo_lane2.dat and foo_lane3.dat. foo.dat contains 4K bytes of data, padded with 0 where data was not present in the .flash file. foo_lane[0123].dat each contain 1K bytes of data from their respective byte lanes. The input .flash file data should be relocated by 0x1000000 to correspond to the specified --base address.