PIC18f4220


Closed Thread
Results 1 to 12 of 12

Thread: PIC18f4220

Hybrid View

  1. #1
    jcullins's Avatar
    jcullins Guest

    Question PIC18f4220

    I am trying to program the pic18f4220a chip and get the error message
    code programming error at 0000.
    Is there an example using this or any other pic18f chip ?
    Thank you
    Jim

  2. #2
    jcullins's Avatar
    jcullins Guest


    Did you find this post helpful? Yes | No

    Default Pic18f4220

    I forgot to add I am using
    Pic Basic Pro ver 2.46
    MeProg ver 3.3
    micro studio plus 2.3

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Is there a MCSP 2.3 version?

    On their site is only 2.2.1.1

    Ioannis

  4. #4
    jcullins's Avatar
    jcullins Guest


    Did you find this post helpful? Yes | No

    Question pic18f4220

    Yes, you should be able to down load it.
    Have you programmed the PIC18f4220 ?
    I have an example file form MELabs that compiles
    but when I try to program it it comes up with "code error at 0008"
    I am wondering if it is my 40 pin ZIF socket on my programmer.
    Is there one just for the 18f series . Mine is the one I have used
    with the pic16f877 chips.
    Thanks
    Jim

  5. #5
    jcullins's Avatar
    jcullins Guest


    Did you find this post helpful? Yes | No

    Unhappy PIC18f4220

    Is there anyone out there using this chip ?
    I don't seem to get a response from anyone.
    I think my problem is with the assembler MPASM but not having used it
    before I don't know.
    I compile with PBP it is OK
    assemble with MPASM OK
    try to program with the MELabs serial programmer and it give this error

    code programing error at 0000

    or somethin like that.
    Is this a set up problem?
    Jim

  6. #6
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Try to read the CHIP first

    Hi,

    Normally all Program memory location are default $FFFF (nop). So you can check your PIC if it reads okay. If it reads $0000 then its your programmer. What a programmer does is dump the hex files in the prog. memory locations and just verifies it while/after programming. In most cases if your first location is not being programmed then your programmer has some communication error with the PIC. Even parasitic capacitance on the data and clock lines make it worse.
    Regards

    Sougata

Members who have read this thread : 0

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