Prusa3d Marlin fork
XFLASH Layout

This is the layout of the XFLASH (external SPI flash) in Prusa firmware (dynamically generated from doxygen).


The XFLASH has the following alignment requirements:

The following items are found in the xflash:

1. Languages (R)

This is a variable size region that is built by the lang build scripts. More info can be found in those scripts.

It is aligned at the beginning of xflash, offset 0.

2. MMU Firmware update files (64KB, R)

This space is reserved for the two MMU firmware files:

It is aligned at the end of xflash, before xflash_dump

3. xflash_dump (12KB, RW)

The crash dump structure is defined as dump_t. It composes of:

Even though the dump needs around 9KB of storage, 12KB is used because of the sector erase size.

It is aligned at the end of xflash.