5.7.5.3 xc-dsc-ld - Fill Flash Memory Category

Table 5-11. Fill Flash Memory Options
OptionDescriptionCommand Line
Which areas to fillSpecify 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 itSpecify how to fill Flash memory.

Provide sequence of values - Provide a sequence under the Sequence option.

Constant or incrementing value - Provide either:

  • Constant = a value,


    Increment/Decrement = No Incrementing

  • Constant = a value,


    Increment/Decrement = Increment Const OR


    Decrement Const,


    Increment/Decrement Constant = a value

SequenceWhen 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
ConstantWhen 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/DecrementWhen 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 ConstantWhen 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

--fill=constant-=decr

Memory Address RangeWhen 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