Code programming error at 0000


Closed Thread
Results 1 to 40 of 42

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Dayton, Ohio
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    JDM,

    Did you ever replace that cable? M to F 25-pin, straight thru (not null-modem cable).

    I would fix that FIRST. Even though the "hillbilly cable rig" works on some/most chips, the longer cable run might be a problem for others. Additional noise, voltage drop, etc.
    Jim Robertson
    "MilesTag" DIY Lasertag
    www.lasertagparts.com/mtdesign.htm
    Dayton, Ohio

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default

    I've just started getting this error too. I am using the MeLabs serial programmer on a 16F628A in circuit (which has a 0.1uF cap).

    Odd, I can program a 18F2550 on the same circuit over and over again without any problem.

    I have Erase Before Programming but I keep getting the same 0000 error. I must have tried at least 20 times just now.

    I'll try soldering PGC/PGD real close to the PIC and see if the length of the leads (along with trace length) is at fault.

    Robert
    :shrug:
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default

    I've soldered PGC/PGD right at the 16F628A in-circuit with the same 0000 error.

    I'm also using an external power supply for the circuit, the same supply I used when this was on breadboard.

    I don't think this is a configuration problem either 'cause I made sure to breadboard this circuit beforehand. This was the 1st time I upgraded a 16F628 to a 16F628A and I wanted to be sure of the configuration settings.

    Frustrating, and I'm sure it's not hard to fix this either...

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. Code doesn't work on 16F648A
    By Mr_Joe in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st September 2018, 22:09
  2. Error programming 10F222
    By JoelMurphy in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 25th July 2009, 15:23
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. "Program Memory Error" with MPLAB IDE (PBP)
    By aggie007 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th November 2007, 19:27
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 17:23

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