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 CCS Technical Support

16F877 to 16f877A any Gotcha?

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



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

16F877 to 16f877A any Gotcha?
PostPosted: Mon Dec 11, 2006 3:36 am     Reply with quote

Hi all

i have being using pic16f877 for my projects but microchip advise to use
16f877A for new designs so i am going to order some today.
Just wanted to find out if there is anything specific i need to be aware of when tranfering my programs written for 16F877 to 16f877A

Best Regards Smile
_________________
BOB_Santana Smile
davekelly



Joined: 04 Oct 2006
Posts: 53
Location: Berkshire, England

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 4:16 am     Reply with quote

Microchip have a migration document http://ww1.microchip.com/downloads/en/DeviceDoc/39591a.pdf which details all of the differences.

Basically the analog comparators have been added, and programming is different.

If you have a bootloader, it needs to be changed, as the self programming method is different for the A version.
vi_ni_ta



Joined: 11 Dec 2006
Posts: 7

View user's profile Send private message

HELP ME PLEASE
PostPosted: Mon Dec 11, 2006 4:23 am     Reply with quote

Hey people,
I am a student who is absolutely new to microcontrollers. I am asked to submit a program that display the pressure output in digital format using LCD. am asked to write the program stictly in CCS PIC C. pls help me . got the analog to digital interfacing part rite.. the LCD interface is still an unsolved mystery.. Anybody out there... help me pls...

details:
In PIC Pins
1- reset
2- analog input
9 and 10 - crystal oscillator
15,16,17 and 18- to LCD
22-a switch to choose whether output should be in psi or kilopascal
BOB_SANTANA



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 4:28 am     Reply with quote

Thanks for the info Dave
I would get some today and have a go
_________________
BOB_Santana Smile
ratgod



Joined: 27 Jan 2006
Posts: 69
Location: Manchester, England

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 8:23 am     Reply with quote

@vi_ni_ta
that question probably should be on its own thread but here's an answer anyway,
if your using a 20x4 LCD, look at this thread http://www.ccsinfo.com/forum/viewtopic.php?t=28268
I use this myself with much success, It may possibly be adapted for 2 line LCDs.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 10:06 am     Reply with quote

Quote:
It may possibly be adapted for 2 line LCDs.

There is already a similar driver in the code library for a 16x2 LCD:
http://www.ccsinfo.com/forum/viewtopic.php?t=24661
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