Electrix
Member
Hi
I've been using the PIC 18F2520 for my development.. we've been using the chip for quite a while and the software that we ship is well-tested. Now I'd like to upgrade the controller to PIC18F25k22 for cost reasons. An important requirement is that the software should be completely portable.
So I programmed the PIC18F25k22 with the new hex file (using ICD2) and, straight off the bat, we observed that the software was not doing what its supposed to. The hex file that I have is code-protected so I cant read back whats burnt to verify if that particular hex file was flashed correctly.. BUT..I did a small experiment with a flashing LED program to double check if my micro was fine...sure enough my 'hello world' code did what its supposed to.
So far, I have been going over the datasheets to find information that would hint some portability issues.. There are of-course newer features (like additional timers, higher max oscillator freq) but none of these suggest any thing that would break my existing code.. My question is, have any of you faced similar portability issues within the PIC 18F series. I'm looking for pointers/red flag areas that are worth checking for .. I can then use this to dig deeper into my code.
Thanks in advance.
Electrix
I've been using the PIC 18F2520 for my development.. we've been using the chip for quite a while and the software that we ship is well-tested. Now I'd like to upgrade the controller to PIC18F25k22 for cost reasons. An important requirement is that the software should be completely portable.
So I programmed the PIC18F25k22 with the new hex file (using ICD2) and, straight off the bat, we observed that the software was not doing what its supposed to. The hex file that I have is code-protected so I cant read back whats burnt to verify if that particular hex file was flashed correctly.. BUT..I did a small experiment with a flashing LED program to double check if my micro was fine...sure enough my 'hello world' code did what its supposed to.
So far, I have been going over the datasheets to find information that would hint some portability issues.. There are of-course newer features (like additional timers, higher max oscillator freq) but none of these suggest any thing that would break my existing code.. My question is, have any of you faced similar portability issues within the PIC 18F series. I'm looking for pointers/red flag areas that are worth checking for .. I can then use this to dig deeper into my code.
Thanks in advance.
Electrix