AnsweredAssumed Answered

blhost causes crash to kinetis CDC UART driver

Question asked by Mohsen Chamanirad on Apr 28, 2018
Latest reply on May 2, 2018 by Hui_Ma

I have a setup consisting of two Kinetis microcontrollers (MCU) mk22xx. The first MCU is connected to the PC via usb and the second MCU is connected to the first MCU via UART. To update the firmware on the second MCUI program the first MCU to just relay the data received from PC via USB to second MCU via UART. As if the first MCU is just a wire. 

The USB driver is a virtual comport and the PC operating system is windows 10. 

I can send data to the fist MCU via a hypertermianl and the application relays the received bytes to the second MCU, however when I try to use blhost or KinetisFlashTool to send data to second MCU the first MCU crashes and doesn't even recieve the data sent from the PC.

My best guess for the problem is the standard VCP firmware  I use for Kinetis microcontrollers. Perhaps changing the device descriptor would fix the problem.

Any suggestions are much appreciated

Outcomes