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

18f45k80 UART1 VSM

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



Joined: 19 Jun 2024
Posts: 1

View user's profile Send private message

18f45k80 UART1 VSM
PostPosted: Wed Jun 19, 2024 9:42 am     Reply with quote

Hi,
im new here.
I don't know if ive done something wrong, but UART1 in the 18f45k80 VSM model doesn't seem to work. UART2 works ok with and without interrupts, but when i switch connections in proteus and update code to look at UART1, it just plain seems to be dead.And this is with and without the interrupt enabled on UART1.
When i opt for the software UART and use any other pins, it works as intended. Has anyone else experienced this? Is it undocumented that the UART1 is not modelled? I know from reading through the notes on the 18 series on Labcenter website that not all features are implemented, but no mention of the serial ports.
temtronic



Joined: 01 Jul 2010
Posts: 9232
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Jun 19, 2024 9:48 am     Reply with quote

So ,have you gone through 100% of the source code for PROTEUS and confirmed that it will work as expected ?
For years, most understand that PROTEUS is NOT 100% functional. In fact it fails on the simplest of programs.

Have you actually used real hardware to confirm it's NOT a Proteus problem ?
Ttelmah



Joined: 11 Mar 2010
Posts: 19529

View user's profile Send private message

PostPosted: Wed Jun 19, 2024 9:49 am     Reply with quote

Read the sticky at the top of the forum:
"No more Proteus questions"
The simulator in Proteus is full of faults, and worse, can make you think
things can work, that on a real chip will not, or tell you something does
not work when it does.

IT IS A WASTE OF TIME.

Yours and ours....
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