Determine the Minimum Size of QFlash Enough for DFU
Posted: Fri Sep 01, 2017 4:17 pm
HI ,
If only one factory image and one upgrade image are required and no data partition, Is the minimum size of QFlash must be greater than the boot partition size calculated by below equation?
boot partition size = loader size + maximum size of factory image + maximum size of upgrade images + padding to sector boundaries
Where
maximum size of factory image = number of xCORE tiles * xCORE SRAM size
maximum size of upgrade images = (number of xCORE tiles * xCORE SRAM size) * number of images to be held in flash concurrently
We are using XU224-1024-XXX which xCORE SRAM size is 256KB . It means "maximum size of factory image" and "maximum size of upgrade images" are both 4 * 256KB = 1MB
Actually, the factory image size will be always less than 1MB , so is it possible to adjust the sector boundary of factory Image to be less than 1MB and so we can use a smaller size QFlash ?
Thanks
If only one factory image and one upgrade image are required and no data partition, Is the minimum size of QFlash must be greater than the boot partition size calculated by below equation?
boot partition size = loader size + maximum size of factory image + maximum size of upgrade images + padding to sector boundaries
Where
maximum size of factory image = number of xCORE tiles * xCORE SRAM size
maximum size of upgrade images = (number of xCORE tiles * xCORE SRAM size) * number of images to be held in flash concurrently
We are using XU224-1024-XXX which xCORE SRAM size is 256KB . It means "maximum size of factory image" and "maximum size of upgrade images" are both 4 * 256KB = 1MB
Actually, the factory image size will be always less than 1MB , so is it possible to adjust the sector boundary of factory Image to be less than 1MB and so we can use a smaller size QFlash ?
Thanks