PDA

View Full Version : Couldnt read hex file extension



sooyewguan
- 18th January 2006, 09:49
Hi,

I wrote my program using MPLAB 7.3 using picbasicpro assembler. But when I compile the program, MPLAB prompt that "Couldnt read the hex file, incorrect extension".

How can I solve the problem ?

I am using Microchip ICD2 to download my program, how do I use Microcode and select ICD2 as programmer ?

Thanks first.

sayzer
- 18th January 2006, 10:58
I think you are describing the problem incorrectly.

Try "compile only" instead of "compile and program" then check the hex file if it is there.

After that, pls describe the problem again.

sooyewguan
- 18th January 2006, 13:26
I just click compile. But the MPLAB will automatically load the hex generate by the assembler.

The hex file was created successfully, but I think the format is not supported by MPLAB.

sayzer
- 18th January 2006, 15:14
Ok. Now try using another PIC programming software.

You already have the generated hex file. Since all hex files are supported by all PIC programming software, it should not be a problem for you to use another software.

Just make sure that the software you choose supports your PIC.

sooyewguan
- 18th January 2006, 15:37
Thanks sayzer. Could you recommand any software the support microchip ICD2 programmer to me ?