hi guys in register USBDevIntEn - i enable EP_RLZED interrupt :
USBDevIntEn |= EP_RLZED;
but this interrupt ( EP_RLZED ) never not occur - for what? i don't have any problem with other interrupt of this register ( USBDevIntEn )
i don't love use flag of this interrupt ( USBDevIntSt ), i whant use interrupt for EP_RLZED - but i cant.
// use flag : while( !(*usbREG.USBDevIntSt & USB_DEV_INT__EP_RLZED) ); // wait for EP_RLZED interrupt *usbREG.USBDevIntClr = USB_DEV_INT__EP_RLZED; // clear EP_RLZED
Do you not think it necessary for us to know what chip you're talking about?
Have you carefully checked the chip manufacturer's documentation ?
What debugging have you done ?
Please pay attention to the instructions for posting source code: www.danlhenry.com/.../keil_code.png
oh yea - sry i use lpc1768 - Chapter 11: LPC176x/5x USB device controller ( UM10360 )
yea i read UM10360 file - but i cant solve this problem
I wonder from the keil forum - there is no editor
So why have you chosen "C51" as the toolset, then?!?
Why do you think it has anything to do with Keil?
More likely, it's the configuration of the chip.
Try: www.nxp.com/.../512kb-flash-64kb-sram-ethernet-usb-lqfp100-package:LPC1768FBD100
I did not pay attention - do not blame me, my friend ;) pls help me :(
Clearly!
The important thing is that you need to pay attention!
* Pay attention to the information in the chip's documentation;
* Pay attention to the documentation of any support code/libraries you're using;
* Pay attention to the supporting examples, app notes, etc from the chip manufacturer;
* Pay attention to what you learn from debugging your code;
etc, etc, ...