On Sun, 2011-04-17 at 17:20 -0400, Josh Koffman wrote: > On Sun, Apr 17, 2011 at 10:57 AM, Oli Glaser wr= ote: > > On 17/04/2011 14:30, Herbert Graf wrote: > >> I don't know specifically about that part, but some parts allow you to > >> select different pins for ICD functionality (you still program over th= e > >> PGC/PGD pins, but then use other pins for debug). Perhaps this is only > >> something available in the 24/30/33F parts? > > > > I think it is - I can't remember seeing more than PGC/PGD port on any > > 18F parts. > > I do know there are some 18F parts with "Peripheral Pin Select", which > > allows you to map the peripheral to different pins. One such family is > > the 18FxxJ50 - I used the 24J50 from this family, which does have 2 UAR= Ts. > > Probably the best way if you want to use that chip would be to use the > > next size up in the family for debug (which should hopefully not have > > the UART multiplexed with PGC/PGD) as Olin suggested. >=20 > Funnily enough, there is an 18F part that does it. The 18F4550 and the > 18F4455 both do it. I had a discussion with one of the Microchip > Training guys about that, and he didn't realize there was an 18F part > that did it either. The part I don't get it is that you have to > program the chip to enable the secondary port...using the original > port. So unless you preprogram the chip out of circuit, or have two > ICSP ports on your board, you can't really use the second port easily. That's why I thought the 18F had that feature, thanks for pointing that out. In my case I used a DPDT through to go between program mode and debug mode, worked quite well. TTYL --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .