9.6.2 User-Defined Segment Options
The following segment options are supported for any device. They enable the programmer to take advantage of special language features created for CodeGuard Security, including separately linked application segments and access entry branch tables. These options do not require CodeGuard Security support in hardware and will not be encoded as configuration word settings.
Note: User-defined segment options should not be combined with CodeGuard Security options. They are intended for debugging and/or special bootloader applications.
Option | Segment(s) Supported | ||
---|---|---|---|
boot | secure | general | |
ram_size=nn | X | X | |
flash_size=nn | X | X | |
nn is a positive integer in decimal or
hex format |
User-Defined segment options
--boot flash_size=128
--boot=ram_size=64:flash_size=256
--secure flash_size=256
--secure=ram_size=64:flash_size=256