Hi Everyone! I have a problem with CodeWarrior Debugger. It seems that my program stalls when I hit run from the menu. If I step over the code until while (1) loop and then hit run it works fine. Also, sometimes i just need to recompile(not making any changes)and then it starts working fine. I figured out when it stalls, that is trying to execute this instruction at P:0000F006: 324A .short 0x324a ; Invalid opcode I haven't link anything in program RAM (between F000-F7FF).I am using only internal flash and i am not using Embedded SDK. I started my project with DSP56800 EABI Stationery. Any help is appreciate! Thanks Ljubisa |
|
Metrowerks CodeWarrior Debugger Problem
Started by ●June 19, 2002
Reply by ●June 19, 20022002-06-19
I wouldn't blame CodeWarrior debugger for this behavior. It looks to me
that your code has a bug, and it crushes with unpredictable results. Normally, if your code execution ends up in the memory area where you don't have any code, this is due to corruption of the Program Counter. This can happen if your software stack is corrupted, and on return from subroutine, PC didn't get loaded properly. There are some other ways you can be jumping to wrong code locations, for example if you have an interrupt but don't have ISR associated with it. What ever it is, debugger is not your problem. Leonard N. Elevich Motorola DSPD -----Original Message----- From: ljube20022000 [mailto:] Sent: Wednesday, June 19, 2002 8:58 AM To: Subject: [motoroladsp] Metrowerks CodeWarrior Debugger Problem Hi Everyone! I have a problem with CodeWarrior Debugger. It seems that my program stalls when I hit run from the menu. If I step over the code until while (1) loop and then hit run it works fine. Also, sometimes i just need to recompile(not making any changes)and then it starts working fine. I figured out when it stalls, that is trying to execute this instruction at P:0000F006: 324A .short 0x324a ; Invalid opcode I haven't link anything in program RAM (between F000-F7FF).I am using only internal flash and i am not using Embedded SDK. I started my project with DSP56800 EABI Stationery. Any help is appreciate! Thanks Ljubisa _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/ |