Hello, I have a program written to run on motorola DSP56f805. I use CodeWarrior V.5.1279 My program works perferctly why I download it from CodeWarrior. But does not get burnt into the program memory. After download on power down and power up the program doesnt run from the program memory. My program is 6.8 K in size. All the hardware settings to boot up from internal memory are set correctly. Any suggestions on how to be able to ensure that the program works from the DSP on power up? -Nikhil |
|
URGENT HElP - Flashing my program
Started by ●October 31, 2004
Reply by ●November 1, 20042004-11-01
Hi! I had the same problem when trying to get my 56F8356 code to work "stand alone", i.e. without the debugger. The problem was that I had not fully understood that the constants and initialized variables had to be activated to be stored in FLASH and copied from FLASH to RAM upon start-up. This was done by the debugger and thus I did not realise that this had to be activated. If you do this, I hope that your program too will start without the debugger. This "feature" of the debugger should really at least produce a warning, IMHO. Good luck! Best Regards, Rikard ----- Original Message ----- From: nnikhilin To: Sent: Sunday, October 31, 2004 6:39 AM Subject: [motoroladsp] URGENT HElP - Flashing my program Hello, I have a program written to run on motorola DSP56f805. I use CodeWarrior V.5.1279 My program works perferctly why I download it from CodeWarrior. But does not get burnt into the program memory. After download on power down and power up the program doesnt run from the program memory. My program is 6.8 K in size. All the hardware settings to boot up from internal memory are set correctly. Any suggestions on how to be able to ensure that the program works from the DSP on power up? -Nikhil |
Reply by ●November 4, 20042004-11-04
CodeWarrior support two memory modes for 805. External memory mode and flash memory. You need select flash memory mode as you target. Another possibility may cause you program does not run is /TRST pin does not tie to ground (VSS) that On-chip emulator may take over CUP operation due to noise. Good practice is to pull TMS to VDD via a 10K resistor and tie /TRST to ground via a 500ohm resistor. good luck! Charlie. --- nnikhilin <> wrote: > > Hello, > > I have a program written to run on motorola > DSP56f805. I use > CodeWarrior V.5.1279 > > My program works perferctly why I download it from > CodeWarrior. But > does not get burnt into the program memory. After > download on power > down and power up the program doesnt run from the > program memory. > > My program is 6.8 K in size. > > All the hardware settings to boot up from internal > memory are set > correctly. > > Any suggestions on how to be able to ensure that the > program works > from the DSP on power up? > > -Nikhil > > __________________________________ |