General Exception ulCause and ulStatus codes

anonymous wrote on Thursday, January 22, 2009:

Hello all,

What do the numbers in ulCause and ulStatus in _general_exception_handler mean? I’ve tried searching the source code for the function name to see what was calling it but couldn’t find anything. I presume there’s a table somewhere in the code which describes what the error codes mean?

Thanks

–Amr

edwards3 wrote on Thursday, January 22, 2009:

I’m _guessing_ you are talking about PIC32, in which case the values hold the value of the cause and status registers when the exception occurred. You have to look at the PIC32 hardware manual to know what the values mean.

anonymous wrote on Thursday, January 22, 2009:

Yes you’re right - thanks for the info!