Closed dev-area closed 3 months ago
Which VID & PID?
Tried the one in the example 0x1234:0x5678 And also tried cardcontact hsm vid:pid
also got the same error using a prebuilt uf2 from here
You have to use one of known vendors. 234b:0000
is from FSIJ and it's free to use.
Try to use pico-hsm-tool.py phy vidpid 234b:0000
and reboot.
not working i built it using the commands: $ PICO_SDK_PATH=../projects/pico/pico-sdk cmake .. -DDEBUG_APDU=1 -DPICO_BOARD=pico -DUSB_VID=0x234b -DUSB_PID=0x0000 $ make
after flashing it - not recognized
What lsusb
shows?
ok found the problem Its windows OS I built everything again on a linux computer (not VMWare image) and its ok it is recognized and i can use it but when connecting to windows 10 computer - windows os doesnt recognize it and not forward it to the VM the error on the device manager is: "The USB device returned an invalid USB configuration descriptor."
Usually VM deny SmartCard devices for security purposes. Like Nitrokey or Yubikey, we do not support VM.
that means we cant use the pico hsm on windows Im using version 3.6 with several projects on windows
3.6 worked with VM?
Yes Vm and windows host without a problem
Try this:
replace U32_TO_U8S_LE(0x2)
by U32_TO_U8S_LE(0x1 | 0x2)
, build the firmware and reflash
same problem
Try this:
replace 0x0210
by 0x0200
yes, now its ok with both changes thanks
Good to know. Can you undo the first change and leave it to U32_TO_U8S_LE(0x2)
? I am not sure if both are fixes or just the second.
its ok, only the second change is required (0x200)
thanks
hi Iv updated the code to release 4.0 , build it ok without errors (on debian running inside VMware) but after flashing the firmware it is no more recognized - im getting an error on windows (usb not recognized) and also cant mount it on linux i also tried with a prebuild uf2 file from the repo here and the same problem test it on pico simple board and also on seeed xiao