software reset and IWDG not working after downloading the hex file
Hi Support Team,
I am using the STM32F103RCT6 MCU in my design, I am facing one issue related to the software reset using "HAL_NVIC_SystemReset();" api is not working and the IDWG also not working after downloading the .hex file using the custom bootloader. However the other code works fine but when the software reset "HAL_NVIC_SystemReset()" is called the MCU hangs and the IWDG also not able to reset the MCU.
I have tried the same project downloading through ST-LINK V2 and the code works fine along with software reset and IWDG.
I am not able to find the cause of the software reset and IWDG not working after downloading the .hex file using the custom SPI bootloader.
I am 100 % sure there is no issue in writing the .hex contents into flash memory using the bootloader. I am using the same process from several months and it is working fine. Only the issue happening after adding software reset and IDWG in the code.
does the program download using ST-LINK V2 and STM32 CUBE IDE uses the .hex file or any other file is used like .elf is used while downloading program using ST-LINK V2?
I suspect some issue in the generation of the .hex file.
Please help find the issue.
Thanks and Regards,
Aadesh
