Menu

Which version of MPLAB and MCC18 use to build Open Prog

2013-01-10
2013-01-20
  • Gladiator_nguyen

    Hello,
    First of all thanks a lot for sharing an open source programmer. I am very
    much interested to build one of this. I think this is the only DIY USB
    programmer which supports both PIC and Atmel chips plus I2C chips

    I see in the Supported Devices, but this programmer not support 89S51, 89s52
    So I want to modify the source code to program it
    I try to open it with MPLAB v8.56 and MCC18 v3.44 (this version is now available on Microchip website)
    But when I build it, a lot of errors occur "OPcontrol.c:273:Message [3004] comparison of a signed integer to an unsigned integer detected"
    I think just because the new version of compiler cause this
    I think the old version of compiler is OK
    But I don't know the version of MPLAB & MCC18 are compatible with this?

    My English is not good :)

     
  • Alberto Maccioni

    You don't need to modify the firmware, because it already has SPI capability.
    Instead you should write the programming algorithm starting from functions in progAVR.c as an example.

     
  • Gladiator_nguyen

    So, do you mean I just only modify the progAVR.c in OpenProg_0.8.0.zip, by Microsoft Visual Studio 6.0 is ok?

     
  • Alberto Maccioni

    Yes, or you can use open source tools with opgui.
    You also have to add the new device and the correct function call to deviceRW.c

     
  • Gladiator_nguyen

    Thank you very much!

     

Anonymous
Anonymous

Add attachments
Cancel





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.