CRC only up to 8kB Flash instead of 16kB
I want to calculate a CRC over the whole Flash Memory (16kB) of a STM32F030F4. I works fine up 8kB. Putting Values >8192 for BufferLength into CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength). The program won't reach Reset GPIO_PIN_1. Tools: Keil 5.1 ST-LinkV2
Any Idea ?&sharpdefine FLASH_BASE ((uint32_t)0x08000000) /*!< FLASH base address in the alias region */
GPIOB->BSRR|=GPIO_Pin_1;
CRC_DeInit();
CRC_ResetDR();
uint32_t *pFLASH= (uint32_t *)FLASH_BASE;test_CRC=CRC_CalcBlockCRC(pFLASH,8192)
GPIOB->BRR|=GPIO_Pin_1; #crc-stm32f030f4-flash