Hi, I have written a CAN bootloader.
At some point I need to reset the processor. When I use the Cpu_SystemReset() the processor freezes.
It looks as there is a break point at
// Setup registers
__init_registers(); <----- here
in __arm_start.c file
If I go through the program in debug mode I can continue the execution of the program.
I have also downloaded the program to the board and when it resets and freezes I was able to attach the debug and continue the program. It seems the same situation as before with continued debug connection.
I have also read the reset source from the RCM register and it seems to be correct - the SW (Reset caused by software setting of SYSRESETREQ bit) is active
I would appreciate any help with the situation.
Best Regards, Lovro