|
|
View previous topic :: View next topic |
Author |
Message |
dongseong Guest
|
From 16F877 to 16F877A |
Posted: Fri Feb 07, 2003 12:15 am |
|
|
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
|
Re: From 16F877 to 16F877A |
Posted: Fri Feb 07, 2003 2:04 am |
|
|
:=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 |
Posted: Fri Feb 07, 2003 11:19 am |
|
|
:=:=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 |
|
|
|
|
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
|