View previous topic :: View next topic |
Author |
Message |
barkerben
Joined: 19 Jan 2006 Posts: 22
|
PIC18F452 vs PIC18F4520 |
Posted: Mon May 29, 2006 4:00 am |
|
|
Hi,
I have the student version of CCS for the PIC18F452. I've just realised my new PIC is a PIC18F4520.
Although my compiler was sold as locked to the former, are they similar enough that I can still program it, or do I need a new PIC :-(
Cheers,
Ben |
|
|
Guest
|
|
Posted: Mon May 29, 2006 6:35 am |
|
|
...it looks like the pinouts are the same for both IC's, so channging may not be too hard...
Ben |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Mon May 29, 2006 8:17 am |
|
|
Be aware that the PIC18F4520 has a huge list of known hardware errata, especially when you want to do something with the SPI or CCP units these chips are troublesome. Have a look at the errata list.
I haven't checked the register files for both processors but my guess is that for simple programs you very likely will get away with compiling for the PIC18F452. For programs more complicated than blinking a led I recommend you buy the correct compiler/processor combination.
Tip: Have you tried asking for a sample? |
|
|
Storic
Joined: 03 Dec 2005 Posts: 182 Location: Australia SA
|
|
Posted: Mon May 29, 2006 4:59 pm |
|
|
I was not aware of the troublesome list, however I did go from a 4520 to a 4620 without any problems, (I needed to ROM space on my project).
ANdrew _________________ What has been learnt if you make the same mistake? |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Mon May 29, 2006 5:26 pm |
|
|
Storic wrote: | I was not aware of the troublesome list, however I did go from a 4520 to a 4620 without any problems, (I needed to ROM space on my project). | Most problems are minor or cover obscure areas like 9-bit serial data transmissions and often workarounds are given so the chips can be used. However when given the choice for a new project I would rather go for a chip with a shorter errata list like the PIC18F6622. |
|
|
|