Tool/software: Code Composer Studio
Hi
i used the SPI loopback example and built a program that reads words from txt file, stores the data in array (Uint32 array[NumberOfWords], Uint32 subarray [NumberOfWords][10]) , and send it via SPI.
my problem is with the size of the array. when i have large data, for example NumberOfWords=500, i get the massage "Break at address "0x3fec52" with no debug information available, or outside of program code." and the program is freezing.
when i am at debug mode, i see that the crush occurs when i call InitSysCtrl(); in F28379D_SysCtrl.c, while trying to execute
WdRegs.WDCR.all = WDCR;.
if i have small data, NumberOfWords = 10 for example, everything works fine.
i understand that it has to be somthing wite the memory, but i dont understand how to solve it (new to microcontrollers)
thank you.