Class ReadSerialFlashCRC

All Implemented Interfaces:
SerializableMessage

public class ReadSerialFlashCRC extends BMPRequest<ReadSerialFlashCRC.Response>
A request to get the CRC of serial flash memory from a BMP. The response payload is the 32-bit CRC of the given region of flash.

Calls sf_crc32() in bmp_ssp.c.

  • Constructor Details

    • ReadSerialFlashCRC

      public ReadSerialFlashCRC(BMPBoard board, MemoryLocation baseAddress, int size)
      Parameters:
      board - which board's BMP's serial flash should be checked
      baseAddress - The positive base address to start the check from
      size - The number of bytes to check
  • Method Details