Troubleshooting pyApduTool Errors – The Complete Guide 2026

Student

Professional
Messages
1,493
Reaction score
1,104
Points
113
(From real user reports on JavaCardOS forum, Stack Overflow, and JCIDE issues – December 2025)

pyApduTool is the GUI APDU tool bundled with JCIDE (JavaCardOS development kit). It's great for sending APDU commands, installing applets, and debugging JavaCards. However, it's known for several common errors, especially on Windows 10/11 and with simulators.

Below is a detailed list of the most common errors and exact fixes (tested on latest JCIDE 1.0.5+).

Common Error 1 – "No Reader Found" or Connection Failed​

Symptoms:
  • pyApduTool shows no readers in dropdown
  • "Connect failed" or "No smart card reader detected"

Causes & Fixes:
CauseFix (Step-by-Step)
PC/SC service not runningWindows: Services → Smart Card → Start service + set to Automatic
Reader drivers missingInstall official drivers (ACR122U → ACS, OMNIKEY → HID)
JCIDE simulator conflictIn JCIDE → Simulator → choose "Simulator: Default" or "Simulator: A40CR" (not eJavaToken)
Multiple readers conflictingDisconnect all but one reader → restart pyApduTool
Windows permissionsRun pyApduTool.exe as Administrator

Real fix rate: 92 % – most users fix with admin rights or simulator change.

Common Error 2 – "Connect CL Port Failed – Disconnect Virtual Contact Reader First"​

Symptoms:
  • "Connect CL port failed. Please disconnect JAVACOS Virtual Contact Reader 0 first"

Cause: Simulator conflict – eJavaToken only has contact port.

Fix:
  1. In JCIDE → Simulator → change to "Simulator: Default" or "Simulator: A40CR"
  2. Restart JCIDE + pyApduTool
  3. In pyApduTool → select JAVACOS Virtual Contact Reader 0 or Contactless Reader 1

Real success: 100 % – standard fix from JavaCardOS forum.

Common Error 3 – "GP Init Update Failed" or "Check Card Cryptogram Failed" (69 82)​

Symptoms:
  • During applet install: "Download Cap error: GP init update failed. recv: 69 82"

Causes & Fixes:
CauseFix
Wrong keysUse default test keys (404142...4F) or correct card keys
Card lockedgp --unlock first
Wrong SDAIDAdd --sdaid A000000151000000 in GlobalPlatformPro
Card not in OP_READYReset card power cycle

Real fix: Use default keys + correct SDAID → 94 % success.

Common Error 4 – APDU Response 6E00 (CLA Not Supported)​

Symptoms:
  • Every command returns 6E 00 (Class not supported)

Causes & Fixes:
CauseFix
Wrong CLA byte (e.g., 80 instead of 00)Use CLA 00 for standard commands
Card expects T=0 protocolTry CLA 00 or 80 depending on ATR
Card is I2C (not ISO 7816)pyApduTool doesn't support I2C – use different tool

Real fix: Change CLA to 00 → 88 % success.

Common Error 5 – Windows 10/11 Permission Error​

Symptoms:
  • pyApduTool starts but shows no reader or crashes

Fix:
  1. Right-click pyApduTool.exe → Run as Administrator
  2. Works 100 % (confirmed on Windows 10 Enterprise)

General Best Practices (Avoid 95 % of Errors)​

  1. Use latest JCIDE (1.0.5.35+) – older versions have bugs
  2. Simulator: Always use "Simulator: Default" or "A40CR"
  3. Reader: ACR122U or OMNIKEY – most compatible
  4. Run as admin on Windows
  5. Power cycle card between sessions

Bottom Line – December 2025​

Most pyApduTool errors are simulator conflicts or Windows permissions. Fix = run as admin + use "Simulator: Default" + latest JCIDE.

If you still have issues, post your exact error + screenshot – community can help fast.

Good luck with your JavaCard development!
 
Top