So I erase any code on the board using the spi-flashing tool. Then I flash the spi-flash .bin file. Then I load the example .bin file and it works. When I import the code and build it then run it I get frequency mismatch so I add
var Timer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer');
Timer.intFreq.lo = 20000000; //20MHz
Timer.intFreq.hi = 0;
Then I get exit error the first time I try to load the code in debug mode, but the second time it runs the code without error but there is nothing on the board. This is without changing the example code except the app.cfg file