I am using PicKit2 Debugger with Pic16F690. The debugger has worked great until a recent program change. I altered some code and troubleshot it using the MPLab Simulator. Once everything worked in the simulator, I uploaded the code to the Pic16F690 through the PicKit2 Debugger. After I compile the code and program the target device, the following problems occur:
1) The green arrow starts on address 21B rather than the RESET_VECTOR.
2) The instruction at 21B is suppose to go to 0x1C; instead, it goes to address 016 which is towards the end of the interrupt code. When the end of the interrupt code is reached, "retfie" sends the code to another subroutine.
What might cause this problem?
1) The green arrow starts on address 21B rather than the RESET_VECTOR.
2) The instruction at 21B is suppose to go to 0x1C; instead, it goes to address 016 which is towards the end of the interrupt code. When the end of the interrupt code is reached, "retfie" sends the code to another subroutine.
What might cause this problem?