Content originally posted in LPCWare by brianjaod on Mon Nov 18 08:30:15 MST 2013
Thank you for your reply. Yes, I'm quite aware of the implications of debug mode on various interrupts. However, I haven't even set any breakpoints yet. I'm simply "running" the program and although other aspects of the code (i.e. LED blinking) seem to be working, USB communication is not working. In fact, I can build a Debug release binary in LPCXpresso and then manually copy it over to the board, via the USB bootloader drive and let it run and everything works great, which implies that the code itself is good and functional. But it just doesn't work when running in debug mode. I wonder if there's some weird setting that's causing the problem, or if it's a particular bug within the USB rom driver in conjunction with debug operation. Any ideas?
Thanks