|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
(VERY) new 16f84a programmer needs help!This message was Auto discarded by the system
----- Original Message ----- From: Shaun Murphy To: piclist@... Sent: Friday, July 18, 2008 4:32 AM Subject: [PIC] (VERY) new 16f84a programmer needs help! Hello all I've recently become interested in learning to program embedded chips, and with that in mind bought the starter kit featured in the link below:- http://cgi.ebay.co.uk/Getting-Started-PIC-16F84-LED-PCB-kit-programmer_W0QQitemZ120281761643QQcmdZViewItem?hash=item120281761643&_trksid=p3286.m14.l1318 I have built the circuit on a solderless bread board and I am as sure as I can be that it is all as per the diagram. I compiled the example source code using CCS PICC running in MPLAB and it created the .hex file repoting no errors (other than a warning because of the infinite loop). I then sent it to the 16f84a using icprog which seemd to work as expected. When I power the circuit nothing happens. If I disconect pin 5 (Vss) the LED lights up but doesnt blink. I'm sure I am missing something very simple but as I said, I am a complete novice with both programming and electronics so it it very tough to work out which part of the process I've done wrong. Thanks in advance -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!Is your LED installed backwards?
> ----- Original Message ----- > From: Shaun Murphy > To: piclist@... > Sent: Friday, July 18, 2008 4:32 AM > Subject: [PIC] (VERY) new 16f84a programmer needs help! > > > Hello all > > I've recently become interested in learning to program embedded chips, and > with that in mind bought the starter kit featured in the link below:- > > http://cgi.ebay.co.uk/Getting-Started-PIC-16F84-LED-PCB-kit-programmer_W0QQitemZ120281761643QQcmdZViewItem?hash=item120281761643&_trksid=p3286.m14.l1318 > > I have built the circuit on a solderless bread board and I am as sure as I > can be that it is all as per the diagram. I compiled the example source code > using CCS PICC running in MPLAB and it created the .hex file repoting no > errors (other than a warning because of the infinite loop). I then sent it > to the 16f84a using icprog which seemd to work as expected. > > When I power the circuit nothing happens. If I disconect pin 5 (Vss) the LED > lights up but doesnt blink. > > I'm sure I am missing something very simple but as I said, I am a complete > novice with both programming and electronics so it it very tough to work out > which part of the process I've done wrong. > > > Thanks in advance > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- The wireless telegraph is not difficult to understand. The ordinary telegraph is like a very long cat. You pull the tail in New York, and it meows in Los Angeles. The wireless is the same, only without the cat. – Albert Einstein -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!?
Apptech wrote: > This message was Auto discarded by the system > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!----- Original Message ----- From: "Apptech" <apptech@...> To: "PIC List" <PICLIST@...> Sent: Friday, July 18, 2008 10:31 AM Subject: [PIC] (VERY) new 16f84a programmer needs help! > This message was Auto discarded by the system > > > ----- Original Message ----- > From: Shaun Murphy > To: piclist@... > Sent: Friday, July 18, 2008 4:32 AM > Subject: [PIC] (VERY) new 16f84a programmer needs help! > > > Hello all > > I've recently become interested in learning to program embedded chips, and > with that in mind bought the starter kit featured in the link below:- > > http://cgi.ebay.co.uk/Getting-Started-PIC-16F84-LED-PCB-kit-programmer_W0QQitemZ120281761643QQcmdZViewItem?hash=item120281761643&_trksid=p3286.m14.l1318 > > I have built the circuit on a solderless bread board and I am as sure as I > can be that it is all as per the diagram. I compiled the example source > code > using CCS PICC running in MPLAB and it created the .hex file repoting no > errors (other than a warning because of the infinite loop). I then sent it > to the 16f84a using icprog which seemd to work as expected. > > When I power the circuit nothing happens. If I disconect pin 5 (Vss) the > LED > lights up but doesnt blink. > > I'm sure I am missing something very simple but as I said, I am a complete > novice with both programming and electronics so it it very tough to work > out > which part of the process I've done wrong. > > > Thanks in advance Not knowing your level of electrical/electronics knowledge, some of the below may be far too basic. However, I'll ask anyway. First, are you aware that the point labeled as "0V" and that labeled as "GND" are really the same point? Both are your negative voltage reference (ground or the negative terminal of your supply). I noticed the #include file was for a 16C84A, not 16F84A. Is this file included in CCS PICC? Is the 16C84A.h file the same as the 16F84A.h file? Also noticed resistor on pin 1 labeled as 470oM instead of 470 ohm but, as long as they provided the correct value, no big deal. What are you using for a power source? Is it providing the correct voltage and adeqate current to your circuit? Do you have access to a digital multimeter? You may want to perform continuity checks to be sure all is connected as you believe. In general, the microcontroller needs power (+5Vdc on pin 14), ground ( negative voltage reference on pin 5), +5Vdc on pin 4 (!MCLR or 'NOT master clear')(since you have it connected), and a clock (on pins 15 and 16), to operate. All of these can be checked with a digital multimeter. If the crystal oscillator is running, you should read about 2.4Vdc from either clock pin to ground. Even better, if you have access to an oscilloscope, you can get a visual indication of whether or not the oscillator is running. Good luck, Richard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!>> Apptech wrote:
>> This message was Auto discarded by the system > ? Some messages get discarded by mailman for various reasons. This was one such. Many are spam but this was not (apparently :-) ). I undiscarded it as noted. Russell -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!Apptech wrote:
> Some messages get discarded by mailman for various reasons. > This was one such. And that serves as a first pass intelligence filter for anyone wanting to post here. If someone doesn't tag a post properly and it gets discarded, oh well. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!> Apptech wrote:
>> Some messages get discarded by mailman for various >> reasons. >> This was one such. > And that serves as a first pass intelligence filter for > anyone wanting to > post here. If someone doesn't tag a post properly and it > gets discarded, oh > well. 1. Now, that sounds more like the real Olin. Welcome back. What have you done with your clone? 2. Mayhaps. But it also acts as a first pass intelligence and capability demonstrator for the software writers and filter parameter setters. Many of the rejected messages are clearly validly rejected, but some 'just happen' for reasons that are variably obscure. Russell -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!Do ya have a bypass cap across VDD and VSS on the PIC? Almost nothing
runs without it. Bob A On 7/19/08, Apptech <apptech@...> wrote: >> Apptech wrote: >>> Some messages get discarded by mailman for various >>> reasons. >>> This was one such. > >> And that serves as a first pass intelligence filter for >> anyone wanting to >> post here. If someone doesn't tag a post properly and it >> gets discarded, oh >> well. > > 1. Now, that sounds more like the real Olin. Welcome > back. What have you done with your clone? > > 2. Mayhaps. But it also acts as a first pass intelligence > and capability demonstrator for the software writers and > filter parameter setters. Many of the rejected messages are > clearly validly rejected, but some 'just happen' for reasons > that are variably obscure. > > > Russell > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!> When I power the circuit nothing happens. If I disconect pin 5 (Vss) the
LED > lights up but doesnt blink. Do not do that! In that way the Vdd can find the way over the clamp diodes through the port pins of your chip to the ground, hence the LED lights up continuously. Vss = GND = 0V -- in that drawing it was quite confusing as Richard pointed this out already. That programmer looks like a JDM one, which gets the programming voltage from the serial line level. In newer computers, however, that level may not 12V but much lower therefore the programming could be failed - not sure about that programmer software if that makes a verification after writing the hex to the chip? Try to read it back manually and see if the hex file downloaded to the chip correctly. And put 100nF capacitor in between Vdd and Vss very close to the chip. Tamas On Fri, Jul 18, 2008 at 3:31 PM, Apptech <apptech@...> wrote: > This message was Auto discarded by the system > > > ----- Original Message ----- > From: Shaun Murphy > To: piclist@... > Sent: Friday, July 18, 2008 4:32 AM > Subject: [PIC] (VERY) new 16f84a programmer needs help! > > > Hello all > > I've recently become interested in learning to program embedded chips, and > with that in mind bought the starter kit featured in the link below:- > > > http://cgi.ebay.co.uk/Getting-Started-PIC-16F84-LED-PCB-kit-programmer_W0QQitemZ120281761643QQcmdZViewItem?hash=item120281761643&_trksid=p3286.m14.l1318 > > I have built the circuit on a solderless bread board and I am as sure as I > can be that it is all as per the diagram. I compiled the example source > code > using CCS PICC running in MPLAB and it created the .hex file repoting no > errors (other than a warning because of the infinite loop). I then sent it > to the 16f84a using icprog which seemd to work as expected. > > When I power the circuit nothing happens. If I disconect pin 5 (Vss) the > LED > lights up but doesnt blink. > > I'm sure I am missing something very simple but as I said, I am a complete > novice with both programming and electronics so it it very tough to work > out > which part of the process I've done wrong. > > > Thanks in advance > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Rudonix DoubleSaver http://www.rudonix.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
|
|
Re: (VERY) new 16f84a programmer needs help!You might want to check that your programming software had XT ticked
for the configuration word. Some default to RC. I see that XT is the fuse set in the code, but some compiler/programmers - discard/ignore it. Colin -- cdb, colin@... on 20/07/2008 Web presence: www.btech-online.co.uk Hosted by: www.1and1.co.uk/?k_id=7988359 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist |
| Free Forum Powered by Nabble | Forum Help |