CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

PIC18F452 vs PIC18F4520

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
barkerben



Joined: 19 Jan 2006
Posts: 22

View user's profile Send private message

PIC18F452 vs PIC18F4520
PostPosted: Mon May 29, 2006 4:00 am     Reply with quote

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








PostPosted: Mon May 29, 2006 6:35 am     Reply with quote

...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

View user's profile Send private message

PostPosted: Mon May 29, 2006 8:17 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Mon May 29, 2006 4:59 pm     Reply with quote

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? Wink
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon May 29, 2006 5:26 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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