Tool/software:
a)in Fapi_issueProgrammingCommand(), if Fapi_AutoEccGeneration is specified in oMode, do we need to specify the pu8EccBuffer [in] pointer to the ECC buffer address or should be 0?
For example for the below code, do we need to specify the ECC address
(uint8_t *)0xF047C000?
uint8_t u8_dummy_buff[8] = { 0xA2, 0xB4, 0x63, 0xD8, 0x9A, 0xBC, 0xDE, 0xEF};
u32_fapi_res = Fapi_issueProgrammingCommand((uint32_t *)0x003E0000,
&u8_dummy_buff[0],
8,
(uint8_t *)0xF047C000,
0,
Fapi_AutoEccGeneration);
b) I am unable to understand the ECC encoding specified in Table 7-1 in SPN563A where it mentions ADDR_MSW_LSW? Do these addresses ADDR_MSW_LSW represent flash as the memory map for Flash ranges from 0x00000000 to 0x3FFFFF but the address in ADDR_MSW_LSW seem to be something different?
c) In the example in a), I am not clear how the ECC is computed for data in u8_dummy_buff using Table 7-1 in SPN563A? Please can you explain for this example how it would calculate ECC bits using address and data bits?