How to use STM32C071G8U6N correctly?
I bought few STM32C071G8U6N from Mouser few month ago.
As I know, the SRAM size in spec is 24K, but I will get error message as below when ZI-data over 8KB
"Error: L6406E: No space in execution regions with .ANY selector matching xxx.o(.bss)."
Program Size: Code=33736 RO-data=360 RW-data=132 ZI-data=6724
And the data in iirDataQueue will change into 8192 or around 65535 unexpected.. Following is my code(work fine on other platform), (iirData is no error).
memmove((uint16_t*)&dspMem.iirDataQueue[0], uint16_t*)&dspMem.iirDataQueue[1],
(ADC_DATA_QUEUE_LEN - 1) * sizeof(dspMem.iirDataQueue[0]));
dspMem.iirDataQueue[ADC_DATA_QUEUE_LEN - 1] = dspMem.iirData;
We have also been using other series of products for a long time, such as STM32L4, but none of them is as frustrating as STM32C071. Could you please provide me with some direction to debug? Thanks.
Environment:
CubeMx 6.15.0 + STM32C0 1.4.0
Keil MDK-ARM 5.29.0.0
STM32C0xx_DFP 2.2.0
