iap cannot work with usb
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-06-03 9:29 PM
Posted on June 04, 2018 at 06:29
mcu: stm32f207VG
I have a bootloader which jumps to another application at 0x8040000, the testing code is
NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x40000);
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
USBH_Init(&USB_OTG_Core,USB_OTG_FS_CORE_ID,&USB_Host,&USBH_MSC_cb,&USR_Callbacks);
while(1)
{ USBH_Process(&USB_OTG_Core, &USB_Host); }It seems that usb not work, interrupt OTG_FS_IRQHandler is not triggered. but other periph devices work.
If I comment out
NVIC_SetVectorTable, and don't use bootloader, usb works.
I cannot figure out what's wrong. can anybody give me some advice, and id of official manual to look at.
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
