[LPCScrypt version 2.1.3_83]
For booting and flashing an old LPC1857 we use LPCScrypt for updating device firmware.
Since Windows 11 25H2 LPCScrypt is broken: calling it on the command line (ie PowerShell) leads to "Error: Error from CreateProcess: The system cannot find the file specified"
Sysinternal's Process Monitor leads to the assumption that LPCScrypt is performing a wmi query by using "wmic path Win32_PnPEntity where (service like '%usbser%' and name like '%lpc%') get.exe".
But wmic is declared deprecated since 2016 and had been removed from Windows 11 since 25H2 (see Windows Management Instrumentation Command-line (WMIC) removal from Windows - Microsoft Support)
Request to NXP dev team: Is this issue known yet? How to get it to work in the future?
Thank you for the information.
My workaround was to add wmic support to Windows 11 as follows
Regards,
Mathias
Probably because I have upgraded from Win10 to Win11, I still have WMIC on my machine:
I recently upgraded from Win10 to Win11 25H2.
But so far, I have not seen an issue with LPCScrypt (yet). Using the one packaged with LinkServer v25.9.134 (see below)
Updating my LPC-Link2 with LPCScrypt worked fine.
Not an expert on WMIC, but according to the information it is gone in 25H2, chatGTP suggested to copy wmic.exe and wmic.exe.mui from an older Windows version to 25H2.
NXP is aware of the issue, and there might be an updated LPCScrypt in a next LinkServer release.
Hello @mathiasmonse
Thanks for your question.
If WMIC support is removed, yes, you can try to install it. Or use an earlier Windows version or to run LPCScrypt on Linux or macOS.
BR
Alice