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

From 16F877 to 16F877A

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







From 16F877 to 16F877A
PostPosted: Fri Feb 07, 2003 12:15 am     Reply with quote

I am trying to immigrate from 16F877 to 16F877A, and
found RB3 didn't work. (everthing is ok except this)

My original source code for 16F877 assigned RB3 as output,
however RB3 of 16F877A didn't work with original code.

Of course, this code still works fine for RB3 as output
on 16F877.

Could you please tell me why?

I used 16F877.H on 16F877A chip.

Should I use 16F877A.H?

Regards
Dong
___________________________
This message was ported from CCS's old forum
Original Post ID: 11381
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: From 16F877 to 16F877A
PostPosted: Fri Feb 07, 2003 2:04 am     Reply with quote

:=I am trying to immigrate from 16F877 to 16F877A, and
:=found RB3 didn't work. (everthing is ok except this)
:=
:=My original source code for 16F877 assigned RB3 as output,
:=however RB3 of 16F877A didn't work with original code.
:=
:=Of course, this code still works fine for RB3 as output
:=on 16F877.
:=
:=Could you please tell me why?
:=
:=I used 16F877.H on 16F877A chip.
--------------------------------------------
The first thing to try, is to add NOLVP
to the end of your #fuses statement.

#fuses HS ,NOWDT, PUT, BROWNOUT, NOLVP

This question is also answered in the CCS FAQ,
if you look in the section on "Input/Output".
<a href="http://www.ccsinfo.com/faq/" TARGET="_blank">http://www.ccsinfo.com/faq/</a>
___________________________
This message was ported from CCS's old forum
Original Post ID: 11382
dongseong
Guest







Re: From 16F877 to 16F877A
PostPosted: Fri Feb 07, 2003 11:19 am     Reply with quote

:=:=I am trying to immigrate from 16F877 to 16F877A, and
:=:=found RB3 didn't work. (everthing is ok except this)
:=:=
:=:=My original source code for 16F877 assigned RB3 as output,
:=:=however RB3 of 16F877A didn't work with original code.
:=:=
:=:=Of course, this code still works fine for RB3 as output
:=:=on 16F877.
:=:=
:=:=Could you please tell me why?
:=:=
:=:=I used 16F877.H on 16F877A chip.
:=--------------------------------------------
:=The first thing to try, is to add NOLVP
:=to the end of your #fuses statement.
:=
:=#fuses HS ,NOWDT, PUT, BROWNOUT, NOLVP
:=
:=This question is also answered in the CCS FAQ,
:=if you look in the section on "Input/Output".
:= <a href="http://www.ccsinfo.com/faq/" TARGET="_blank"> <a href="http://www.ccsinfo.com/faq/" TARGET="_blank">http://www.ccsinfo.com/faq/</a></a>

Thanks so much.

You have solved my issue.!!!
___________________________
This message was ported from CCS's old forum
Original Post ID: 11396
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