Skip to content

USB-C key fails to update #115

@hitzemann

Description

@hitzemann

I can update my USB-A key without issues, but I cannot update the USB-C key. However they arrived with totally different firmwares. USB-A was already on a 2: one, USB-C is still on 0:
I also tried this on different machines using macOS and Windows 10.

~ » solo2 -V
solo2 0.2.2

~ » solo2 ls
Solo 2 24C0505B74AFCA5F9479D2AAE5968B16 (CTAP+PCSC, firmware 0:20200101.0)

~ » RUST_BACKTRACE="1" solo2 update -y
Downloading latest release from https://github.com/solokeys/solo2/
Fetched firmware version 2:20220822.0 (2.964.0)
Tap button on key to confirm, or replug to abort...
LPC55 Bootloader detected. The LED should be off.
Writing new firmware...
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████░░ 307552/310672aborting
thread 'main' panicked at /Users/simon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lpc55-0.2.1/src/bootloader/protocol.rs:299:29:
unexpected status SbLoader(Signature)
stack backtrace:
0: rust_begin_unwind
at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
2: lpc55::bootloader::protocol::Protocol::call_progress
3: lpc55::bootloader::Bootloader::receive_sb_file
4: solo2::device::Device::program
5: solo2::main
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

~ » uname -a
Darwin mba 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103 arm64

~ » system_profiler SPUSBDataType
USB:

USB 3.1 Bus:

  Host Controller Driver: AppleT8103USBXHCI

    Tester:

      Product ID: 0xb001
      Vendor ID: 0x1209
      Version: 3.c4
      Serial Number: 24C0505B74AFCA5F9479D2AAE5968B16
      Speed: Up to 12 Mb/s
      Manufacturer: SoloKeys Tester
      Location ID: 0x01100000 / 1
      Current Available (mA): 500
      Current Required (mA): 100
      Extra Operating Current (mA): 0

USB 3.1 Bus:

  Host Controller Driver: AppleT8103USBXHCI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions