cancel
Showing results for 
Search instead for 
Did you mean: 

pointer above 0x4000

embvis
Associate III

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

3 REPLIES 3
Uwe Bonnes
Principal III

You put your pointer into ITCM ram. It only has 0x4000 size . Put your data somewhere else.

Hi, Can you share an example? Do you mean pointer addr or data, because I checked and data are on DTCM region.

Thanks

Uwe Bonnes
Principal III

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.