Output hex file and Microchip direct


Closed Thread
Results 1 to 10 of 10

Hybrid View

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

    Default Output hex file and Microchip direct

    Hi All!

    I suppose slightly off topic but for want of a better place to post I`ll put it here. Microchip direct are offering a reasonable priced bulk programing service for PIC's when ordered off their site. Since I need to program 1.5K in a batch shortly and don`t have a gang programmer or time I like the idea of this. Now the question, The device is programed from an uploaded hex file. The site requires a check sum for the hex file, I know MPLAB can generate this thanks to MCtechnical but is there another way to generate the checksum without having to run MPLab?. Second question is does the hex file generated by PBP contain the fuse settings (Int osc etc) and contents for the EEPROM area assuming that these are already declared in the PBP program?. I`ve always programmed my own PIC's via a Warp or MeLabs programmer so this bits new to me!.

    Cheers Pete

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

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

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

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

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

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, 11:08
  2. Couldnt read hex file extension
    By sooyewguan in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th January 2006, 15:37
  3. No hex file...?
    By mypylon in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th November 2005, 14: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