Harold, I just looked @ FT245 usb board now I am wondering if there is any reason to use that board if there is 18F4550 usb built in. I have been using this chip over 6 months now. All I can tell is it does fantastic job no external component needed. To me any external components will add more work for you. Can I see your schematic ? thanks Andre -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf Of Harold Hallikainen Sent: Thursday, January 10, 2008 7:10 PM To: Microcontroller discussion list - Public. Subject: RE: [PIC] Works in debug, not without debug! > Harold, > > I am familiar with this problem. > > 1. you do not have enough decoupling caps on the board > when you plug in caps on ICD2 works > 2. you do not have reset pull-up resistor > > if you forgot about reset pull-up you can use internal reset > > > Andre Abelian Thanks! I would think that these would generally mess up everything. Here, my entire project is running, but if I set a simple USB loopback (read FT245R and, if there's a character, write it back), all characters are looped back as nulls. Prior to entering the loop, I sent "Hello World" out the FT245R, and it appeared properly on Bray's Terminal watching the virtual com port the FT245 was going to. So, it looks like I'm reading nulls since the Hello World worked. The FT245R is a parallel bus interface. I've got it on the 8 lsb of port b. It works in debug, but not without the debugger. As for the rest of the application, I'm reading a camera chip and driving a display module. The display is also on portb. The camera and display are working fine. The reading of the FT245R is very simple. I tristate portb, drive rdn low, wait about 100ns, copy the 8 lsb of portb to the result (this is written in C), then drive rdn high. Simple enough... Works in debug.... THANKS for the ideas! Any more? Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist