View previous topic :: View next topic |
Author |
Message |
joshkeys
Joined: 16 Aug 2005 Posts: 37 Location: Fredericton,NB
|
Programming problems |
Posted: Thu Oct 26, 2006 4:44 pm |
|
|
Hi everyone,
I just got a brand new ICD U40 programmer after my last one broke, anyways so for the past week i have been trying to get it to work but i kept getting problem after problem with verification errors after trying to program my code into my PIC18F4320.. it turns out that instead of using my brand new digital power supply, if i used a 9V battery with a 5V regulator it would work. I am programming from my laptop, which i always kept plugged into the wall to ensure the same ground as my power supply (which i connected the "-" terminal to the ground terminal to keep them at the same ground reference). Anyways would anybody be able to tell me as to why using a power supply would cause these problems? I checked the output with my scope and it is a clean 5V signal, but for some reasons causes grief with programming and verification problems. Thanks again
Josh |
|
|
rnielsen
Joined: 23 Sep 2003 Posts: 852 Location: Utah
|
|
Posted: Thu Oct 26, 2006 5:05 pm |
|
|
Did you check the supply while it was plugged in? If it was unplugged you won't have any load on it and you might have lost a filter cap in your supply which would cause too much ripple for the programmer to handle. Maybe try placing a cap across the power connection, on your programmer, to check and see if that's the problem.
Ronald |
|
|
joshkeys
Joined: 16 Aug 2005 Posts: 37 Location: Fredericton,NB
|
|
Posted: Thu Oct 26, 2006 5:16 pm |
|
|
I didnt have a cap on the progammer power supply pins.. i just tried that and it seems to be working now with the power supply.. The thing is i watch the supply with the scope and it is clean, but yet it wont work without the cap?? Thanks for the tip, although I wish i could see a differnce in the supply so it would make sense, but it still looks the same, but now works with the cap.
THanks,
Josh |
|
|
|