Hi,
In my power converter, there will be a RESTART/RESET command via CANBUS. I'm trying to achieve it and read forum about it.
1) As I learnt, there is "SysCtl_simulateReset(SYSCTL_CAUSE_XRS);" command for F28003x. Is there any equivalent code or code block with more lines to achieve same task for F28004x? My collegue doesn't have any problem with SysCtl_simulateReset command on F28003x..
2) I tried to achieve the task by using "SysCtl_resetDevice();" command, and it generally works fine but has some problems when a new software is loaded.
The "SysCtl_resetDevice();" command works fine if I apply at least one power off and power on done on my board after loading a new software. At normal condition, there is no problem.
The problem occurs when I loaded a new software and after loading it when I didn't turn-off and power on my board again. In this condition, the "SysCtl_resetDevice();" command resets my device but get my code stuck when command received. MCU behaves like no software inside. I thought that my bootloader doesn't work as expected. If I made power-off and re power-on my board, it again works fine.
Can you comment on it?
3) Which sequence is done inside of MCU if a new software is loaded unkike power-off and on the board?
Thanks in advance.