blhost on PC running Windows 11

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

blhost on PC running Windows 11

2,790 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
Reply
21 Replies

1,367 Views
jamescpi
Contributor I

@Pavel_Hernandez 

We are also seeing this issue. It seems to work on Windows 11 version 21H2 but it is NOT working on a later version on a different computer.

Is there any resolution or workaround to this problem?

0 Kudos
Reply

1,353 Views
jamescpi
Contributor I

@Pavel_Hernandez it does NOT work on Windows 11 23H2

Tags (1)
0 Kudos
Reply

1,329 Views
EmbeddedTech
Contributor III

@Pavel_Hernandez ,

We are also facing the same issue. I have also raised it few weeks back. When I testes it around March of this year it was working fine. I also had windows 11 at that time. But now it is not working. Now the Windows 11 version is 23H2. Can you please provide us some solution.

Thanks for your help in advance.

0 Kudos
Reply

1,783 Views
giganxp
Contributor I

Im seeing the exact same thing.  blhost usb hid works on Win 10 not Win 11.

Has this issue been resolved?

0 Kudos
Reply

1,770 Views
kt
Contributor II

Hi

Unfortunately not solved
Pavel Hernandez (NXP Support) does no recommend to use blhost
Pavel says that SPSDK work fine on his Win 11 setup, but it does not work on my Win 11 PC.
SPSDK also require installation of Phyton interpreter, which is to complicate for use in our product Service center.

I am still very interested in using blhost on Win 11 - maybe you are able to find solutiuon

0 Kudos
Reply

2,396 Views
kt
Contributor II

How did your test on Windows 11 go?

0 Kudos
Reply

2,349 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
Reply

2,385 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

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

Best regards,
Pavel

0 Kudos
Reply

2,699 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
Reply

1,656 Views
EmbeddedTech
Contributor III

Hi @Pavel_Hernandez ,

I am facing the similar issue. I am using the MCUBootUtility to program the board using OTA bootloader. The bootloader was working fine previously. But now when I try to connect using the BootUtility tool it is giving the following error ' Failed to ping SBL ISP component, Please double check it is SBL target!'.

I can see the USB is enumerated as HID but not able to connect to SBL. Your quick help on this is highly appreciated.

Thanks.

0 Kudos
Reply

2,688 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
Reply

2,680 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
Reply

2,674 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
Reply

2,664 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
Reply

2,662 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
Reply

2,613 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
Reply

2,594 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
Reply

2,548 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
Reply

2,453 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
Reply

2,440 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
Reply