STM32N6 Hard_Fault when accessing TCM
Hello,
I have a problem with STM32N6. When trying to access any TCM (ITCM/DTCM) the CPU immediately crashes to the Hard_Fault. Do the TCM memories need to be explicitly enabled or something? From my experience from STM32H7, it was never needed. I've looked around RM for N6 but cannot find anything related. I have found in the examples (FLEXMEM_Configurations) that the HardFault shall happen when accesing beyond the configured TCM size, but I'm getting the crash at the base addresses.
uint16_t* _tcmData = (uint16_t*)0x30000000;
int main()
{
... //system init etc..
_tcmData[0] = 0x1234; //Hard_Fault crash here
}


