SmartSnippets DA1459x SDK
partition_table.h
Go to the documentation of this file.
1 
33 #define NVMS_PRODUCT_HEADER_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x00001000)
34 #define NVMS_PRODUCT_HEADER_PART_SIZE (0x00002000)
35 /* The size of the firmware image should be contained within the memory range that can be accessed
36  * by M33, which is determined by the default flash region size (512KB) in relation to the base
37  * address. If the FW image exceeds this size, the M33 will be unable to access the extra code. */
38 #define NVMS_FIRMWARE_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x00003000)
39 #define NVMS_FIRMWARE_PART_SIZE (0x07D000)
40 
41 /* +----------------512KB---------------------+ */
42 
43 #define NVMS_GENERIC_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x080000)
44 #define NVMS_GENERIC_PART_SIZE (0x020000)
45 #define NVMS_PLATFORM_PARAMS_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x100000)
46 #define NVMS_PLATFORM_PARAMS_PART_SIZE (0x0FF000)
47 /* Recommended location, 4KB before the end of the 1st flash section. */
48 #define NVMS_PARAM_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x1FF000)
49 #define NVMS_PARAM_PART_SIZE (0x001000)
50 
51 /* +------------------2MB---------------------+ */
52 
53 #define NVMS_LOG_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x200000)
54 #define NVMS_LOG_PART_SIZE (0x100000)
55 #define NVMS_BIN_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x300000)
56 #define NVMS_BIN_PART_SIZE (0x100000)
57 /* To maintain consistency across various partition tables and facilitate reading without requiring
58  * the rebuilding of flashing tools, it is strongly recommended to position the NVMS_PARTITION_TABLE
59  * section at the end of the Embedded Flash. */
60 #define NVMS_PARTITION_TABLE_START (EFLASH_MEM1_VIRTUAL_BASE_ADDR + 0x3F800)
61 #define NVMS_PARTITION_TABLE_SIZE (0x00000800)
62 
63 PARTITION2( NVMS_PRODUCT_HEADER_PART , 0 )
64 PARTITION2( NVMS_FIRMWARE_PART , 0 )
65 PARTITION2( NVMS_GENERIC_PART , PARTITION_FLAG_VES )
66 PARTITION2( NVMS_PLATFORM_PARAMS_PART , PARTITION_FLAG_READ_ONLY )
67 PARTITION2( NVMS_PARAM_PART , 0 )
68 PARTITION2( NVMS_LOG_PART , 0 )
69 PARTITION2( NVMS_BIN_PART , 0 )
70 PARTITION2( NVMS_PARTITION_TABLE , PARTITION_FLAG_READ_ONLY )
71 
72