Author |
Topic |
|
ICSG
6 Posts |
Posted - 07/02/2009 : 11:10:57
|
Hi,
I'm programming an 18F4550. If I set any configuration bits in the MPLAB assembler, I get an error when loading the hex file, such as:
Error in Hex File - Fuse
Line: 14 :0100000001FE
If I don't configure anything, then set the fuses manually in the programmer, it works. However, it's very tedious to manually configure the fuses every time I program the chip.
Has anyone run across this? I haven't had this problem with any of the 12F and 16F chips I've programmed.
|
|
Reply #1
ICSG
6 Posts |
Posted - 07/05/2009 : 03:40:05
|
This is a problem with the software supplied with the programmer. It won't use a single-byte entry in the hex code and it needs to be updated.
There is a workaround, in case anyone else experiences this problem.
In MPLAB, after compiling the program, select FILE, EXPORT and export the hex code. This will write the hex code without using single-byte entries and the programmer software will accept it. |
|
|
|
Topic |
|
|
|