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 
36 /* The size of the firmware image should be contained within the memory range that can be accessed
37  * by M33, which is determined by the default flash region size (512KB) in relation to the base
38  * address. If the FW image exceeds this size, the M33 will be unable to access the extra code. */
39 #define NVMS_FW_EXEC_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x00003000)
40 #define NVMS_FW_EXEC_PART_SIZE (0x0007D000)
41 
42 /* +----------------512KB---------------------+ */
43 
44 #define NVMS_GENERIC_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x00080000)
45 #define NVMS_GENERIC_PART_SIZE (0x00080000)
46 #define NVMS_PLATFORM_PARAMS_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x00100000)
47 #define NVMS_PLATFORM_PARAMS_PART_SIZE (0x000FF000)
48 /* Recommended location, 4KB before the end of the 1st flash section. */
49 #define NVMS_PARAM_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x001FF000)
50 #define NVMS_PARAM_PART_SIZE (0x00001000)
51 
52 /* +------------------2MB---------------------+ */
53 /* The size of the update firmware image should be contained within the memory range that can be
54  * accessed by M33, which is determined by the default flash region size (512KB) in relation to the
55  * base address. If the FW image exceeds this size, the M33 will be unable to access the extra code. */
56 #define NVMS_FW_UPDATE_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x00200000)
57 #define NVMS_FW_UPDATE_PART_SIZE (0x0007D000)
58 #define NVMS_LOG_PART_START (QSPI_MEM1_VIRTUAL_BASE_ADDR + 0x0027D000)
59 #define NVMS_LOG_PART_SIZE (0x00183000)
60 /* To maintain consistency across various partition tables and facilitate reading without requiring
61  * the rebuilding of flashing tools, it is strongly recommended to position the NVMS_PARTITION_TABLE
62  * section at the end of the Embedded Flash. */
63 #define NVMS_PARTITION_TABLE_START (EFLASH_MEM1_VIRTUAL_BASE_ADDR + 0x0003F800)
64 #define NVMS_PARTITION_TABLE_SIZE (0x00000800)
65 
66 PARTITION2( NVMS_PRODUCT_HEADER_PART , 0 )
67 PARTITION2( NVMS_FW_EXEC_PART , 0 )
68 PARTITION2( NVMS_GENERIC_PART , PARTITION_FLAG_VES )
69 PARTITION2( NVMS_PLATFORM_PARAMS_PART , PARTITION_FLAG_READ_ONLY )
70 PARTITION2( NVMS_PARAM_PART , 0 )
71 PARTITION2( NVMS_FW_UPDATE_PART , 0 )
72 PARTITION2( NVMS_LOG_PART , 0 )
73 PARTITION2( NVMS_PARTITION_TABLE , PARTITION_FLAG_READ_ONLY )
74 
75 
76