|
|
View previous topic :: View next topic |
Author |
Message |
Cam Bruce
Joined: 08 Sep 2003 Posts: 8
|
Time to Make the Jump. 16F877 to 18F542 |
Posted: Fri Feb 28, 2003 9:14 am |
|
|
I am programming an 16F877 using MPLAB 5.61, CCS PCM 2.722
and Pic Start Plus, Firmware 2.30, Software 2.50, Device 5.00.20
From Microchips Data sheets, it looks like I can step up to a 18F452 for more program space, with minimal code changes.
What about my programming versions, and Pic Start ?
It is time for a new CCS (I believe I need PCW for the 18's)
Does anyone knkow of any other snags i may hit?
Thanks
Cam
___________________________
This message was ported from CCS's old forum
Original Post ID: 12216 |
|
|
EECEWOLF Guest
|
Re: Time to Make the Jump. 16F877 to 18F542 |
Posted: Fri Feb 28, 2003 9:48 am |
|
|
It should be a painless jump. Yes you will need the PCW compiler. I went from the PIC16F872 to the PIC18F242 and did not have to change much. That is the beauty of using C.
If you are using the WDT, it is setup a little different in the PIC18. You now can turn it ON and OFF in code. Writing to program flash is different on the PIC18, but the compiler takes care of that if you use the same functions.
Alan
:=I am programming an 16F877 using MPLAB 5.61, CCS PCM 2.722
:=and Pic Start Plus, Firmware 2.30, Software 2.50, Device 5.00.20
:=
:=From Microchips Data sheets, it looks like I can step up to a 18F452 for more program space, with minimal code changes.
:=
:=What about my programming versions, and Pic Start ?
:=It is time for a new CCS (I believe I need PCW for the 18's)
:=Does anyone knkow of any other snags i may hit?
:=
:=Thanks
:=Cam
___________________________
This message was ported from CCS's old forum
Original Post ID: 12219 |
|
|
Antonio.Giaretta Guest
|
Re: Time to Make the Jump. 16F877 to 18F542 |
Posted: Fri Feb 28, 2003 9:55 am |
|
|
:=It should be a painless jump. Yes you will need the PCW compiler. I went from the PIC16F872 to the PIC18F242 and did not have to change much. That is the beauty of using C.
:=
:=If you are using the WDT, it is setup a little different in the PIC18. You now can turn it ON and OFF in code. Writing to program flash is different on the PIC18, but the compiler takes care of that if you use the same functions.
:=
:=Alan
:=
:=:=I am programming an 16F877 using MPLAB 5.61, CCS PCM 2.722
:=:=and Pic Start Plus, Firmware 2.30, Software 2.50, Device 5.00.20
:=:=
:=:=From Microchips Data sheets, it looks like I can step up to a 18F452 for more program space, with minimal code changes.
:=:=
:=:=What about my programming versions, and Pic Start ?
:=:=It is time for a new CCS (I believe I need PCW for the 18's)
:=:=Does anyone knkow of any other snags i may hit?
:=:=
:=:=Thanks
:=:=Cam
___________________________
This message was ported from CCS's old forum
Original Post ID: 12222 |
|
|
Antonio.Giaretta Guest
|
Re: Time to Make the Jump. 16F877 to 18F542 |
Posted: Fri Feb 28, 2003 9:57 am |
|
|
You need a new version of firware to the pic start, you can download it in microchip's site, but probabily you will need buy another PIC17C44 and need too another programer to burn it.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12223 |
|
|
Kent Farnsworth Guest
|
Re: Time to Make the Jump. 16F877 to 18F542 |
Posted: Fri Feb 28, 2003 2:34 pm |
|
|
I recently upgraded to the 18LF452 from the 16LF877, and other than a little time figuring out the WDT differences, as well as figuring out how to use the new ICD2/MPLAB/CCS interface, it went very well.
The wonderful thing is that after hammering on the 877's code and getting it to fit at 99\% full, the same code in the 452 uses only 38\%!!!
The hardware multiplier is very nice, as is the adjustable brownout detection voltage, since I run this system at 3v.
If you use the Picstart, you will need to upgrade the PIC in it. The new version is included with the new MPLAB. You will also need the new CCS PCWH to build code for it. The old ICD also won't work (at least I can't figure out how to make it work).
Take care,
Kent
:=I am programming an 16F877 using MPLAB 5.61, CCS PCM 2.722
:=and Pic Start Plus, Firmware 2.30, Software 2.50, Device 5.00.20
:=
:=From Microchips Data sheets, it looks like I can step up to a 18F452 for more program space, with minimal code changes.
:=
:=What about my programming versions, and Pic Start ?
:=It is time for a new CCS (I believe I need PCW for the 18's)
:=Does anyone knkow of any other snags i may hit?
:=
:=Thanks
:=Cam
___________________________
This message was ported from CCS's old forum
Original Post ID: 12235 |
|
|
mark r. hahn Guest
|
Re: Time to Make the Jump. 16F877 to 18F542 |
Posted: Sun Mar 02, 2003 6:21 pm |
|
|
In theory you should be able to upgrade your old MPLAB-ICD to use the ICDS firmware available from CCS. It's supposed to work with 18Fxxx parts. I converted mine recently and it does seem to work with 16Fxxx parts, perhaps I'll try some 18Fxxx parts this week. You'll need to use the PCW debugger, instead of MPLAB.
Mark
:=I recently upgraded to the 18LF452 from the 16LF877, and other than a little time figuring out the WDT differences, as well as figuring out how to use the new ICD2/MPLAB/CCS interface, it went very well.
:=
:=The wonderful thing is that after hammering on the 877's code and getting it to fit at 99\% full, the same code in the 452 uses only 38\%!!!
:=
:=The hardware multiplier is very nice, as is the adjustable brownout detection voltage, since I run this system at 3v.
:=
:=If you use the Picstart, you will need to upgrade the PIC in it. The new version is included with the new MPLAB. You will also need the new CCS PCWH to build code for it. The old ICD also won't work (at least I can't figure out how to make it work).
:=
:=Take care,
:=Kent
:=
:=:=I am programming an 16F877 using MPLAB 5.61, CCS PCM 2.722
:=:=and Pic Start Plus, Firmware 2.30, Software 2.50, Device 5.00.20
:=:=
:=:=From Microchips Data sheets, it looks like I can step up to a 18F452 for more program space, with minimal code changes.
:=:=
:=:=What about my programming versions, and Pic Start ?
:=:=It is time for a new CCS (I believe I need PCW for the 18's)
:=:=Does anyone knkow of any other snags i may hit?
:=:=
:=:=Thanks
:=:=Cam
___________________________
This message was ported from CCS's old forum
Original Post ID: 12291 |
|
|
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|