PIC18f4220


Closed Thread
Results 1 to 12 of 12

Thread: PIC18f4220

Hybrid View

  1. #1
    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

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,183


    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

  3. #3
    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

  4. #4
    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

  5. #5
    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

  6. #6
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    jcullins,

    I do not use the EPIC so I cannot say - however, from MELabs website

    http://www.melabs.com/support/epicfixs.htm


    snip ....

    #1 Most Encountered Problem - Power Supply

    The most common cause of programming problems is low power supply voltage. We highly recommend the use of an AC Adapter. Batteries become depleted very quickly, causing program errors ("Code Programming Error at 0000").

    ... end snip

    Good Luck,

    Paul Borgmeier
    Salt Lake City, Utah
    USA

  7. #7
    jcullins's Avatar
    jcullins Guest


    Did you find this post helpful? Yes | No

    Default Pic18f4220

    The programmer works fine with the PBP compilier. I program the 16f series all the time with no problem. But it shifts over to the Mchips assembler.
    I assembles with no errors but just want program.
    Thanks for you help guys.
    Jim

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