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

Problem whith monitor

Hello

I have problem with monitor 166. I can't debug my program in cicuit.
Processor C167CS-LM with 32kb external КФЬ memory.
I create my monitor in bootstrap mode
DATA_START 3000h
CODE_START 4000h
compil my project and try debug ather simpl project. Monitor load in RAM and then i watch "Conection to target system lost".

i load code In MinMon at address 4000h and compare with code monitor.h86. It's differ!!!

then I create monitor in rom. Look monitor.h86 and don't andestend how it work. How mon166.dll find monitor init code in rom? There are not code in vector reset or TX or RX UART!?

I'am sorry for my English. I well read but not well write :).

  • You could check to make sure your code does NOT reconfigure the bus control registers.

    I have seen code that interferes with the Monitor settings that results in a similar behavior. I setup different environments (debug and stand-alone) to handle this.

    If you can contain your complete program (both code and data) in the available external RAM. Then the easiest setup would be to use the RAM monitor.

    I would also suggest locating the code to begin with address zero (or at least on a 64KByte boundary).