> I don't know the processor but made a few of these on the 68000 years > ago. :-) > > > http://www.microchip.com/forums/m546064-print.aspx > > // These are the available exception code values that may appear in the > 'Cause' > // register's ExcCode field which gets read during a general exception > error. > // Refer to the MIPS 32 M4K processor Core Software User's Manual for mor= e > // information on this. 'static' is used in this case because an > exception > // condition might stop 'auto' variables from being created > > http://www.mips.com/products/cores/32-64-bit-cores/mips32-m4k/ > http://www.mips.com/secure-download/index.dot?product_name=3D/auth/MD0024= 9%2D2B%2DM4K%2DSUM%2D02.03.pdf > > 4.8.8 Bus Error Exception --- Instruction Fetch or Data Access > A bus error exception occurs when an instruction or data access makes a > bus request and that request terminates in an > error. The bus error exception can occur on either an instruction fetch > or a data access. Bus error exceptions that occur > on an instruction fetch have a higher priority than bus error exceptions > that occur on a data access. > Bus errors taken on any external access on the M4K core are always > precise. > Cause Register ExcCode Value: > IBE: Error on an instruction reference > DBE: Error on a data reference > Additional State Saved: > None > Entry Vector Used: > General exception vector (offset 0x180) > Thanks! The exception seems to be happening in vfprintf. It's being called from my line saying: fprintf(DisplayStream,"%s\r\ns/n %s\r\n",ModelString,SystemData.SerialNumber); The two strings look good in the debugger before calling this. I'll keep banging on it. Thanks! Harold --=20 FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .