Other Parts Discussed in Thread: TMS320F28335
Greetings,
I am using the F28335, and on startup, I am trying to clear the memory which we will be using. At some point during the memory clear, the code crashes and ends up at address 0x3FF9FA. The point during the clear when this happens is random. I have been able to boil it down to a very simple program which always crashes. I’m guessing that I need to setup something before I begin this process, but I don’t know what it is. Any help would be appreciated. The code is as follows:
void main()
{
Uint16 * Buff = (Uint16 *)0xC000;
for (int i = 0 ; i < 0x1000 ; i++)
{
Buff[i] = 0;
}
}
Thank you,
Ed