We recently moved from the PIC18F2585 to the PIC18F2680, which is form fit function replacement.
My question is that I'm trying to get the original code that we use to run on the PIC18F2585 downloaded into the PIC18F2680 using the ICD. It complains that the PIC that the code is written for is not the PIC that it's attempting to program and won't allow it.
Is there any way to get the ICD to ignore the chip type and download it anyway?
The PIC18F2680 is just a beefier version of the PIC18F2585, but I was hoping to use the same code base as we're still going to have to support the old devices in the field which have the PIC18F2585 as well as the PIC18F2680 going forward.
I'm running ccsload version 4.02 and I'm using the ICD-U40
Thanks in advance
newguy
Joined: 24 Jun 2004 Posts: 1909
Posted: Fri Oct 22, 2010 8:30 am
Seriously, why are you choosing to make your life difficult? Just recompile with the new header file and have two .hex files. If the two chips are nearly identical, then the code should compile for the new chip without issues. If there are errors, they can be taken care of with conditional compilation directives.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum