Greetings,
I have a custom-made (not by me) microcontroller, whose hardware I know very little about. It has its driver, can be programmed using Flowcode.
However, for one reason or another, I would like to send data via a c++ program. I would rather avoid having to write a custom driver, I don't know how to do so anyway.
I only know the microcontroller has a FCI USB connector and that the Driver name for Flowcode is Flowcode USB slave.
I was told that a comparatively easy way to send very simple data (any kind of simple recognizable command) to the microcontroller would be by making the connection as a virtual COM port, and then sending data using standard C++. The data could be interpreted from the microcontroller's point of view by using Flowcode.
However, I have no idea how to make the device be detected as a serial port. I have a couple of virtual device serial ports on my Windows 7, but I don't know how to associate them to a usb port either. The info I've looked up seems to be very OS-dependent or hardware-dependent.
I know C++ a little but next to nothing about USB interfaces and drivers. Any help or explanations on the matter would be greatly appreciated.
Thank you very much.
Edit : Alternate solutions to the VP solution are welcome as well, if they are simpler to implement.
I have a custom-made (not by me) microcontroller, whose hardware I know very little about. It has its driver, can be programmed using Flowcode.
However, for one reason or another, I would like to send data via a c++ program. I would rather avoid having to write a custom driver, I don't know how to do so anyway.
I only know the microcontroller has a FCI USB connector and that the Driver name for Flowcode is Flowcode USB slave.
I was told that a comparatively easy way to send very simple data (any kind of simple recognizable command) to the microcontroller would be by making the connection as a virtual COM port, and then sending data using standard C++. The data could be interpreted from the microcontroller's point of view by using Flowcode.
However, I have no idea how to make the device be detected as a serial port. I have a couple of virtual device serial ports on my Windows 7, but I don't know how to associate them to a usb port either. The info I've looked up seems to be very OS-dependent or hardware-dependent.
I know C++ a little but next to nothing about USB interfaces and drivers. Any help or explanations on the matter would be greatly appreciated.
Thank you very much.
Edit : Alternate solutions to the VP solution are welcome as well, if they are simpler to implement.