|
|
View previous topic :: View next topic |
Author |
Message |
Kien Tran Guest
|
ICD-U Not Driving 13V on custom mainboard |
Posted: Mon Jul 21, 2003 4:46 pm |
|
|
Hello,
I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
Does anyone have any ideas or suggestions I may try?
Thanks
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516234 |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
Re: ICD-U Not Driving 13V on custom mainboard |
Posted: Mon Jul 21, 2003 6:31 pm |
|
|
Did you connect all VDD and Vss sources? Is anything connected to RB7 or RB6?
:=Hello,
:=
:=I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
:=
:=I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
:=
:=From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
:=
:=Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
:=
:=Does anyone have any ideas or suggestions I may try?
:=
:=Thanks
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516237 |
|
|
R J Hamlett Guest
|
Re: ICD-U Not Driving 13V on custom mainboard |
Posted: Tue Jul 22, 2003 7:04 am |
|
|
:=Did you connect all VDD and Vss sources? Is anything connected to RB7 or RB6?
:=:=Hello,
:=:=
:=:=I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
:=:=
:=:=I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
:=:=
:=:=From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
:=:=
:=:=Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
:=:=
:=:=Does anyone have any ideas or suggestions I may try?
:=:=
:=:=Thanks
Put a meter across the '47k' resistor, and verify you don't have a short here. If the resistor was (say) 47R by mistake, or there was a solder bridge, it'd prevent the pin being pulled to Vihh, and programming mode being triggered.
Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516242 |
|
|
Kien Tran Guest
|
Re: ICD-U Not Driving 13V on custom mainboard |
Posted: Tue Jul 22, 2003 10:55 am |
|
|
Everything is connected appropriately. The only thing across RB7/6/3 is the ICD itself.
Here are the readings when I first put the ICD in. RB7/6 and MCLR are +5 and RB3 is GND.
From leaving the MCLR line untied to anything during programing, I see that even if there's nothing tied to it, the ICD does not pull it up. Yet, on the CCS board, it does.
Any thoughts?
I've tried driving the chip using an extra 12V adapter, and the ICD program occasionaly recognizes the chip, but yets to program.
:=:=Did you connect all VDD and Vss sources? Is anything connected to RB7 or RB6?
:=:=:=Hello,
:=:=:=
:=:=:=I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
:=:=:=
:=:=:=I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
:=:=:=
:=:=:=From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
:=:=:=
:=:=:=Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
:=:=:=
:=:=:=Does anyone have any ideas or suggestions I may try?
:=:=:=
:=:=:=Thanks
:=Put a meter across the '47k' resistor, and verify you don't have a short here. If the resistor was (say) 47R by mistake, or there was a solder bridge, it'd prevent the pin being pulled to Vihh, and programming mode being triggered.
:=
:=Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516248 |
|
|
R J Hamlett Guest
|
Re: ICD-U Not Driving 13V on custom mainboard |
Posted: Tue Jul 22, 2003 11:48 am |
|
|
:=Everything is connected appropriately. The only thing across RB7/6/3 is the ICD itself.
:=
:=Here are the readings when I first put the ICD in. RB7/6 and MCLR are +5 and RB3 is GND.
:=
:=From leaving the MCLR line untied to anything during programing, I see that even if there's nothing tied to it, the ICD does not pull it up. Yet, on the CCS board, it does.
:=
:=Any thoughts?
Is the code absolutely identical?. It'd behave like this (and fail to program, because it'd need the RB3 connection), if the code was switching to LVP mode...
Best Wishes
:=I've tried driving the chip using an extra 12V adapter, and the ICD program occasionaly recognizes the chip, but yets to program.
:=
:=:=:=Did you connect all VDD and Vss sources? Is anything connected to RB7 or RB6?
:=:=:=:=Hello,
:=:=:=:=
:=:=:=:=I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
:=:=:=:=
:=:=:=:=I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
:=:=:=:=
:=:=:=:=From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
:=:=:=:=
:=:=:=:=Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
:=:=:=:=
:=:=:=:=Does anyone have any ideas or suggestions I may try?
:=:=:=:=
:=:=:=:=Thanks
:=:=Put a meter across the '47k' resistor, and verify you don't have a short here. If the resistor was (say) 47R by mistake, or there was a solder bridge, it'd prevent the pin being pulled to Vihh, and programming mode being triggered.
:=:=
:=:=Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516249 |
|
|
Kien Tran Guest
|
Re: ICD-U Not Driving 13V on custom mainboard |
Posted: Tue Jul 22, 2003 2:11 pm |
|
|
Using the same hex file for both parts. I might try moving to a breadboard if this keeps up. I'm oiut of ideas as to what the problem could be.
:=:=Everything is connected appropriately. The only thing across RB7/6/3 is the ICD itself.
:=:=
:=:=Here are the readings when I first put the ICD in. RB7/6 and MCLR are +5 and RB3 is GND.
:=:=
:=:=From leaving the MCLR line untied to anything during programing, I see that even if there's nothing tied to it, the ICD does not pull it up. Yet, on the CCS board, it does.
:=:=
:=:=Any thoughts?
:=Is the code absolutely identical?. It'd behave like this (and fail to program, because it'd need the RB3 connection), if the code was switching to LVP mode...
:=
:=Best Wishes
:=
:=:=I've tried driving the chip using an extra 12V adapter, and the ICD program occasionaly recognizes the chip, but yets to program.
:=:=
:=:=:=:=Did you connect all VDD and Vss sources? Is anything connected to RB7 or RB6?
:=:=:=:=:=Hello,
:=:=:=:=:=
:=:=:=:=:=I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
:=:=:=:=:=
:=:=:=:=:=I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
:=:=:=:=:=
:=:=:=:=:=From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
:=:=:=:=:=
:=:=:=:=:=Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
:=:=:=:=:=
:=:=:=:=:=Does anyone have any ideas or suggestions I may try?
:=:=:=:=:=
:=:=:=:=:=Thanks
:=:=:=Put a meter across the '47k' resistor, and verify you don't have a short here. If the resistor was (say) 47R by mistake, or there was a solder bridge, it'd prevent the pin being pulled to Vihh, and programming mode being triggered.
:=:=:=
:=:=:=Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516258 |
|
|
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
|
Re: ICD-U Not Driving 13V on custom mainboard |
Posted: Tue Jul 22, 2003 2:22 pm |
|
|
:=Hello,
:=
:=I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
:=
:=I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
:=
:=From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
:=
:=Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
:=
:=Does anyone have any ideas or suggestions I may try?
:=
:=Thanks
I can't use mine for production either. I don't think it's an operator error because the ICD2 works in the same circuit.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516263 |
|
|
Mike Nicholson Guest
|
Re: ICD-U Not Driving 13V on custom mainboard |
Posted: Fri Jul 25, 2003 3:03 pm |
|
|
I had the same problem. The ICD-U wouldn't program the chip on my custom board. Almost everyone uses an R/C on the MCLR pin. (such as a 10k and a 0.1uF cap) This circuit keeps the micro from reseting if there's a noise spike. However the ICD-U can't seem to drive the 0.1uF cap. I removed the cap and now can program/debug no problem. However I'll probably need to add the capacitor back again. Perhaps a smaller cap would work 0.01uf.
Mike
:=Using the same hex file for both parts. I might try moving to a breadboard if this keeps up. I'm oiut of ideas as to what the problem could be.
:=
:=:=:=Everything is connected appropriately. The only thing across RB7/6/3 is the ICD itself.
:=:=:=
:=:=:=Here are the readings when I first put the ICD in. RB7/6 and MCLR are +5 and RB3 is GND.
:=:=:=
:=:=:=From leaving the MCLR line untied to anything during programing, I see that even if there's nothing tied to it, the ICD does not pull it up. Yet, on the CCS board, it does.
:=:=:=
:=:=:=Any thoughts?
:=:=Is the code absolutely identical?. It'd behave like this (and fail to program, because it'd need the RB3 connection), if the code was switching to LVP mode...
:=:=
:=:=Best Wishes
:=:=
:=:=:=I've tried driving the chip using an extra 12V adapter, and the ICD program occasionaly recognizes the chip, but yets to program.
:=:=:=
:=:=:=:=:=Did you connect all VDD and Vss sources? Is anything connected to RB7 or RB6?
:=:=:=:=:=:=Hello,
:=:=:=:=:=:=
:=:=:=:=:=:=I've been using both the premade prototypeing boards from CCS and I am wanting to move to a demo production board that supports serial programing using the ICD.
:=:=:=:=:=:=
:=:=:=:=:=:=I have built a basic board with the 16f877 chip, an occilator attached, 47K pull up tied to the MCLR and all the appropriate wires from the ICD-u tied to the chip.
:=:=:=:=:=:=
:=:=:=:=:=:=From what I can gather, the ICD interface program is not able to detect the chip. I've gone into manual mode to explicitly select the appropriate chip and attempt to write it. It states it writes it but fails verification. Upon examination, it does not write anything to the chip
:=:=:=:=:=:=
:=:=:=:=:=:=Upon further testing, I've found that the ICD-U does not generate the 13V required to program the chip. It does generate this voltatage on programing the CCS boards though, so I know the ICD-U works properly.
:=:=:=:=:=:=
:=:=:=:=:=:=Does anyone have any ideas or suggestions I may try?
:=:=:=:=:=:=
:=:=:=:=:=:=Thanks
:=:=:=:=Put a meter across the '47k' resistor, and verify you don't have a short here. If the resistor was (say) 47R by mistake, or there was a solder bridge, it'd prevent the pin being pulled to Vihh, and programming mode being triggered.
:=:=:=:=
:=:=:=:=Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516373 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|