View previous topic :: View next topic |
Author |
Message |
ljmnunes
Joined: 02 Sep 2004 Posts: 13 Location: Brazil
|
Target don't works without ICD-U40 |
Posted: Thu Sep 02, 2004 8:02 am |
|
|
Hello!
I have a old target circuit with 16F873A, made without ICD/ICSP facilities. The original code works fine, so the hardware is ok.
Recently I bought the ICD-U40 and make some changes in the source code. To connect PB6, PB7, MCLR, GND and VCC lines to ICD, I made a small PIC connected on the original PIC's socket and the PIC in a new one on this PCB. The MCLR have 47Kresistor to VCC.
I was surprised because the new code runs only with the ICD connected, even when I remove the #device icd=true line.
Can anyone help me?
Thanks
Laercio |
|
|
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
|
|
Posted: Thu Sep 02, 2004 5:20 pm |
|
|
- Make sure you haven't broken the ground connection to any of the PIC's GND pins
- Make sure you don't have the fuse DEBUG in the #fuses
- Lower the value of the resistor on the MCLR pin to 22k and see if it works.
If the problem persists, give us more information about your circuit. |
|
|
ljmnunes
Joined: 02 Sep 2004 Posts: 13 Location: Brazil
|
|
Posted: Thu Sep 02, 2004 6:55 pm |
|
|
- Make sure you don't have the fuse DEBUG in the #fuses
I think the problem is there, but it is funny because the original source code have the fuse NODEBUG set in.
I changed it to DEBUG and now it works very well...
Thanks for your help.
Laercio |
|
|
|