Skip to content

Troubleshooting

Flashing

esptool says No serial data received or cannot connect

The Cardputer is running its firmware instead of the ROM loader. Power it off, hold G0, plug in USB, release G0, and try again. Check the cable carries data: lsusb should list 303a:1001.

The screen stays dark after flashing

The chip is still in the loader. Add --after watchdog_reset to the esptool command, or switch the device off and on without holding G0.

The first start asks Set up storage?

The storage area holds another app's old data, which is normal after installing from M5 Launcher or flashing without --erase-all. Press Enter to prepare it. SecTrustKey only offers this for an area that has never held SecTrustKey keys.

The device shows Storage recovery and USB stays off

The key store was found damaged. Restore an SD backup from the recovery screen. If you have none, decline the restore: the device then offers to erase and start over, after two confirmations, and all keys in it are lost.

Storage layout error after using M5 Launcher

The key storage partition stk_store is gone, usually because a SecTrustKey entry was deleted in Launcher, which removes the storage with it. Install SecTrustKey again from Launcher; if Launcher offers Restore Data from its own backup, accept it, otherwise restore your SecTrustKey SD backup.

GnuPG and smart cards

gpg --card-status finds no card
  1. On Linux, add SecTrustKey's ID to the CCID driver list and restart pcscd.
  2. Only one program can own the reader. gpgconf --kill scdaemon releases GnuPG's hold; close ykman sessions and browser smart-card prompts.
  3. pcsc_scan -r should list SecTrustKey.
gpg says Bad PIN when changing a PIN

If the retry counter did not drop, the new PIN was too short: 6+ characters for the user PIN, 8+ for the admin PIN. See Change the PINs.

FIDO and browsers

A request seems to hang

The device is waiting for Enter or Backspace; look at its screen. Avoid FIDO requests while a long smart-card command, such as RSA key generation, is running.

The browser asks for a PIN you never set

Another program or browser tab has an open security-key request. Cancel it and try again.

pamu2fcfg fails with fido_cred_verify (-7) FIDO_ERR_INVALID_ARGUMENT

Update to v1.2.0 or later: older firmware sent self attestation, which pamu2fcfg 1.1 rejects. See Linux login.

FIDO reset is refused

A reset is only accepted within 10 seconds of plugging the device in. Unplug, replug and start the reset straight away.

Codes

Codes shows Time not set

The clock is lost at every power-off. Set it under Settings → Clock (Wi-Fi or Type the time), turn on Sync at start, or run stk-time.py.

Clock not set: Wrong password? or Network not found

Check the password (it is shown as you type) and that the network is 2.4 GHz. WPA3-only networks are not supported; switch the router or hotspot to WPA2 or WPA2/WPA3.

Clock not set: No answer from time server

The network joined but pool.ntp.org and time.cloudflare.com did not answer, often a captive portal or a network that blocks NTP (UDP port 123). Use another network or Type the time.

Codes says the codes are password-protected

The OATH application has an access password, so codes are not shown on screen. Use ykman oath accounts code instead, or remove the password.