View previous topic :: View next topic |
Author |
Message |
ljbeng
Joined: 10 Feb 2004 Posts: 205
|
How to debug chip with 2 uarts |
Posted: Mon Nov 22, 2010 2:35 pm |
|
|
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
|
Re: How to debug chip with 2 uarts |
Posted: Mon Nov 22, 2010 3:53 pm |
|
|
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
|
|
Posted: Mon Nov 22, 2010 3:53 pm |
|
|
For the 18F4XK22 series the 2nd UART is on pins D6/D7.... _________________ Google and Forum Search are some of your best tools!!!! |
|
|
|