View previous topic :: View next topic |
Author |
Message |
jkeggi
Joined: 28 Apr 2009 Posts: 2
|
PIC16F77 Strange Verification Error |
Posted: Tue Apr 28, 2009 5:04 pm |
|
|
Hi,
I compiled code with MPASM tools, and loaded it to a PIC16F77 chip with ccsloader, and it ran perfectly.
I changed 1 constant and recompiled, loaded it, and get a "Verification Error" when I change the constant back to the original value, and recompile, it still gives the error when I attempt to load it.
I thought I might have gone through all the write life cycles of the Flash but when I switch chips, or load a different program I get the same error.
Basically wherever there should be an instruction, the memory shows '3FFF'.
Any help would be great, thanks. |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Apr 28, 2009 10:02 pm |
|
|
Do you know for a fact that HEX files generated by MPASM will work with
CCSLOAD ? CCS compiler HEX files have a suffix on the end, which
MPASM hex files do not have. Example:
Quote: |
;PIC16F877
;CRC=2357 CREATED="20-Apr-09 00:01" |
Try adding the comment line for the PIC to the end of your HEX file.
The CRC line may not be needed. |
|
![](templates/subSilver/images/spacer.gif) |
jkeggi
Joined: 28 Apr 2009 Posts: 2
|
|
Posted: Wed Apr 29, 2009 8:19 am |
|
|
Quote: | Posted: Tue Apr 28, 2009 10:02 pm Post subject:
Do you know for a fact that HEX files generated by MPASM will work with
CCSLOAD ? CCS compiler HEX files have a suffix on the end, which
MPASM hex files do not have. |
I've used a couple dozen different MPASM files on CCSLOADER before...
The issue turned out to be with a corrupt object file in the same directory as my hex file, building into a clean directory fixed everything.
Thanks for the help |
|
![](templates/subSilver/images/spacer.gif) |
|