i need to have my processor run without being programmed constantly. I changed my RAM link file to a file that is supposed to load a program from flash. it's supposed to be "F28026.cmd" I have a connectin to my piccolo and i can program it in RAM no problem. I added the code start branch ASM file, and my code looks like the code below. When i run the debugger it goes to where it tries to delete the flash and after that it says load program error. Any idea how this can be troubleshooted? am i missing something here?
#include "DSP28x_Project.h"
#include "F2802x_Device.h"
#include "stdio.h"
int main()
{
InitSysCtrl();
EALLOW;
GpioCtrlRegs.GPAMUX1.bit.GPIO0 = 00; //set GPIO31:0 pins to GPIO
GpioCtrlRegs.GPADIR.bit.GPIO0 = 1; //set GPIO0 as output
while(1)
{
GpioDataRegs.GPADAT.bit.GPIO0 = 1;
DELAY_US(500000);
GpioDataRegs.GPADAT.bit.GPIO0 = 0;
DELAY_US(500000);
}
}