fl::checksum

Calculates a checksum.

Syntax
checksum [-host | -range <addr> <size> | -dev]
Options

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

Table 1. fl::checksum Command-line debugger command - Options
Command Description
<none> When no options are specified, calculate the checksum for the target memory contents corresponding to the settings of the fl::image command. The target is defined by the fl::target command.
-host Calculates the checksum for the host image file contents corresponding to the settings of the fl::image command.
-range <addr> <size> Calculate the checksum for the target memory contents specified by a beginning address <addr> and number of bytes <size>, both given in hex. The target is defined by the fl::target command.
-dev Calculates the checksum for the entire flash contents. The flash is defined by the fl::device command. The target is defined by the fl::target command.
Examples
checksum

Calculates a checksum.