Hi,
Please Refer the below thread link before consider our query
Now We will look into our query,
We are using "simple_peripheral_oad_offchip_CC26X2R1_LAUNCHXL_tirtos_ccs" and "bim_offchip_CC26X2R1_LAUNCHXL_nortos_ccs" for FOTA Implementatioin. In simple_peripheral_oad_offchip_CC26X2R1_LAUNCHXL_tirtos_ccs project -> OAD folder -> Instead of "flash_interface_ext_rtos_NVS.c" file we are using "flash_interface_ext_rtos.c" to access external SPI flash as per TI suggestion. With this file IN EVK it is working fine we are able to upgrade the Firmware In my customised board we are facing some issues, It is able to download 99.5 % of Upgraded image in to the SPI external flash after that It is checking for CRC32 checksum Here it is failing while using my customised board .
Queries:
1) What are the elements you are considering to calculate CRC32 checksum.
2) we are using same .bin image for Firmware up-gradation and we are observing the length of block size which is available in the Header structure also differing In EVK and customised board . Block size is 60 bytes and total no of block transferred from mobile app to target board is 2181.
In customized board we are observing the length of block size which is available in the Header structure also differing In EVK and customised board . Block size is 244 bytes and total no of block transfered from mobile app to target board is 509
Here Why block size and Total no. of blocks is differing?
3) While writing header in external flash, Image page for the below API also differing Why,
In oadImgBlockWrite function -> Inside the If case of "if (oadBlkNum == oadBlkTot)" -> Inside the If case of " if(useExternalFlash)" ->
 // Store the metadata
 uint8_t flashStatus = OAD_SUCCESS;
 flashStatus = writeFlashPg(metaPage, 0,
 (uint8_t *)&extFlMetaHdr,
 sizeof(ExtImageInfo_t));
In EVK Image page is 64 and for customised board image page is 4 Why?
 
				 
		 
        		 
					 
                           
				 
				

