I'm totally new to pic programming, but understand the basics of converting a text file to an ASM file which is then used to compile a HEX file.
I've downloaded several hex files for use with a 16C745 Microchip PIC and built the hardware from the schematics provided by the author.. Ive now received a sample of the 18F2550, which according to the Microchip web site is a replacement compatible device for the 16C745, but with flash memory.. I must admit I looked at the data sheet and it is way over my head :?
I've downloaded the latest version of MPLAB that supports the 18F2550, and a Hex dis-assembler.. should I simply be able to change the include statement in the asm file to the new chip and then re-assemble the asm file ?? - this errors.. so I gather that somthing is different internally
Im using Winpic and an Olimex PG-02 programmer (JDM programmer) - but I'm just using MPLAB to compile the HEX first as this programmer is not supported under MPLAB.
I think you went a bit over your head...
Any way, you dont need to compile the HEX. In the MPLAB chose the right PIC that you have received and then import the HEX file. Then you just need to porgram the PIC with the MPLAB and see if it works.
With the software it could work or maybe not. It all depands on the programer that wrote the code. It should work with out you changing anything, but then again...
Good luck.