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

problem migrating from pic16 to pic18

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



Joined: 14 Mar 2007
Posts: 1
Location: chateauroux, france

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

problem migrating from pic16 to pic18
PostPosted: Wed Mar 14, 2007 2:34 pm     Reply with quote

Question i have an application working with a pic16F876 and a graphic display 128x64. I'm trying to update the pic for pic18F252 (more ram ) , and it didn't work!! i have some errotic behaviour ( some time some data are displayed at the wrong place)
is this pic18 hardware really compatible with pic16? ido i need to adapt my program (fuses,..)?
the pic18 program has worked in simulation mode ( with proteus simulation)
it's also the first time i use the icd-U40. i found that the icd disturb my display ( with pic16 an pic18) , so i can't use the debugger

thank you for you help

labou
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Mar 14, 2007 3:01 pm     Reply with quote

Quote:

I have an application working with a pic16F876 and a graphic display
128x64. I'm trying to update the pic for pic18F252 (more ram ), and
it didn't work

Here are some previous threads on this topic:
http://www.ccsinfo.com/forum/viewtopic.php?t=28953
http://www.ccsinfo.com/forum/viewtopic.php?t=29163
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Wed Mar 14, 2007 4:56 pm     Reply with quote

The F212 will have more(or just different) #FUSES that are available. You'll need to make sure the proper ones are used.

Are you defining any registers? You'll need to define them with the (new) proper addresses if you are.
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