View previous topic :: View next topic |
Author |
Message |
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
18F45K22 and 18F46K22 |
Posted: Sat Apr 20, 2013 9:32 am |
|
|
I went back to open up an old thermostat interface project originally built
under 4.137. After compiling, CCLoad with the ICD-U64 gives me a corrupt
hex file with 4.139, 4.140 and 4.141 versions.
With 4.137 and 4.138 the Hex file is good again. Anyone else seen this?
CCLoad complains of a bad start memory location in 4.139, 4.140 and 4.141.
This happens with both the 18F45K22 and the 18F46K22 _________________ Google and Forum Search are some of your best tools!!!! |
|
|
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
Posted: Sat Apr 20, 2013 10:43 am |
|
|
I have used 18f46k22 under 4.135 using both pwms and max ADC resolution, rs232, pretty full i/o situation.
Just recompiled under 4.141 and had slight file size difference - but no issue with compile error or running correctly. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Sat Apr 20, 2013 10:53 am |
|
|
The program shows as compiling with no errors. Only the corrupted hex file
when loaded by CCS Load.
Are you using CCSLoad and/or the U64? _________________ Google and Forum Search are some of your best tools!!!! |
|
|
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
Posted: Sat Apr 20, 2013 11:58 am |
|
|
Quote: |
Are you using CCSLoad and/or the U64?
|
NEITHER ---
i use the MEI programmer and L O V E it .......
no issue loading .hex file |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Apr 20, 2013 12:27 pm |
|
|
Possible problems could be:
1. Certain compiler versions may generate corrupt hex files.
2. Your verison of CCSLoad is falsely reporting corrupt hex files.
3. Some other problem, such as configuration settings in the
compiler or CCSLoad, or a hard disk corruption issue.
Tests:
You could use the File/Import feature of MPLAB and test if the file
imports without errors. Set the PIC in the Configure / Select Device
menu before importing. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Sat Apr 20, 2013 1:12 pm |
|
|
Thanks guys, with the additional info I agree that it looks like a CCSLoad
problem. First I'll roll back to the 4.137 CCSLoad to see what happens.
I don't have MPLab installed but I'll try that if the CCSLoad regression
doesn't help. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
|