Good day! We using c167cs-lm +32K external memory (tiny memory model) at addr 0-8000h. When starting debug session in bootstrap mode "connection to target system lost" appears after the monitor is downloaded in memory (scroll bar 100%). When i look in memory with MiniMon i see code at code_start address. In monitor in ROM mode is also no connection. Please explain: after compiling monitor in ASC0 mode i look into hex-file and at addr 0 there is no code. How monitor can start if no reset vector setting?
The bootstrap loader executes the Monitor at a different address then 0. Do not focus on the HEX content at 0.
This looks like a configuration issue in the CONFIG.INC file. Take a look here: www.keil.com/.../mon166_troubleshooting.htm