Menu

Hex file for 16F generated with MPLABX XC8 PRO recognized as 18F

Sebastien
2013-09-02
2013-09-19
  • Sebastien

    Sebastien - 2013-09-02

    Hello,

    I have an issue using a hex file for 16F (working fine in a 16F).
    It is recognized as a 18F file !

    Checking hex file:
    Hex file end line
    HEX sumary: INX8M,
    PIC18F + cfg,
    total=4100 bytes.
    Error: Hex file for PIC18F, PIC family mismatch.

    Here is the beginning and end of the hex file (I suppose there is nothing interresting in the middle):

    :1000000000000A128A110E28FE00030EF9000408EF
    :10001000FA000A08FB000A128A11F6280A128A114D
    :10002000462800308A000408840A82070034F0342D
    :10003000F234F334F434F534F634F734F834F93474
    :10004000FA340034013405340A3414341F342834AB
    :1000500032343C343F34E034E234E334E434E534E5
    :10006000E634E734E834E934EA3400340134053462
    :0E0070000A3414341F34283432343C343F3404
    :10008C002030FC01FD018313840049300A128A15CB
    :10009C00F82783010A128A1187280B308312C900B2
    ........
    :100FCC00CB0002340730AF00B0013E30B100080056
    :100FDC002D30AF00B0010130B10008002B30AF0054
    :100FEC00B0010130B100080083120313080083160E
    :040FFC0003170800CF
    :101FF00064008001840A0406031900340406F92FE2
    :02400E0006CDDD
    :00000001FF

    I use MPLAB X + XC8 PRO, I set option "format for download" and I reserve a part at the end for the bootloader.

    If I uncheck "check file" it works fine of course but I am wondering if there is not something wrong on my side behind...

    Can you try to help me ?

    Thank you a lot !

     
  • edorul

    edorul - 2013-09-03

    Hello Sebastien,

    Don't worry the problem comes from a "TinyBootloader+" bug: PIC16's XC8 files are recognized in as PIC18 ones :-s
    I try to fix it.

    Best regards,
    Edorul

     
  • Sebastien

    Sebastien - 2013-09-04

    Great !
    Thank you for your quick answer Edorul.
    Then, I look forward for this new release.

     
  • Sebastien

    Sebastien - 2013-09-06

    Edorul,

    Because I need to move on this subject and in order to wait for your new release, could you confirm that if I uncheck the box "check file" the execution of the upgrade will be OK ?
    It seems to work fine but I prefere ask the master :)

    Thanks !

     
  • edorul

    edorul - 2013-09-06

    Hello,

    "Check file" option is just used to avoid errors like: put a PIC16 firmware in a PIC18 device and wonder why the application doesn't work.
    So, don't worry, the program transfert will be the same with or without this option.

    Best regards,
    Edorul

     
  • Sebastien

    Sebastien - 2013-09-19

    I tested it and this is fixed in version 0.8.1.

    Good job :-)
    And thanks of course.

    Sébastien.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.