blhost on PC running Windows 11

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

blhost on PC running Windows 11

611 Views
kt
Contributor II

Hello

After updating to Windows 11 is blhost is unable to open USB HID Device.

Tested on LPC55S69-EVK.

Example blhost command:

kt_0-1713965459352.png

LPC55S69 Boot-HID device is found/enumerated correct by PC:

kt_1-1713965481184.png

 

Exact same command works fine on PC running Windows 10:

kt_2-1713965668974.png

(Same PC hardware / USB connection - Windows 10 PC running as virtual machine).

Question: Why does blhost not connected to LPC55S69 bootloader when running on Windows 11 PC?

Regards Knud

 

Labels (2)
Tags (2)
0 Kudos
15 Replies

269 Views
kt
Contributor II

How did your test on Windows 11 go?

0 Kudos

222 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I did the test, and this is my result.

Pavel_Hernandez_0-1714753540897.pngPavel_Hernandez_1-1714753551052.png

Best regards,
Pavel

0 Kudos

258 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my apologize I will test it at these days.

Best regards,
Pavel

0 Kudos

572 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, I suggest using the SPSDK this is the newest tool that has integrated a bunch of tools into one site.

Installation Guide — SPSDK documentation

Best regards,
Pavel

0 Kudos

561 Views
kt
Contributor II

Hello Pavel

Thanks a lot for fast response

Have installed SPSDK, but have more or less same problem – see screen dump below:

  • nxpdevscan command is able to find LPC55S66 device.
  • blhost command is not able open communication (here for a simple reset command)

kt_0-1714030318170.png

But, I am looking for a ‘simpler’ tool than installing Python interpreter + SPSDK package – here blhost.exe is perfect.

Need the tool for 2 purposes:

  • In production line for flash programming, read out of UUID, etc.
  • For firmware update at consumer customer / product repair center.
    For this, I need simpler tool than SPSDK

Questions:

  • Is my problem related to Windows 11 or do I have to look for other issues?
    If yes: When can I expect an update of blhost.exe that run on Windows 11?

  • Does other simple program for firmware updating LPC55xxx CPU via USB exists?
    If yes: Any suggestion to fix my problem…

 

PS.: Same problem on LPC55S69-EVK and LPC55S66 used in our application

Regards Knud

0 Kudos

553 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I tested it on my side and then had the same issue, but then I saw you miss a 0 on the PID section, try with 0x0020.

Let me know if the issue is still there.

Best regards,
Pavel

0 Kudos

547 Views
kt
Contributor II

Hello Pavel

Again, thanks for your reply – very appreciated.

Have made 2 new test with correct PID parameter:  No change / same problem

kt_0-1714068985565.pngkt_1-1714068998365.png

Best regards

Knud

0 Kudos

537 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, did you put the Board in ISP mode?

I test it on my side with the LPC55s69 with the HS-USB (P9) and the ISP button (S1).  

Pavel_Hernandez_0-1714079479432.png

Best regards,
Pavel 

0 Kudos

535 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I confirm with your image you have the ISP mode, are you using LINUX?

Best regards,
Pavel

0 Kudos

486 Views
kt
Contributor II

Hello Pavel

Yes, I press and hold S1-ISP button while plugging USB cable into P9

(boot loader only activate if S1-ISP pressed during reset)

 

As already written, this problem only occurs when running on Windows 11 Pro system.

If I run a virtual Windows 10 Pro on same hardware (and same PC USB port) does blhost.exe run correct.

Please try to replicate problem on PC running Windows 11 Pro…

Best regards

Knud

0 Kudos

467 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I apologize I do not have at moment the board at home, my personal computer has win11, I have an OKDO, and I tested it but with VCOM.

Pavel_Hernandez_0-1714168177523.png

The Win11 is communicating and is discarded, could you review if the jumpers are in default position? Could you please download the document and review the Table 1. Indicators, buttons, connectors and LEDs?

LPCXpresso55S69 Development Board | NXP Semiconductors 

Pavel_Hernandez_1-1714168309951.png

 

Best regards,
Pavel

0 Kudos

421 Views
kt
Contributor II

Hello Pavel

Thanks for your work on this issue, but this is a completely different test you made.

Let me summarize my findings:

  • blhost.exe works fine on my older Windows 10 PC, and on Virtual Windows 10 (via VMware Workstation 15 Player).
    I do therefor think that all settings, DIP switch, etc. is correct.

  • When running Windows 10 as virtual machine on Windows 11, did I use exact same USB port, cable, test procedure, etc.

  • On Windows 11 is nxpdevscan able to find LPC55S69 boot loader.
    This mean LPC55S69 bootloader is able to enumerate on USB
    i.e at minimum USB layer 1 and 2 is working correct.

  • Same problem when testing on LPC55S69-EVK and our application PCB using a LPC55S66 CPU.

From this I conclude: Problem is related to USB connection on Windows 11

The goal is to have a simple Windows problem that are able to firmware update via built in bootloader, which is fulfilled by blhost.exe

We do not like SPSDK because it also requires installation of Python interpreter, but it’s of cause OK for tracing the real problem with blhost.exe

Please make correct attempt to replicate problem: Windows 11 + USB connection.

Best regards Knud

0 Kudos

326 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry but I could not offer a good solution if you are using the VMW this is beyond the scope, could you test it on native WIN11?

Best regards,
Pavel

0 Kudos

313 Views
kt
Contributor II

Hello Pavel

The problem is on native Windows 11.

I only use VMware to run older Windows 10 for further testing - and here it works fine
Running this test shows that cabling, USB hardware on PC, Switches / Jumpers on LPC55S69-EVK, command line parameters for blhost.exe, etc. is correct.

Best regards

Knud

0 Kudos

297 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, let me try on my side this on win11 with the EVK tomorrow.

Best regards,
Pavel

0 Kudos