Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

External Flash ( see page 50)
The resource data will be stored as part of an Intel HEX file. This file can be be uploaded to external memory device, like a
SPI flash. The size of the resources is depended on the size of the external memory device. Access to the data is
determined by the method use to retrieve it, topical slower than an internal data fetch. The application uses the generated
reference output source file to obtain the location of a specific resource in the external memory.
Binary ( see page 52)
The resource data will be stored as raw binary data. The binary file can be used by other applications or stacks to store the
data. The application uses the generated reference output source file to obtain the offset of the specific resource in the
extern memory. It is recommended if the intension of conversion is for external memory device, then use the external flash
conversion setting.
EDS PMP ( see page 55)
The resource data will be stored as part of an Intel HEX file. The file is to be uploaded to an external memory device that will
use PMP to access it. This option is available only for devices with EDS memory space and a PMP module which is mapped
to it. Access to the data is determined by the method use to retrieve it, topical slower than an internal data fetch. The
application uses the generated reference output source file to obtain the location of a specific resource in the external
memory and the EDS memory space.
7.5.1 Internal Flash
There is a limitation on the memory used when generating font images in C files (to be stored in internal flash for 16-bit PIC
microcontroller devices). The font images are placed in the const section or program memory. The const section has a
maximum size of 32 Kbytes. Therefore, the maximum size that the font image can have is 32 Kbyte assuming that no other
data will reside in the const section or the font resources must be placed in program memory. When stored in external
memory, the limitation will be the external memory size. The reason for storing fonts in the const section in internal flash is
performance. It is faster to retrieve and display characters in the screen when placed in the const section.
For PIC32, there is no limitation. As long as the internal flash has space you can pack in more font images.
Conversion of C file containing arrays to be located in internal flash memory is similar to the conversion of the Hex file.
This conversion type should be used to store fonts and bitmaps into internal flash memory.
The following steps must be performed:
1. Press
Convert
button.
7.5 Converting Resources Graphics Resource Converter Internal Flash
47
7

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh