This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC 2888 USB High Speed Problem

I have a problem when run USBMem Keil Example for LPC2888. I got "device descriptor read/all, error -71".
And sometimes with 10 trials, the device will run for 1 or two times, but fail most of the time. I know from NXP that with old version of LPC2888 can't run at high speed, so I just bought new version of LPC2888 and try for high speed again. My LPC2888 part number is lpc2888fet180 /01, and I want to know can it run at high speed?

Parents
  • Where both changes required?

    If the code does not survive on higher optimization levels, then the code is either buggy, or the compiler is.

    Correctly written code should produce the same result with or without optimizations, and if timing is critical, then the code should take that into account - or at least specifically document that it may not be compiled at high optimizations. This later alternative is however quite bad, since it would form a dangerous trap for the users to fall into.

Reply
  • Where both changes required?

    If the code does not survive on higher optimization levels, then the code is either buggy, or the compiler is.

    Correctly written code should produce the same result with or without optimizations, and if timing is critical, then the code should take that into account - or at least specifically document that it may not be compiled at high optimizations. This later alternative is however quite bad, since it would form a dangerous trap for the users to fall into.

Children