PDA

View Full Version : Help please need to repair unit using PIC16F84P only have hex code.



david1800
- 28th June 2011, 04:31
I am currently staying overseas away from home and need to repair a unit based on a PIC16F84. I have a PICKit2 with me but only the relevant hex file and cannot track down a PIC16F84. I think I have found a source for a PIC16F84A locally and can easily obtain a PIC16F628A.

From my interpretation of the PIC documentation it would appear that I may be able to use the 16F84A (it is running at 4MHz) by simply loading the hex file.

Grateful for any advice.

Thanks

David

mister_e
- 28th June 2011, 04:41
I don't think you'll experiment any problem from 16F84 to 16F84A.

http://ww1.microchip.com/downloads/en/DeviceDoc/30072b.pdf

from the .HEX, you can create the .ASM and then modify it for the 16F628.

david1800
- 28th June 2011, 05:14
Thanks Steve, that was my reading of the Microchip guidance but the 16F84A is very expensive here so didn't want to go ahead without being certain.

Guess I really ought to get to grips with MPLAB to learn how to convert .hex to .asm - so far I have stuck with MCSP - it seemed less daunting! It would make financial sense to use the 628.


I don't think you'll experiment any problem from 16F84 to 16F84A.

http://ww1.microchip.com/downloads/en/DeviceDoc/30072b.pdf

from the .HEX, you can create the .ASM and then modify it for the 16F628.