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 to configure Monitor for C166

I have app. board with C166 and 128k RAM only connected to C166 by 8b demux bus.
I try to configure monitor in Bootstarp mode.
When monitor code starts from 0h then there is no problem. Trying to place monitor code somewhere else,let say 01A800h, causes a breaking of "debug session". Tracking a traffic on ASC0 I descovered that at the end of monitor's downloading process (a number of WRITE_MEM commands)there is no START_MON command coming out from PC.
Also I was not able to find a code in Inst166.a166 that sets up interrupt table when monitors starts not from 0.

Where is my mistake?
Thank you.

Parents
  • I think there is a hardware problem on your board. Please download the monitor to address 0 and check if the memory at address 1A800 can be accessed by modifying some bytes.

    After uVision2 downloads the monitor, a checksum is built over the monitor address area to see if the download was successful. If the checksum is correct, the MON_START command is sent. It seems that the monitor download was not successful on the high address of your board.

Reply
  • I think there is a hardware problem on your board. Please download the monitor to address 0 and check if the memory at address 1A800 can be accessed by modifying some bytes.

    After uVision2 downloads the monitor, a checksum is built over the monitor address area to see if the download was successful. If the checksum is correct, the MON_START command is sent. It seems that the monitor download was not successful on the high address of your board.

Children