lpcware

NVIC_SystemReset() can not reset MCU?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by andy22 on Thu Dec 06 01:54:19 MST 2012
Hi guys
   What i want is just reset my MCU by calling the function NVIC_SystemReset(). But it doesn't work.
   I just want my configuration of report rate take effect when USB re-enumeration ,it generates errors like follows:

  33.1                                 USTS   c0000011                  xact error               2.1.0        16:22:20.768  hidclass     
  34.2                                 USTS   c0000011                  xact error               3.1.0        16:22:20.768  hidclass     
  35.3                                 USTS   c0000011                  xact error               4.1.0        16:22:20.768  hidclass     
  34                                   RESET                                                     5.1.0        16:22:20.768  hidusb       
  33.1                                 USTS   c0000011                  xact error               6.1.0        16:22:20.768  hidclass     
  35.3                                 USTS   c0000011                  xact error               7.1.0        16:22:20.768  hidclass     
  34                                   ok                                                        5.2.0        16:22:21.143               
  34.2                                 RESET                                                     8.1.0        16:22:21.143  hidusb    

  how can i  re-enum the USB?  Why i can't capture the command such as GET DESCRIPTOR?
  thanks 

Outcomes