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

Debugging code in keil

Dear All,
I'm using c8051F120 and Keil uVision2 IDE. If I want to debug my code, I should connect to my target from the IDE using JTAG. While doing this, every time the code is downloading to my target. Is it possible to connect and debug my code without downloading it every time?.(Assume that the code remains same).

Thanks in advance
- Neo

  • "I'm using c8051F120 and Keil uVision2 IDE"

    so the 'Product' should be "C51" - not "C166"

    "Is it possible to connect and debug my code without downloading it every time?"

    I don't know if it is possible, but it introduces the risk that the code you think you're debugging is not the code that's actually in the chip!

    I'm sure we've all done it - made changes, then forgot to build, or download, or something, and wondered why nothing had changed...!

    Therefore, unless the download is really causing you problems, I suggest that you just live with it!

  • I think you are looking for the option "Load Application on Startup", in the Target Options dialog->Debug.