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 :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 :)
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.
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?
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
Thank you very much!