Keywriter vs Keywriter Lite

This guide provides a comparison between Keywriter and Keywriter Lite to help you choose the right tool for programming customer keys in eFuses of TI SoCs.

Note

Overview

Both tools are used to convert a HS-FS (High Security - Field Securable) device to a secure state device by programming customer root keys (and optionally backup keys) in the eFuses of the device. Keywriter converts HS-FS to HS-SE (High Security - Security Enforced). Keywriter Lite converts HS-FS to HS-SE (High Security - Security Enforced - with only authenticated boot). They differ significantly in their architecture, supported features, and target devices.

Table 8 Quick Comparison
Feature Keywriter Keywriter Lite
Input Format X.509 Certificate with AES-encrypted extensions Structured Binary Blob
Supported Devices AM62x, AM62Ax, AM62Px, AM64x, AM275x, AM62Lx, J721E, J7200, J721S2, J722S, J784S4 AM62Lx only
Customer Encryption Keys (SMEK/BMEK) Supported Not supported
Resulting Device State HS-SE (with authenticated boot and optionally encrypted boot) HS-SE (with only authenticated boot)
Device Binding (Applicable only in AM62Lx) Permanently binds device to Keywriter Permanently binds device to Keywriter Lite

When to Use Which

Use Keywriter when:

  • The device is AM62x, AM62Ax, AM62Px, AM64x, AM275x, AM62Lx, J721E, J7200, J721S2, J722S or J784S4
  • You need customer encryption keys (SMEK/BMEK) for encrypted boot
  • You prefer the X.509 certificate workflow

Use Keywriter Lite when:

  • The device is AM62Lx (only supported device)
  • You only need authentication (secure boot without encryption)
  • You prefer the open source U-boot workflow

FAQ

Q: Can I use Keywriter on AM62Lx? A: Yes, Keywriter is supported on AM62Lx. However, device binding works both ways: whichever tool you use first permanently binds the device to that tool. If you use Keywriter first, the device is bound to Keywriter; if you use Keywriter Lite first, it’s bound to Keywriter Lite.

Q: Can I switch between Keywriter and Keywriter Lite after using one? A: No. The first tool used permanently programs device-type eFuse bits. Once set, the other tool will not work on that device. This applies in both directions - Keywriter first blocks Keywriter Lite, and Keywriter Lite first blocks Keywriter.

Q: Does Keywriter Lite support customer encryption keys (SMEK/BMEK)? A: No. Keywriter Lite only programs public key hashes (SMPKH/BMPKH). The resulting HS-SE device enforces secure boot with authentication only but cannot decrypt customer-encrypted images.

Q: What is the difference between HS-SE and HS-SE (with only authenticated boot)? A: HS-SE (from Keywriter) supports customer encryption keys (SMEK/BMEK) for encrypted boot. HS-SE (from Keywriter Lite) only supports authentication keys (SMPKH/BMPKH) - secure boot is enforced but images cannot be customer-encrypted.