HW C161 PI (Debugenvironmetn Monitor) My programm works well with the meil monitor. Without monitor a protection fault trap is generated. How can i find the cause ?
Use the current version of TRAPS.C. It allows you to enable a printf output that gives you the address and reason of the TRAP instruction. In this way you can analyse the position of the error. Most likely the START167.A66 file does not match your hardware. The Monitor uses an own configuration. So check the settings in CONFIG.INC (of your Monitor configuration) with the setting of START167.A66 (of your user application).