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

How to debug chip with 2 uarts

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



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

How to debug chip with 2 uarts
PostPosted: Mon Nov 22, 2010 2:35 pm     Reply with quote

I needed an 18F part that had both 2 Uarts and EEPROM. The 18Fk22 fit this criteria. The 2nd Uart, however, is the same 2 pins, RB6, RB7 that are used for the CCS ICD. How does one go about using this chip and debugging the code? I looked at an 18F25J11 and it has 2 uarts, remappable pins but no EEPROM.

Can I use the 18F25J11 and use program space as "EEPROM" storage for user selectable values?

Thanks.
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

Re: How to debug chip with 2 uarts
PostPosted: Mon Nov 22, 2010 3:53 pm     Reply with quote

ljbeng wrote:

Can I use the 18F25J11 and use program space as "EEPROM" storage for user selectable values?


yes!

I just did this with a 26J11 project I finished last week.

The reason why a lot of "self programmable" PIC's no longer come with EEPROM is because they can use program flash for application config storage! (at least that's my guess)


-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Mon Nov 22, 2010 3:53 pm     Reply with quote

For the 18F4XK22 series the 2nd UART is on pins D6/D7....
_________________
Google and Forum Search are some of your best tools!!!!
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