Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | Fw: How to deal with AI exceptions?

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Fw: How to deal with AI exceptions? - Tom - Dec 14 13:27:43 2007



What I did in this case was trace it back with the debugger, to discover
 that I had a divide-by-zero, but I was wondering if there was some way to
 figure out which register caused the error so that it could be fudged (with
 say + infinity)?  The processor in question is a 21161N

 Failing being able to do that, sending an error message with the return
 address to the host processor to be logged sounds like a good idea.

 In this case, the illegal result wasn't in and of itself a problem, but it
 was paired with another value that normally would have prevented the 
illegal
 value from being used, except in the case of an interrupt occuring between
 the updating of the two values!

 Thanks,

 Tom



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )