Regnum
Full Member level 5
- Joined
- Jun 17, 2004
- Messages
- 262
- Helped
- 18
- Reputation
- 36
- Reaction score
- 7
- Trophy points
- 1,298
- Location
- Hurlingham
- Activity points
- 2,168
All 18 family devices are supportedmaster_slave said:What other PIC devices in which this RS-232 ICD2 can be used with aside from PIC16F87X? Can it be used for the PIC18F devices?
Yesmaster_slave said:Can it be used also to debug PIC programs written in C through compilers like PICC?
Do you have the ICD2 selected as a Debugger?, and not as a Programmer. In newer MPLAB versions, you don’t set the Debug flag manually. It’s automatically done when you program the PIC from the Debugger menu, but not from the Programmer menu.ITP said:I made the ICD2 version from h**p://www.stolz.de.be/.
But it shows this error message. My target is PIC16F876
What could be the problem. Kindly help.
Thanks and regards
Itp
...
Connecting to debug executive
ICD0083: Target not in debug mode, unable to perform operation
MPLAB ICD 2 Ready
---------------------------------------------------------------------------
#include <18f1320.h>
#device ICD=TRUE
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=4098000)
#define TOGGLE_PIN PIN_B0
// This function turns the LEDs on and off
void flash_led()
{
output_low(TOGGLE_PIN);
delay_ms(1000);
output_high(TOGGLE_PIN);
delay_ms(1000);
}
void main()
{
while(TRUE)
flash_led();
}
MPLAB ICD 2 Ready
Programming Target...
...Erasing Part
...Programming EEPROM Memory
...Programming Program Memory (0x0 - 0x6F)
...Loading DebugExecutive
...Programming DebugExecutive
...Programming Debug Vector
...Programming RSBUG
...Programming User IDs
Verifying...
...Program Memory
...EEPROM
...User ID Memory
...Debug Executive
...Debug Vector
...Verify Succeeded
Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
...Verify Succeeded
Connecting to debug executive
ICD0083: Target not in debug mode, unable to perform operation
MPLAB ICD 2 Ready
Oscillator HS
Fail-Safe Clock Monitor Enabled
Internal External Switch Over Mode Enabled
Power Up Timet Disabled
Brown On Detect Enabled
Watchdog Timer Disabled
Master Clear Enable MCLR enabled, RA5 input disabled
Stack Overflow Reset Enabled
..................
the rest bits are Disabled
narccizzo said:my ICD2 works too slow is this normal?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?