View previous topic :: View next topic |
Author |
Message |
fberlioz
Joined: 16 Jun 2009 Posts: 2
|
Load-n-go can't use a MICROCHIP hex file |
Posted: Wed Jun 17, 2009 8:41 am |
|
|
Hi
I have a Hex file for 18F6622. This file is the result the pic18 microchip compiler.
When I try to load it on the Load-n-Go, the config bits are not loaded.
If I try to modify the config bit in the load-n-go menu, the eeprom file is erased !!!
Conclusion: the load-n-go programmer can't use use a hex file made by a Pic18 microchip compiler.
I'm very disappointed about this.
Someone can help me ??
Thanks |
|
|
Guest
|
|
Posted: Tue Nov 03, 2009 9:05 am |
|
|
Just a thought,
I would check to make sure the configuration bits are defined in the code, not in MPLAB IDE. I believe that this is the best way to assure that the .hex file contains configuration information.
Hi-Tech compilers have the __CONFIG( ) directive which does this nicely. Other compilers/assemblers have other mechanisms to do this. |
|
|
TheMattster
Joined: 11 Jun 2010 Posts: 5 Location: Chicago area
|
My experience with Load-n-Go and config bits... |
Posted: Fri Jun 11, 2010 9:27 am |
|
|
We have a 18F4620. And yes, it seems that the CCSLoad program will not read the config bits from the MPLAB .hex file. I created the file in MPLAB by exporting it and I know the config bits are in the file.
Also, if you set the config-bits in CCSLoad, then "save" them and recall them they are restored wrong.
I'm working with support on this as it is an extremely important issue!!
And, they are responding and helping to figure out what is wrong.
-Matt |
|
|
|