STMicro's Unicleo-GUI PC Application breaks when connecting through STMicro's ST-LINK in-circuit debugger and programmer pod. Why? [SOLVED]
Hi,
I have used the STMicro's Unicleo-GUI PC Application to test both the LSM9DS1 STMicro's HAL and STMicro's Compass Middle Ware (from X-CUBE-MEMS1) - and - the LSM6DSO-LIS2MDL combination using almost the same software. All STMicro code (HAL for the LSM9DS1, LSM6DSO & LIS2MDL) and our code worked together well to provide the STMicro's Unicleo-GUI PC Application data to display graphically.
Since then I have ported all code from an STMicro's NUCLEO board (using an STM32L412 processor) to our target platform (using the same STM32L412 processor). This caused the USB interface to change from the built in USB on the STMicro's NUCLEO development board to the STMicro's ST-LINK in-circuit debugger and programmer pod.
It would appear this switch has broken STMicro's Unicleo-GUI PC Application. The STMicro's Unicleo-GUI PC Application no longer finds and advertises a suitable Win10 Comm Port to connect to. Where as before the STMicro's Unicleo-GUI PC Application found the correct Win10 Comm Port automatically. Apparently the STMicro's Unicleo-GUI PC Application was able to search through all Win10 Comm Ports as no matter what Comm Port the target code showed up on, the STMicro's Unicleo-GUI PC Application would find it.
Using a normal terminal program in place of the STMicro's Unicleo-GUI PC Application, it has been verified that the target code is sending out data over a Win10 Comm Port through the STMicro's ST-LINK in-circuit debugger and programmer similar to when the target code ran on a STMicro's NUCLEO board back when the STMicro's Unicleo-GUI PC Application worked. Further, when typing into the normal terminal program, the target code breaks on programming which normally receives data from the STMicro's Unicleo-GUI PC Application.
It occurred to us to try and "simulate" the STMicro's NUCLEO USB interface by advertising the same USB-VID and USB-PID when connected through the STMicro's ST-LINK in-circuit debugger and programmer. This, however, did not work. The STMicro's Unicleo-GUI PC Application did not connect to the target as it did to the NUCLEO board. The new VID and PID were verified using a Win10 USB Application.
- Has anyone been able to get the STMicro's Unicleo-GUI PC Application to work through the STMicro's ST-LINK in-circuit debugger and programmer?
- Is there another version of the STMicro's Unicleo-GUI PC Application which will connect "blindly" to a valid data stream no matter what Win10 Comm Port the data is received on?
-thanks
