Part Number: AM2432
Tool/software:
Hi,
I'm trying to reset the am243x soc.
Via syscfg - I've added MPU region 0x45D00000U size = 4KB all read and write non cached not executable
#define MCU_CTRL_MMR_BASE 0x45D00000U
#define MCU_RST_CTRL_OFFSET 0x0004U
#define MCU_RST_CTRL (*(volatile uint32_t *)(MCU_CTRL_MMR_BASE + MCU_RST_CTRL_OFFSET))
#define MCU_RST_CTRL_KEY (0x5A690000U)
#define MCU_RST_CTRL_RESET_REQ (MCU_RST_CTRL_KEY | 0x1U)
Then at the point I've detected the power start to go down:
__sync_synchronize();
MCU_RST_CTRL = MCU_RST_CTRL_RESET_REQ;
while (1); // Wait for reset
But at this point I see other FreeRTOS tasks keep running so there was no reset.
Is my approach correct ?
What's the correct reset (as if from ccs "system reset")
Thanks,
Eli