I wouldn't blame CodeWarrior debugger for this behavior. It looks to me
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
From: ljube20022000 [mailto:]
Sent: Wednesday, June 19, 2002 8:58 AM
Subject: [motoroladsp] Metrowerks CodeWarrior Debugger Problem
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
I figured out when it stalls, that is trying to execute this
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!
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:
More Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/