This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how can i update program using wifi module. Using its Uart

hello, i wrote another hex file into stm32f407 board to different flash sector using flash write function and i want to jump that memory location. when  i tried to jump it always start from base flash memory location. Actually i m try to write program using wifi and it's uart . After write complete hex file , i want to run that program. Please help

  • ST have Application Notes which show how to do this - look for "In-Application Programming" (IAP)

    It has nothing to do with Keil.

  • Make sure the target addresses are set correctly, check Target pane in Keil.

    Make sure the vector table is set to the correct address, check SystemInit().

    Make sure that the binary data is correctly written to the memory, and matches expectation, check the vector table and entry points.

    Make sure that the control transfer code operates correctly, use the debugger, step into the code, confirming it gets into the Reset Handler and SystemInit() functions correctly, as expected.