Other Parts Discussed in Thread: TMS320F2808
I just recently picked up the TMS320F2808 Experimenters Kit, and I am running through the example programs for each of the peripherals that I will be using in my application. I have executed the ADC example program (adc_soc) from ram, and I am attempting to modify it to execute from flash. However, when I step through the program, I get an illegal operation trap inside the InitAdc() function. When I step into the function, I discover that the error occurs when executing the DELAY_US(ADC_usDELAY) instruction.
Referencing the instructions in the DSP280x_HeaderFiles_QuickStart_Readme.pdf document, I have been successful in modifying the SCI example program to execute from flash.
Any suggestions would be greatly appreciated.
RaulO