Frederic, Sorry, I didn't know you were building for flash. In that case I think you need to re-structure your code a little. You'll need to set up the clocks first with InitSysCtrl(), then do the MemCopy(), then initialize the flash with InitFlash(). Attached is the main file from an older F2808 flash example. I recommend following a similar initialization sequence. The PLL settings used were: #define DSP28_CLKINDIV 0 #define DSP28_PLLCR 10 All I did was build and run your main file on an '069 (which I had to hand) to check whether the code was functionally OK. It ran fine. Regards, Richard (Please visit the site to view this file)
↧