Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
I am using CCS8.2 and CCS7.4 ,I develop my program in RAM, and it's working all right. I got all the referent files in controlsuite. But when I decided to download in flash,by changing cmd file to a flash cmd file. It' s not working properly.
By debugging step by step , I find it stop in a delay function. I was wondering if I was mistaken. So I import an example file from controlsuite, from f2803x v130. It cannot be compiled, I changed the compiler, and delete -cdebug_asm. Then it can be compiled. But the program still stop in the delay function which is called by XtalOscSel() function. It stop in function delay.
I debug step by step , I found it goes like this
when it went in to DELAY_US, it stopped.
and next time it jumped:
it jumpped here , but next step , it jumps to
and stop at 3ff8cd. I don't know why.
what I can guess is that the delay is in ramfuncs sector, but it is blank now. But this is an example from TI controlsuite, how can it make error like this.
Tell me how to solve it