Class ReadSerialFlash

All Implemented Interfaces:
SerializableMessage

public class ReadSerialFlash extends BMPRequest<ReadSerialFlash.Response>
A request to read a region of serial flash from a BMP. The response payload is a read-only little-endian ByteBuffer intended to be read once.

Calls sf_read() in bmp_ssp.c.

  • Constructor Details

    • ReadSerialFlash

      public ReadSerialFlash(BMPBoard board, MemoryLocation address, int size)
      Parameters:
      board - which board to read the flash of
      address - The positive base address to start the read from
      size - The number of bytes to read, between 1 and 256
  • Method Details