AnsweredAssumed Answered


Question asked by dang_son.hai on Dec 6, 2014
Dear All.
I'm now working with Composite Example of ST USB Example Project.
Now I can work with both MSC+HID like example, and more modify (change MSC from SD card to Internal Flash). That's ok.
But, I need help from Community, I don't understand why I can't  remove EXTI15_10_IRQn interrupt.
In ST_USB example this interrupt (EXTI15_10_IRQn ) be config to manage the TAMPER button push event. EXTI9_5_IRQn be config to manage user button.
I can easily remove User button.
But when I disable config of EXTI15_10_IRQn, like that:
- in Function void EXTI_Configuration(void):
//  EXTI_InitStructure.EXTI_Mode = EXTI_Mode_Interrupt;
//  EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Rising_Falling;
//  EXTI_InitStructure.EXTI_LineCmd = ENABLE;
//  EXTI_Init(&EXTI_InitStructure);
//  /* Clear the Tamper EXTI line pending bit */
- in Function void USB_Interrupts_Config(void):
//  NVIC_InitStructure.NVIC_IRQChannel = EXTI15_10_IRQn;
//  NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
//  NVIC_Init(&NVIC_InitStructure);
And the Problem is:
I can't Flash MCU again. And get the alarm "Failed to read CPUID for Cortex device"...
I must to use Flash Loader Demostator to erase all Internal Flash to can Flash MCU with ST Link again.
How I can remove this interrupt?
Thanks and Best regards.