Help with a 16F84A


Closed Thread
Results 1 to 15 of 15
  1. #1
    Lilmanmgf's Avatar
    Lilmanmgf Guest

    Default Help with a 16F84A

    I got a brand new 16F84A from jameco. I have an epic programmer and I am using picbasic pro. When I go to programmer the chip it says error not blank so I erase it but get the same error. It says the problem is in 0000-0001. When I look at the code on the chip in that section instead of having 0000 like all the others it has 3fff. Is there anything I can do to fix this or do I need to buy a new chip?

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Default

    This may sound like a dumb question but do you have the programmer plugged into a power supply? What you describe is what I have encountered when I forgot the PS. Also have you checked all of your settings witin the program for the proper programmer?

    BobK

  3. #3
    Lilmanmgf's Avatar
    Lilmanmgf Guest


    Did you find this post helpful? Yes | No

    Default

    Yeah its the right power supply.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    how do program your PIC : directly in the EPIC socket or in-circuit?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Sorry,

    I cant't help with that question, but I have another question related to the initial one:

    Why is that "old" 16F84 still that popular?

    I have never used it because there are many other 18pin PICs with more features available at much lower prices.

    regards

    Ralph

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Ralph
    Why is that "old" 16F84 still that popular?
    IMO it's so popular because it's one of the first one. If you do a search on the web, you'll find more project with this PIC16F84. In the begining he made his popularity here in some *black box TV project* ;0)

    AND, most free programmer (PONYPROG,ICPROG,EL CHEAPO... ) has been developed around this one. I still have those in stock. when i want to decrease my stock(about 300 remain as now), i use them in some simple tasks (still pain in the neck when you MUST use external oscillator... ) Like those 16C54 that i still have(about 200)... i must found something to use them :0)

    BUT i heard that in some Country, this PIC16F84 is the less expensive one. Here in Montreal, if you want to experiment with PIC, local/public distributor (active, addisson, master-vox...) will hold only 16F84,16F877,12C508 and SOMETIMES at some place 16F628. This is why i do order from Digikey, Newark or else other.


    Lilmanmgf

    Seems like a bad PIC... i'm really not sure but. I still asking the same question. Do you program your PIC in-circuit or directly in the EPIC socket. CAse in-circuit, try to erase directly in the EPIC socket. Can you monitor the MCLR pin when you program it? Should be around 13Volts.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Originally posted by mister_e

    ... Like those 16C54 that i still have(about 200)... i must found something to use them
    If thay are DIP, you could use them as Pins on your PinBoard ;-)

    regards Ralph

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Talking

    LOL... yep they're close to that. The only *close intelligent* use i found for them is backpack lcd stuff or 7 Segment multiplexing display... still good enough for that... I really hate those OTP since they don't have all a FLASH version... still stoneage UV method.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  9. #9
    Lilmanmgf's Avatar
    Lilmanmgf Guest


    Did you find this post helpful? Yes | No

    Default

    sry for taking so long. Its in the epic socket. I been using one at school for a while and I finally got one for myself. It never game me an error like this before. I guess I'll buy a new chip. Its annoying because I finally bought a programmer and I just test a simple program and...nothing.

  10. #10
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm, be sure of the voltage of the power supply first. Be sure you have the right one. Test MCLR when programming too. It's maybe only caused by a *close to be dead* power supply.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  11. #11
    Lilmanmgf's Avatar
    Lilmanmgf Guest


    Did you find this post helpful? Yes | No

    Default

    I just bought it from JameCo so its brand new. I tested it with the epic programmer at school and it worked so I'm guessing its the chip.

  12. #12
    Lilmanmgf's Avatar
    Lilmanmgf Guest


    Did you find this post helpful? Yes | No

    Default

    Okay I have no voltage over the mclr pin.

  13. #13
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Talking

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  14. #14
    Lilmanmgf's Avatar
    Lilmanmgf Guest


    Did you find this post helpful? Yes | No

    Default

    i tried with fresh batteries as well and still no go. Time to get a new chip.

  15. #15
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    You have no voltage on MCLR pin. What about the VDD?

    If you don't have any voltage on MCLR pin but on VDD... PIC will never start. MCLR must be tie to vcc via resistor with PIC16F84
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Code works on 16F84A but not on 16F88?
    By pharaohamps in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th November 2009, 19:29
  2. ICSP using a 16F84a to program 24CXX
    By aftab in forum mel PIC BASIC
    Replies: 26
    Last Post: - 8th April 2007, 12:39
  3. 16F84A and Optrex LCD
    By coyotegd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th October 2005, 17:08
  4. RS 485 using 16F84A
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th May 2005, 15:46
  5. what's similar to the 16f84a?
    By kenpo in forum General
    Replies: 11
    Last Post: - 18th February 2005, 19:26

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts