T4 software restart procedure and freeram function

Status
Not open for further replies.
That's it, just change that 0 to 2 in startup.c.

What that undocumented bit in GPR16 really does, I have no idea. Well, other than preventing soft reboot from working... it definitely does that.

Just for the record, with the NXP SDK on 1062, I noticed that IOMUXC_GPR->GPR16 is 0x200003, though I see nothing in the SDK C sources where that "2" is set ?? How did you discover the magic bit? (as mentioned, soft reset was working on NXP 1062 eval board)

EDIT: i also did a quick build on old T4B1 (1050) and it too reports IOMUXC_GPR_GPR16 0x200003, and as I recall soft reset worked on T4B1
 
Last edited:
Clearing the watchdog register also causes a reset, but the clock gate obviously must be enabled for the watchdog, even if your not using the watchdog, just another way to cause a reset.
 
Status
Not open for further replies.
Back
Top