My code, (MCB2300 and RL-ARM) which parses a file on SDcard for execution commands, was working fine (theoretically) until today it's being thrown into the Undef_hander. If I make small modificatons to the source, it happens at different points in parsing, so it's not a hard error in the input. I can't find anything in the forums or docuementation on what throws this error. I've tried looking at stacks, etc. to no avail. It seems to happen in ftell() but I haven't pinned it down yet. Anyone have any insights?
A simple change such as adding os_dly_wait(50) or printing a debug statement out the serial port changes where it fails. I then thought timing problem, but further changes to the size of the delay cause no change. I went into RTX_Conf_LPC23xx.c and tried altering the OS_STKSIZE, and just inc case the OS_FIFOXZ to no effect. There is one stack in the file manager task (stolen from SD_FILE example) that I increased as well. Still no change.