AnsweredAssumed Answered

iap cannot work with usb

Question asked by ming hu on Jun 4, 2018

mcu: stm32f207VG


I have a bootloader which jumps to another application at 0x8040000, the testing code is


    NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x40000);



    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.