Menu

Compiling the asm firmware

bolonski
2015-02-15
2015-02-16
  • bolonski

    bolonski - 2015-02-15

    You guys do fantastic work! Thank you for your efforts

    I am using PIC16F1824 which is included in the bundle and the latest MPLAB X with XC8 and I have no clue how to compile the asm into hex file. Any help would be nice

     
  • Dan

    Dan - 2015-02-16

    Hi,bolonski

    1.Copy the "spbrgselect.inc" in the same folder as the asm source.

    2.choose the "mpasm" in Compiler

    3.After, please set as shown in FIG.

    Regards,
    Dan.

     

    Last edit: Dan 2015-02-16
  • bolonski

    bolonski - 2015-02-16

    Thank you Dan for your reply. I have set the compiler (v5.59)as shown on pictures, and I am getting error:

    make[2]: *** No rule to make target 'build/default/production/newpic_8b_asm_func.o', needed by 'dist/default/production/boot.X.production.hex'. Stop.

    edit: ok I used a very nice GUI from Microchip for mpasm compiler and the bootloader works like a charm. Thank you guys for this fantastic project;)

     

    Last edit: bolonski 2015-02-16
  • Dan

    Dan - 2015-02-16

    Hi,bolonski

    Further modify the following.

    include "../spbrgselect.inc"

    ---->

    include "spbrgselect.inc"

    Same HEX file is generated by "MPLAB IDE v8.92" and "MPLAB X IDE v2.05".

    Regards,
    Dan.

     

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.