AnsweredAssumed Answered

IAR V7..30 for arm Debug can't stop the target

Question asked by lei.liu.004 on Jan 11, 2015
Latest reply on Jan 11, 2015 by lei.liu.004
When I debug the usb of stm32f103, using ST firmware library and st-link .Will appear the following questions:
I want to suspend operation, but the IAR will be prompted to me that "Target is running,Failed to stop the target"!!
If I delete the code:
 /*
NVIC_InitStructure.NVIC_IRQChannel = USB_LP_CAN1_RX0_IRQn;
  NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 6;
  NVIC_InitStructure.NVIC_IRQChannelSubPriority = 7;
  NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
  NVIC_Init(&NVIC_InitStructure);
  
  NVIC_InitStructure.NVIC_IRQChannel = USBWakeUp_IRQn;
  NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 5;
  NVIC_InitStructure.NVIC_IRQCha */
There is no problem for debug
Why ???   (My English ability is very poor, but I tried my best to in the description)aa18972bd40735fa0e8b8c2b9d510fb30f24082d.jpg

Outcomes