Nitin, Art, and other DSP56800 developers,
If indeed you are running into the issue where the compiler
inserts 'do' instructions in the assembler code even though the
option is turned off, this issue is actually fixed in R5.0.3, NOT
R5.0.4
(See WB1-39699 at:
http://www.metrowerks.com/mw/support/download/default.htm?did21).
The issue we are addressing with the upcoming patch R5.0.4 has
nothing to do with the 'do' instruction generation issue. Just
wanted to clarify....
Regards,
John
--- In , "Art Johnson" <art@p...> wrote:
> This may be related to a very similar problem we
have been having
here, which is that CodeWarrior version 5.0.2 puts 'do'
instructions
in the assembler code, even if you have turned that option off. We
have had occasional hardware stack overflow exceptions, that are
caused by this problem. This problem has been fixed in CodeWarrior
version 5.0.4, which we are in the process of testing here.
>
> Regards,
>
> Art Johnson
> Senior Systems Analyst
> PMC Prime Mover Controls Inc.
> 3600 Gilmore Way
> Burnaby, B.C., Canada
> V5G 4R8
> Phone: 604 433-4644
> FAX: 604 433-5570
> Email: art@p...
> http://www.pmc-controls.com
>
> -----Original Message-----
> From: Johnson, Jerry [mailto:jljohnson@g...]
> Sent: Thursday, January 16, 2003 10:13 AM
> To: 'Nitin Madhukar Yewale'; Johnson, Jerry;
> Subject: RE: [motoroladsp] Unhandled interrupt
message?
> Hardware stack overflow is related to nested Do loops as I recall.
Interrupt routines should really not use the Do loop construct, if
background code is also using the construct. There is very limited
nesting of Do loops in hardware.
>
> Jerry.
> -----Original Message-----
> From: Nitin Madhukar Yewale [mailto:nitin.yewale@w...]
> Sent: Thursday, January 16, 2003 12:08 PM
> To: Johnson, Jerry;
> Subject: RE: [motoroladsp] Unhandled interrupt message?
> It shows 0x0005 as "N" register contents. I have gone through
the
User manual of 826/7 [Page no 137] says "Allocated to HW Stack
OverFlow".
> How to overcome the above interrupt? When this
interrupt will
occuer?
> Does my code uses h/w stack? Just to avoid such
problems i am using
global variables so that they will not take space on Stack.
> Regards,
> Nitin
>
> -----Original Message-----
> From: Johnson, Jerry [mailto:jljohnson@g...]
> Sent: Thursday, January 16, 2003 11:31 PM
> To: Nitin Madhukar Yewale;
> Subject: RE: [motoroladsp] Unhandled interrupt message?
> I have replaced the default "unhandled interrupts" that have
appeared, with my own stub ISR routines for the "Reserved"
or
abnormal interrupts (3,4,5,6,etc...). That way I can have a debug
instruction there that will break the Codewarrior debugger when one
occurs. I can then easily tell which interrupt I got unexpectedly.
As I recall, the Motorola SDK general purpose system also puts the
ISR number in the N register, if you are using the SDK in the normal
manner with the supplied default ISR handlers.
> Jerry.
> -----Original Message-----
> From: Nitin Madhukar Yewale [mailto:nitin.yewale@w...]
> Sent: Thursday, January 16, 2003 8:29 AM
> To:
> Subject: [motoroladsp] Unhandled interrupt message?
> ...
______________________________________________________________________
__
> This email has been scanned for all viruses by the
MessageLabs
SkyScan
> service. For more information visit
http://www.messagelabs.com
>
______________________________________________________________________
__
>
>
> _____________________________________
> 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
>
|