FX30S: what does ulpm_ShutDown() really do?

Hello,

I have been working with the ulpm_ShutDown() function while trying to implement a way for a user to properly turn off an FX30.

I had hoped ulpm_ShutDown() would initiate a Linux shutdown (poweroff), but it appears it shuts down the processor without going through the usual shutdown steps.

Is this the way it is supposed to work?

Is there a way to invoke a Linux shutdown/poweroff from a Legato app so as to ensure an orderly termination of services, etc.?

Thanks,
Mark

@mjbutsch,
Please refer to Legato webpage for ULPM description and API usage:
https://docs.legato.io/latest/c_ulpm.html
BR,
Jordan

Hello,

Yes, I have read the Legato webpage, but it doesn’t really describe what actually happens and how it might compare to the Linux shutdown/poweroff and whether it is safe to use le_ulpm_ShutDown() as a prelude to unpowering the device.

Thanks,
Mark

Hi @mjbutsch,
Do you have PTS of the device? I think it has ULPM mode included.