2012-08-30, 22:13:46
(This post was last modified: 2012-12-25, 17:12:21 by Mikael Gustavsson.)
I'm at a little bit of a loss here..
I'm Using a 18F4520 4Mhz external clock.
The configuration & MPLAB build seems fine, and I can program the bootload code with the ICD3.
But when I use the ICD3 to single step it's not executing correctly:
1) it does the 1st instruction (goto blstart) ok
2) the next instruction (clrf doerase) causes the execution to go to Mainloop
I must have something set up wrong on the ICD3? but I have another application I use with the same target hardware that runs and single steps fine.
Thanks in advance for any ideas on this
I'm Using a 18F4520 4Mhz external clock.
The configuration & MPLAB build seems fine, and I can program the bootload code with the ICD3.
But when I use the ICD3 to single step it's not executing correctly:
1) it does the 1st instruction (goto blstart) ok
2) the next instruction (clrf doerase) causes the execution to go to Mainloop
I must have something set up wrong on the ICD3? but I have another application I use with the same target hardware that runs and single steps fine.
Thanks in advance for any ideas on this