This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Building my own Monitor for a C166 board - No RAM at 0x0 available

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.

Parents
  • 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

Reply
  • 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

Children