2020-09-07 10:11 PM
I am trying to develop a custom boot-loader on Nucleo-H743ZI2 evaluation board. But the boot-loader is not jumping to application code. I had referred to the other posts regarding the topic and adopted some code from those also. I had flashed the codes of application and boot-loader to the respective memory locations at 0x8020000 and 0x8000000.
Please do point me to the problem in the code provided.
Solved! Go to Solution.
2020-09-08 04:24 AM
Thank you, it had worked. I had changed the bootloader and application to maximum frequency.
2020-09-08 01:48 AM
Do the switch between user and bootlaoder as early after reset as possible. That works for me and many others.
2020-09-08 04:24 AM
Thank you, it had worked. I had changed the bootloader and application to maximum frequency.
2020-09-08 08:07 AM
Indeed, if the loader needs to add a lot of functionality, ie user interface, configuration, recovery, add this downstream such that the optimal path transfers control before entering an RTOS, or whatever. If during startup you detect the app image is corrupt, or a user key press or jumper is signalling a recovery/configuration mode, enter the more advanced level loader functionality.
Alternatively have the user app provide a mode to reset into the advanced loader functionality.