Usually I can build my projects for embedded platforms for target board and for mingw compiler under Windows. Of course I simulate hw peripherals (UART, LEDs, and so on) in some way.
I usually have a debug console where I can type some commands to simulate something. For example, if I have analog inputs, I can type the command
an1 300
to simulate the ADC result (300pt) for analog input 1.
It's not so easy and it should be good to have all the parameters in a graphical view. I know there are many possibilities, but I'd like to separate the GUI from the embedded project.
I'm thinking to create a channel between the simulator (that is written in C) and the GUI (that I can write in a high-level language, such as Python or Java).
I'm thinking to exchange a JSON string between the processes running on Windows. What do you suggest to do this? Should I use sockets?
Do you have better suggestions?