We are wondering if the Xavier eMMC could suffer a problem if power is removed suddenly.
Our design allows an operator to forcibly remove the battery if they try hard enough. We’ve already seen several instances of abrupt battery removal because our testing team can be aggressive with batteries and we have test-cases we exercise.
We expect our Xavier AGX in-house carrier-board design to provide a (very) few milliseconds after a battery is suddenly removed. We also ran an interrupt line to Xavier for notification purposes. We have a separate, large RTC battery but there’s only a tiny amount of power there.
If Xavier eMMC was being written-to and we have a few (3-8) milliseconds to prevent further enqueuing, is that enough time for the eMMC queues to clear properly? Even if wear-leveling was in-progress? Is there a recommended way to measure this? Is there an Nvidia-recommended “abrupt shutdown” mechanism we should be implementing? Is there any damage possible to eMMC?
We have been using Linux “fio” to measure the completion latency of transactions.