Hi, I am using a self developed board with an 80C166. There is a RAM at address 0x10000 and ROM at address 0x30000 available. How can I build my own monitor for the debugger ? Any time the monitor and app lication are loaded and I want to jump to "main" there appeares the message "MONITOR ERROR 9: CANNOT WRITE BREAKPOINT VECTOR". Who can help me ? Thanks in advance.
Hi Stefan, You can find the information needed for building a new version of the monitor in the file Keil\C166\MONITOR\README.TXT. When editing the file CONFIG.INC, carefully review each setting, since a misconfigured monitor most likely won't work at all. So it's trial and error method for getting it working. You will want to have CODE_START at 0 and VECTAB at 0x10000 (this way the monitor code will have interrupt vector redirection table pointing to 0x10000.) Best of luck! - mike
Hi Mike, I found a way how to place the RAM at 0x0 (reprogram an EPLD). Now the Monitor works. Thanks a lot for your help. Stefan