EC support for Intel SoC Debug

Overview

This application note describes the requirements and implementation details for EC FW to avoid disruption Intel SoC debug tools. It covers an overview of the current constraint, EC role in SoC debug flows and recommended implementation as well as a set of optional features to provide flexibility.

SoC debug while EC timeout is enabled

As indicated in Intel EC FW reference documentation, during system transitions (boot, resume, hibernate, shutdown) EC will check if certain conditions are met, if any of these conditions is not fulfilled within a predetermined time interval the power sequencing will stop and timeout.

Whenever Intel/OEM/ODMs connect a debug tool and change the boot flow (and intentionally stop the power sequencing in early stages), EC (WDT) reset the platform.

  • Connecting a debug tool/cable

  • Loading tokens or authenticating to enable Intel/OEM debug

  • Collecting and extracting emergency trace and crash log

  • OEM/ODM manufacturing floor bone-pile triage, RMA triage

  • IA run-control

Internally, Intel RVP has EC WDT disable jumper which allows to prevent this disruption; however, this is not appropriate for production or closed chassis systems.

../../_images/soc_debug_consent_jumper.png

EC SoC-debug awareness

EC will become SoC-debug aware when debug Consent is communicated, when debug is enabled, EC WDT must be disabled to allow debug tool to perturb the normal operation at any time, in any power-state.