I'm making a GNUK token with a ST Link v2 (maybe a replica but with genuine STM32F103C8T6) with GNUK 2.1. But I encountered a prompt of 'card error' while generating the key/executing the KEYTOCARD command. When using GNUK 1.2.20 firmware, it can function normally, so it should not be a problem with flash memory size. (The firmware volume of this version is nearly 30 kb larger than that of version 2.1)
The MCU is genuine because ST-Link Utility could identify and update it. And I have tried burning in different ways and the results are the same (OpenOCD/tools from downloader manufacturer). Build Environment: arm-none-eabi-picolibc 1.8.5 arm-none-eabi-gcc 13.2.0 May I ask if you have had any experience with this problem? Due to my limited free time, I may not be able to debug for a while. However, I will be happy to provide you with the information you need. English is not my first language. I apologise for any offence. _______________________________________________ Gnuk-users mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnuk-users
