blueroomelectronics
Advanced Member level 5
- Joined
- Sep 17, 2006
- Messages
- 1,681
- Helped
- 180
- Reputation
- 358
- Reaction score
- 77
- Trophy points
- 1,328
- Location
- Toronto, Canada
- Activity points
- 8,696
The config fuses might be set wrong. WDT_OFF, HSOSC
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This depends on the MPLAB, not the ICD2. Use the last MPLAB version.ntung said:Is it possible to use newer PIC16F886/887 for ICD2?
So, check those resistor values, and try to use a resistor on the MCLR line, about 50 to 100Ohms to prevent the latch up.The two diodes should be germanium or schottky type because of the lower voltage drop across them. The values of resistors together with the defined limited current amplification of the B-series transistors ensure that there will flow sufficient but not too high currents into the MCLR-Pin so the target's PIC won't latch-up.
If you use different types of transistors, you have to adjust R1 to R4. If you spend extra current limiting resistors (about 50Ohm) in line with Vpp/Vdd at T2/T3, R1 to R4 aren't cirital any more. You should be able to use 10K for R1 to R4 then.
levy_k said:Did you place extra capacitors between the VCC and GND lines of the ICD? Because I don't see any of them on the schematic, but they are essential for proper and stable working.Place those 100nF capacitors between the PIC18F4550 and PIC16F877(A) VCC and GND line.
So, check those resistor values, and try to use a resistor on the MCLR line, about 50 to 100Ohms to prevent the latch up.
Cheers!
P.S. By the way, thank you for the points.
levy_k said:First of all, get a scope or a logic analyser and check