General Exception ulCause and ulStatus codes

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

General Exception ulCause and ulStatus codes

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.

General Exception ulCause and ulStatus codes

Yes you’re right – thanks for the info!