niether change is working. Switching the defines didn't change anything and enable/disable debug times out when I click the ICD start button.
ICD is working with most of my other programs as long as the main part of the program is within 4 lines of the chip registers and port init states.
I'm using a 16F876A and compiling the program with that MCU in the drop-down. I've also tried changing OSCs and speeds in the .inc file.
For example, the following program works ok with ICD:
define OSC 20
define LOADER_USED 1
trisa = %00000000
trisb = %00000000
top:
porta = %11111111
portb = %11111111
pause 1000
porta = %00000000
portb = %00000000
pause 1000
goto top
Bookmarks