The -serial=specs
option will store a particular
HEX value sequence at a fixed address. The usage of this option is:
-serial=Code[+/-Increment]@Address[+/-Interval][rRepetitions]
where:
Code
is a hexadecimal sequence to store. The
first byte specified is stored at the lowest address.Increment
is optional and allows the value of
Code to change by this value with each repetition (if requested).Address
is the location to store this code, or
the first repetition thereof.Interval
is optional and specifies the address
shift per repetition of this code.Repetitions
is optional and specifies the
number of times to repeat this code.All numerical arguments are assumed to be hexadecimal values, except for
the Repetitions
argument, which is decimal value by default.
For example:
-serial=000001@EFFE
will store HEX code 00001h to address EFFEh.
Another example:
-serial=0000+2@1000+10r5
will store 5 codes, beginning with value 0000 at address 1000h. Subsequent codes will appear at address intervals of +10h and the code value will change in increments of +2h.