PDA

View Full Version : Question How to flash pre-compiled HEX only, using MPLAB ICD


LukeZ
Jun 07, 2006, 11:11 AM
This should be an easy one, but I can't seem to figure it out. Perhaps it's an easy question, and the answer is no. Anyways, is it possible to get MPLAB to flash a PIC with a pre-compiled HEX file using the ICD programmer?

I bought the ICD2 a while back and it's really a great tool. It integrates seamlessly with MPLAB and I really like it more than my other programmers. However, I can only flash a hex file that has been compiled from an MPLAB project.

That's fine, but sometimes I'll download a hex from somewhere online and I don't need or want to compile the source. I just want to flash the existing HEX - this is what I can't figure out how to do in MPLAB, and I'm starting to suspect it may not be possible. Any thoughts?

Luke

Mr.RC-CAM
Jun 07, 2006, 11:26 AM
1) Configure->SelectDevice
2) File->Import {yourcode.hex}
3) Programmer->Program

LukeZ
Jun 08, 2006, 01:04 AM
Wonderful! That worked perfectly. Once again I thank you, Mr. RC-Cam.

Luke