How do I add STM32F417VG to uVision as a device under Project > Select Device?
finally i figured out, nothing wrong with the program, i just needed to change the debugger profile -_- thanks!