4.1 DAT File Description for M2GL, M2S, MPF and MPF SoC Devices

The data file contains the following sections:

Header Block

Contains information identifying the type of the binary file and data size blocks.

Table 4-1. DAT Image Description
Header Section of DAT File
Information# of Bytes
Designer Version Number24
Header Size1
Image Size4
DAT File Version1
Tools Version Number2
Map Version Number2
Feature Flag2
Device Family1

Constant Data Block

Includes device ID, silicon signature, and other information needed for programming.

Table 4-2. DAT Image Description
Constant Data Block
Information# of Bytes
Device ID4
Device ID Mask4
Silicon Signature4
Checksum2
Number of BSR Bits2
Number of Components2
Data Size2
Erase Data Size2
Verify Data Size2
ENVM Data Size2
ENVM Verify Data Size2
UEK1_EXISTS1
UEK2_EXISTS1
SEC_ERASE1
UEK3_EXISTS (M2S, M2GL only)1
Number of Records1

Data Lookup Table

Contains records identifying the starting relative location of all the different data blocks used in the SPI-DirectC code and data size of each block. The following table lists the format.

Table 4-3. DAT Image Description
Look-Up-Table
Information# of Bytes
Data Identifier # 11
Pointer to data 1 memory location in the data block section4
# Of bytes of data 14
Data Identifier # 21
Pointer to data 2 memory location in the data block section4
# Of bytes of data 24
Data Identifier # x1
Pointer to data x memory location in the data block section4
# Of bytes of data x4

Data Block

Contains the raw data for all the different variables specified in the look-up-table.

Table 4-4. DAT Image Description
Data Block
Information# of Bytes
Binary DataVariable
CRC of the entire image2