2019-01-14 01:56 PM
pointer above 0x4000
Hi,
Why I cannot use pointer above 0x4000. I have declared array form 0x200023d0 [+6000 32bit], so end about 0x28950a10. I am using STM32F769.
Iam getting
Failed to execute MI command:
-data-evaluate-expression *(pDataVectSourceAddress)
Error message from debugger back end:
Cannot access memory at address 0x4000
Regards
Mikołaj
2019-01-14 02:29 PM
You put your pointer into ITCM ram. It only has 0x4000 size . Put your data somewhere else.
2019-01-14 02:51 PM
Hi, Can you share an example? Do you mean pointer addr or data, because I checked and data are on DTCM region.
Thanks
2019-01-15 02:21 AM
Understand and check your linker script and the memory map of your executable and of the STM32F76x. The programm clearly tries to access pDataVectSourceAddress in the ITCM memory, as the error message implies.