Class UpdateFlash

All Implemented Interfaces:
SerializableMessage

public final class UpdateFlash extends BMPRequest<BMPRequest.BMPResponse>
A request to update flash memory on a BMP. Must have already been prepared with EraseFlash and WriteFlashBuffer. There is no response payload.

This calls flash_copy() in bmp_boot.c.

  • Constructor Details

    • UpdateFlash

      public UpdateFlash(BMPBoard board, MemoryLocation baseAddress, int size)
      Parameters:
      board - the board with the BMP to write the flash of
      baseAddress - The positive base address to start the update at
      size - The number of bytes to copy
  • Method Details