How do I add STM32F417VG to uVision as a device under Project > Select Device?
Did you actually do a flash download (Flash->Download)? Did you properly select the flash algorithm? (Options for Target->Utilities->Settings)
finally i figured out, nothing wrong with the program, i just needed to change the debugger profile -_- thanks!