Output hex file and Microchip direct


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Default

    PBP generates a .hex-file with the fuses and EEPROM. This informtions are placed on special adresses (which are known for each device).

    In an Intel-Hex-file, each line has it own checksum.

    Browsing the MC-site I can't find any hint of a checksum for your upload...
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  2. #2
    Join Date
    Jul 2003
    Location
    Lancashire
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    Hi Try

    https://www.microchipdirect.com/Prog...g/Default.aspx

    thats reached from www.microchipdirect.com. You will have to register first bit when you follow the project set up through the last question asked is checsum for your uploaded hex file.

    Cheers Pete

  3. #3
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Default

    OK,
    I give up !

    It is to complicate for me to reach the site. Please use this tools or copy the text...

    ftp://ftp.bigwumpus.de/CHKSUM.EXE
    ftp://ftp.bigwumpus.de/crc.exe
    ftp://ftp.bigwumpus.de/crc.doc
    ftp://ftp.bigwumpus.de/FILECRC.COM

    This are old utils out of my fundus.
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  4. #4
    Join Date
    Jul 2003
    Location
    Lancashire
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    Many thanks, I`ll give these a try

    Cheers Pete

  5. #5
    Join Date
    Jul 2005
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    MPLAB can be your friend here!

    First, set Configure | Set Device to the PIC you use.

    Next, load your hex file into it via File | Import.

    Now, you get the hex checksum top left corner. To insure the "fuse bits" are correct, drill down Configure | Configuration Bits and have a look at them.

    I've used Digi-Keys programming service a few times, they also require the config bits to be sent, I screen-shot them right from MPLAB.

  6. #6
    Join Date
    Jul 2003
    Location
    Lancashire
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Errors!

    Hi All


    OK I imported the hex file into MPLAB and it generated the check sum fine. Sent the hex file plus the checksum to Microchip but it failed to pass. Heres the relevent part of the message from microchip:

    The Programming Team advises the Checksum value submitted: "de73" does not match the actual Checksum value of the program.
    The file submitted is in non-MPLAB standard format. Headers within the file are uniquely different than those produced by MPLAB and the memory map is incomplete.

    Its generated using Microcode studio and PBP. I compile using the PBP compiler. Any clues whats wrong here?.

    Cheers Pete

  7. #7
    Join Date
    Jul 2005
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    Interesting. Try this:

    Change the MCS View | Compile and Program | Assembler Options tab to have it use MPASM as the assembler. That way, you have a Microchip product generating your hex code.

    I bet that will help some.

Similar Threads

  1. Can anyone help at getting OWIn & OWOut to work @ 16MHz?
    By jessey in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 24th January 2006, 12:08
  2. Couldnt read hex file extension
    By sooyewguan in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th January 2006, 16:37
  3. No hex file...?
    By mypylon in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th November 2005, 15:02

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