MELABS Serial Programmer help


Closed Thread
Results 1 to 2 of 2
  1. #1
    nigelstephens's Avatar
    nigelstephens Guest

    Default MELABS Serial Programmer help

    Hi
    Just got one of these and am trying to program my first chip.
    I can read an 16F877A okay with 3FFF being returned.

    When I try and write the bootloader for Proton+ I get the message
    "Code programming error at 1F00"

    When I then read the code again i get spurious results like

    0000- 3fff 3fff 3fff 3fff 3ffe 0000 3ff8 3ffe
    0008- 3ffe 3ff8 3ffe 3ffc 3ffe 3ffa 3fee 0df8
    0010- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0018- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0020- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0028- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0030- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0038- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0040- 3fff 3fff 3fa0 3f7e 3fff 3fff 3f80 3fff
    0048- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0050- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    0058- 3fff 3fff 3fff 3fff 3fff 3fff 3fff 3fff
    ...

    The code I was trying to load starts like this

    0000- 0000 301f 008a 2f0d
    1f00- 2f00 0190 0198 1683 0198 1283 018c 018a
    1f08- 0000 0000 0000 0000 2f00 138b 300c 27ba
    1f10- 3030 0090 018e 018f 100c 1410 0064 180c
    1f18- 2f01 1e8c 2f16 081a 1010 3af0 1903 2f21
    1f20- 2f01 30a0 27c8 27c3 00a2 30a0 27c8 0822
    .....

    I have been through all the checks like Voltage and serial cable.
    Tried 2 cables and input v is 17.2

    The board has 7805 and 7808 chips and the Vout is 5 and 8 or very close.

    The PIC is in the right way and jumber cable connected for 40 pin chip.

    Any help would be great.
    Thanks

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Have you previously programmed the PIC?

    What does it show if you read it and view config fuse settings?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Melabs U2 Programmer Command Line Options
    By Robert Wells in forum General
    Replies: 5
    Last Post: - 3rd July 2009, 02:11
  2. Wanted: MELABS serial programmer
    By AndrewC in forum Adverts
    Replies: 0
    Last Post: - 12th September 2007, 12:13
  3. melabs usb programmer problem
    By bigbear in forum General
    Replies: 4
    Last Post: - 28th December 2006, 12:50
  4. Replies: 2
    Last Post: - 25th February 2006, 02:53
  5. Melabs USB Programmer
    By tmurph in forum General
    Replies: 1
    Last Post: - 25th December 2005, 03:25

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