Hello, I’m trying to force my device (STM32F417) into system memory boot without physically setting the boot pins (cannot access them) and resetting the board i.e. jump to it from my application when the user requests and then re-flash using USB and the DfuSe application.
Where I stuck is when the user send a reprogram command over the USB the following code is ran:
SysMemBootJump = (void (*)(void)) (*((uint32_t *) 0x1FFF0004));
SysTick->CTRL = 0;
SysTick->LOAD = 0;
SysTick->VAL = 0;
but the DfuSe application doesn’t detect the device. And after a period of time >10secs the device will restart.
Can anyone help or give me direction as to the possible issue.
Re-flashing using IAP isn’t really an option as the user cannot reset the board easily and all GPIO pins are taken therefore cannot detect a re-flash is required on restart.
Cheers for any help you can give.