cancel
Showing results for 
Search instead for 
Did you mean: 

STM32TrustedPackageCreator HSM_P11_Lib.dll error

paolog
Associate III

I'm trying to program an HSM Smart Card but I'm facing with this error: "HSM_P11_Lib.dll not found"

I'm running the updated version (2.17) of STM32TrustedPackageCreator 32-bit on a Windows 10 PC (32-bit as well). The device manager shows me that the driver for the smart card reader is correclty working, as well as the HSM Smart Card. The STM32TrustedPackageCreator works fine with the same reader and same card on another Windows 10 PC, but in 64-bit.

The DLL library is in the bin folder (which is in the system path), and properties show me it's the 32 bit version.

Where could be the problem?

1 REPLY 1
Aziz BRIGUI
ST Employee

Hello @paolog

Thanks for bringing this to our attention. Issue is already tracked internally. Internal Ticket number : 192569.

For now, the workaround is to use 64-bit OS. 

PS : The 32-bit version of STM32CubeProgrammer works as expected for Windows 10 64-bit (The DLL is successfully loaded).

Aziz


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.