unsupported-reset | The reset sequence does not apply to the protocol. |
out-of-range | A value does not fit what the protocol can carry. |
manifest | The manifest could not be read. |
layout | The layout of a board has errors. |
layout-file | The layout file of a board could not be read or parsed. |
table | The partition table cannot be written for the layout. |
image-source | An image file could not be read. |
checksum-mismatch | An image does not have the SHA-256 digest that the manifest gives. |
image-rejected | The verifier of the caller refused an image. |
intel-hex | An Intel HEX image is invalid. |
misplaced-intel-hex | A valid Intel HEX image does not start where it is written. Its addresses are those of the memory map: the base address of the flash plus the offset that it is written at. |
elf-not-enabled | An image is an ELF file, and this build of nanoflash does not read ELF files (the elf feature). |
elf | An ELF image cannot be flashed. |
misplaced-elf | A valid ELF image does not start where it is written. |
application-image | The image source could not build the Espressif application image of an ELF file. |
elf-not-an-application | An ELF image is written where the Espressif bootloader does not boot an application from: a partition that is not a firmware or update partition, or an offset that starts no partition of the layout. |
misaligned-application-image | The Espressif application image of an ELF file is written at an offset that is not a multiple of 0x10000, or below 0x10000. |
image-needs-layout | An image goes to a partition and the board has no layout. |
unknown-partition | An image or an erase entry names a partition that the layout does not define. |
misaligned-image | An image starts at an offset that the flash cannot erase from. |
overlapping-images | Two images share flash sectors. |
image-too-large | An image does not fit in its partition. |
partition-table-image-for-detected-flash | An image replaces the partition table of a layout whose partitions grow or move with the flash of the chip. The table that nanoflash generates for the chip would be lost. |
fixed-offset-on-moving-partition | An input tied to flash offsets (an image or an erase entry given by offset, an Intel HEX image, an ELF image decoded into flat segments) overlaps a partition that moves with the flash of the chip. |
image-outside-flash | An image ends after the end of the flash. |
misaligned-erase | An erase entry does not start and end on the erase unit of the flash. |
erase-outside-flash | An erase entry ends after the end of the flash of the layout. |
outside-address-range | An image or an erase entry ends beyond what the protocol can address. |
outside-detected-flash | An image or an erase entry ends after the end of the flash that the chip reports. |
nothing-to-flash | The board of the manifest lists no image and no erase entry. |
empty-image | An image file has no byte. |
out-of-memory | There is not enough memory for a buffer. |
unknown-board | The requested board is not in the manifest. |
no-matching-board | No board of the manifest suits the device. |
several-protocols | The candidate boards speak several protocols. Give the board identifier. |
several-boards | Several boards have the detected chip. |
board-required | The manifest has several boards and none was chosen. |
protocol-required | The protocol of the device cannot be told from its USB identity and none was given. |
protocol-not-enabled | The protocol was not compiled in. |
unknown-flash-size | The size of the flash is needed, and neither the layout nor the chip gave it. |
flash-size-needs-detect-layout | A flash size was given for a board whose layout does not have size = "detect". |
flash-too-small | The flash of the chip is smaller than the layout. |
unknown-bootloader-device | The USB identity that the bootloader of a device shows is unknown, so the device cannot be opened again after the reset. |
below-writable-flash | An image or an erase entry starts in the flash that the bootloader protects. |
above-writable-flash | An image or an erase entry ends in the flash that the bootloader occupies at the top of the flash. |
erase-short-of-flash-end | An erase region stops before the end of flash, and the bootloader only erases from an offset to the end of flash (SAMD21). |
image-below-written | An image comes after an image written above it, and the bootloader erases from the start of an image to the end of flash before it writes it (SAMD21). |
page-out-of-erase-order | A page would be programmed where the bootloader does not erase it first. The wiring bootloader of the Mega 2560 erases one page per page programmed, in order from 0x0, wherever the programmed page goes. |
not-connected | A backend was asked to erase, write, verify or reset before a successful connect. |