fl::device

Defines the flash device.

Syntax
device
device <setting> ...
device ls
device ls org [<dev>]
device ls sect [[<dev>] <org>]
Options

The following table lists and defines options of the fl::device command.

Table 1. fl::device Command-line debugger command - Options
Command Description
<none> With no options, lists the current settings.
<setting> Used to set a configuration setting. Possible values are: -d <dev>, -o <org>, -a <addr> [<end>] , -se all | <index> ... , -sd all | <index> ...
-d <dev> Sets the device to <dev>.
-o <org> Sets the organization to <org>.
-a <addr> [<end>] Sets the start <addr> and optional end <end> address for the device, both given in hex.
-se all | <index> ... Enable sectors for "erase" and "blankcheck". Sectors are specified with a zero-based index.
-sd all | <index> ... Disables sectors for "erase" and "blankcheck". Sectors are specified with a zero-based index.
ls Lists all the supported devices.
ls org [<dev>] Lists the organizations for a particular device. The device may be specified with <dev>, otherwise the current device is used.
ls sect [[<dev>] <org>] Lists the sectors for a particular device and organization. The organization may be specified with <org>, otherwise the current device and organization is used. If <org> is specified, the device may be specified with <dev>, otherwise the current device is used. If <dev> is specified, then 0 is used for the starting address; otherwise, the current device start address is used.
Examples
device

Lists the current settings.