- #Usb vid pid tool how to
- #Usb vid pid tool serial
- #Usb vid pid tool software
- #Usb vid pid tool Pc
- #Usb vid pid tool series
Through it, we don’t need to study and write USB driver. WinUsb is a middleware similar to libusb and USB device communication provided by Microsoft from xp-sp2. The first way is to use the classic WinUsb Library of windows. We take the mimxrt1020-evk board as an example, adjust the board to the SDP startup mode, and after connecting the USB to the PC, you can see the newly enumerated hid compliant vendor define device device in the device manager, which is the USB communication function integrated in the bootrom working.
#Usb vid pid tool how to
The problem now is how to find the USB device path. For more explanation, see Windows USB Device Path 。 3、 Method of obtaining USB device path USB device path is often passed into Win32 API function createfile() to establish communication with USB devices. The windows operating system uniquely “identifies” the USB device / interface connected to the system through a “device path”, which is the USB device path.
#Usb vid pid tool Pc
However, if multiple boards are operated at the same time, only vid and PID information is not enough, because the vid and PID of these boards are the same, and the PC can not specifically identify which board the command in the script corresponds to (so it may be specified randomly, but this is meaningless, and we can’t accurately control the download of each board), At this time, we need to provide the command line tool with USB device path instead of USB vid, PID: Command format: sdphost.exe/sdphost.exe - U device_ path - command arg 2、 What is USB device path? Command format: sdphost.exe - U vid, PID - command ARG After all, the only i.mxrt device can be found on the PC side through the vid and PID provided. Regarding the usage of sdphost / blhost tool, ruffian Heng has written a detailed introduction article: Sdphost usage、 How to use blhost。 If it is a single board operation, only vid and PID information are needed to complete the command line operation. Therefore, sdphost / blhost tool is indispensable for mass download communication with i.mxrt. I.mxrt1xxx download also needs to be combined with flashloader (the host computer communication protocol in flashloader is blhost protocol). The host computer communication protocol (i.mxrt1xxx is sdphost protocol and i.mxrtxxx is blhost protocol) is integrated in the bootrom. If the device is identified only through vid and PID, the operation of multiple boards can not be carried out at the same time, because the vid and PID of all boards are the same, what should we do? The USB device path that ruffian Heng will introduce today solves this problem. the USB Download of mxrt mainly supports the USB-HID protocol and the supporting command-line tools. However, the UART speed is not too high, so we often choose USB high-speed download.
#Usb vid pid tool serial
After all, each serial port device will be assigned a unique com number on the PC.
If it is a serial port download, there will be no problem with the batch operation of the board. With the help of these two command line tools, we can communicate with i.mxrt ROM / flashloader through UART / USB port to complete application download without additional hardware. When it comes to customized batch download, it is inseparable from the i.mxrt supporting command line tool (sdphost / blhost) officially provided by NXP. However, some customers will choose to design their own mass production scripts for customized batch download.
#Usb vid pid tool software
Many i.mxrt customer projects are also in mass production.įor mass production, in addition to using a third-party independent flash burner / programmer, you can also use the supporting upper computer GUI tool software (mfgtool2) officially provided by NXP/ MCUBootUtility / MCUBootFlasher/Mcux secure provisioning tool, etc.) is connected to i.mxrt chip for online mass production.
#Usb vid pid tool series
Now the family series has been completely open (RT500 / 600 / 1010 / 1020 / 1050 / 1060 / 1170), the models are fully developed from entry to high-level (of course, they are still developing). It has been more than two years since the release of mxrt Series High-Performance Microcontrollers in 2018.
What ruffian Heng introduced to you today is Use USB device path to uniquely specify i.mxrt device for ROM / flashloader communication。 Hello, I’m ruffian Heng, a serious technical ruffian.