I have written a program in assembly on PIC16F690 that works great in the MPLAB Simulator. However, the program does not do what I expect it to do when I program the pic and assemble the device. Please recommend a simulator that allows me to go line by line in the code and test the device in real time.
I would recommend using a PICkit2. It runs in real-time, so as you step through the code, it steps through with the hardware itself. It's extremely useful and quite easy to use. Definitely the best way to do it. Just connect your PK2 to your hardware, select the "PICkit2" as the debug tool under the "debugger" menu, and start stepping through the code.
Good luck!
Der Strom
I would recommend using a PICkit2. It runs in real-time, so as you step through the code, it steps through with the hardware itself. It's extremely useful and quite easy to use. Definitely the best way to do it. Just connect your PK2 to your hardware, select the "PICkit2" as the debug tool under the "debugger" menu, and start stepping through the code.
Good luck!
Der Strom
I love the quotes. Thank you so much for the help. I ordered PicKit2 dubugger hardware today. When using the PicKit2 Debugger, is it the same as using the MPLAB Simulator?
I love the quotes. Thank you so much for the help. I ordered PicKit2 dubugger hardware today. When using the PicKit2 Debugger, is it the same as using the MPLAB Simulator?
It is similar, and basically set up the same way. Just have to change one or two settings and you need the real hardware, but it works great. Definitely worth it!
It will not debug a 16f690 with out a special header. If you want to debug I would order some 16f88 there debug able with out a header and so are the 18f chips
It will not debug a 16f690 with out a special header. If you want to debug I would order some 16f88 there debug able with out a header and so are the 18f chips
MPLAB IDE v8.66
Device Programming and Debugging Support
Midrange – Programming & Debugging
‘LF’ versions of all devices are also supported
PIC16F631*, 677*, 685*, 687*, 689*, 690*
- Use AC162061 ICD header & AC164110 adapter.
If you open mplab and use select device it will tell you if you need a header or not.
I have checked and it tell you that you require a ICE/ICD AC162061 header.
But this is what you have to have to debug in MPLAB you can't debug with the pickit software ide you use MPLAB and pick your debugger
MPLAB IDE v8.66
Device Programming and Debugging Support
Midrange – Programming & Debugging
‘LF’ versions of all devices are also supported
PIC16F631*, 677*, 685*, 687*, 689*, 690*
- Use AC162061 ICD header & AC164110 adapter.