5.8.5.3 XC-DSC Linker - Fill Flash Memory
| Option | Description | Command Line |
|---|---|---|
| Which areas to fill | Specify which area of Flash memory to
fill. No Fill - None (default). Fill All Unused - Fill all unused memory. Provide Range to fill - Fill a range of memory. Enter a range under “Memory Address Range.” | |
| How to fill it | Specify how to fill Flash memory. Provide sequence of values - Provide a sequence under the Sequence option. Constant or incrementing value - Provide either:
| |
| Sequence | When Provide sequence of values
is selected, enter a sequence. The form is n1, n2,
... where n1 uses C syntax.
Example: 0x10, 25, 0x3F, 16. | --fill=sequence |
| Constant | When Constant or incrementing
value is selected, enter a constant. Specify the constant using
C syntax (e.g., 0x for hex, 0 for
octal).
Example: 0x10 is the same as 020 or 16. | --fill=constant |
| Increment/Decrement | When Constant or incrementing
value is selected, you may select to increment or decrement the
initial value of “Constant” on each consecutive address. No Incrementing - Do not change constant value. Increment Const - Increment the constant value by the amount specified under the option “Increment/Decrement Constant.” Decrement Const - Decrement the constant value by the amount specified under the option “Increment/Decrement Constant.” | |
| Increment/Decrement Constant | When Increment Const or
Decrement Const is selected, enter a constant increment or
decrement value. Specify the constant using C syntax (e.g.,
0x for hex, 0 for octal).
Example: 0x10 is the same as 020 or 16. | --fill=constant+=incr
|
| Memory Address Range | When Provide Range to fill is
selected, enter the range here. Specify range as Start:End where Start
and End use C syntax. Example 0x100:0x1FF is the same as 256:511 . | --fill=value@range |
