ForceReboot Question

Discussion to talk about software related topics only.
Post Reply
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

ForceReboot Question

Post by seulater »

The ForceReboot says that it performs a soft reset.

I have ran into a situation that the unit works just fine until i call the ForceReboot.
Some things dont work correctly after it reboots.

Is the ForceReboot, jumping to the same spot as a POR is ?
I.E. loading all variables and default values as it does with POR ?
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: ForceReboot Question

Post by pbreed »

Yes ALL software is identical to POR.

The primary difference is that the ethernet PHY does not get a hardware reset.
Some version of older monitors would put the Ethernet in isolate mode after soft reset.
This is detected and fixed in the latest releases.
greengene
Posts: 164
Joined: Wed May 14, 2008 11:20 am
Location: Lakeside, CA

Re: ForceReboot Question

Post by greengene »

Sometimes in our applications we want to know why we have (re)started,
e.g., POR, hard reset, watchdog, software, etc. If you do any different application
processing based on that, e.g., we set some DACs on power up but keep their
current state on a software reset. To make this distinction we look at the MCF
reset register, sim.reset.rsr, to see why the CPU thinks it started.
Post Reply