Win32 application call from 9S08 application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Win32 application call from 9S08 application

1,387 Views
Aibolit
Contributor I
Hello everybody
 
Does anybody know if there is a way to start the Win32 application from 9S08 microcontroller application in Debug mode?
 
Is there any way to transfer the parameters from MC application to Win32 application through Hiwave Debugger?
 
Many thanks in advance.


Message Edited by Aibolit on 2008-10-17 10:59 AM
Labels (1)
0 Kudos
1 Reply

187 Views
CompilerGuru
NXP Employee
NXP Employee
> Does anybody know if there is a way to start the Win32 application from 9S08 microcontroller
> application in Debug mode?

Not 100% what you are asking for, but in general things attached to a PC should not be able to take the PC over. Otherwise using a mouse gets a security risk :smileyhappy:.
There has to be an application on the Win32 side to start a Win32 application.
The HIWAVE debugger as such as example has a system command to start external Win32 applications.

> Is there any way to transfer the parameters from MC application to Win32 application through
> Hiwave Debugger?

One way is that the target application sends its data through a SCI to the PC.
Some debug connections do support a "virtual SCI", say methods to send the bytes to hiwave's terminal window through the debug connection. Probably a simpler setup is to connect to the PC via normal serial cable. On the PC side your custom app can connect to the serial port, any standard terminal app, or also hiwave's builtin terminal window, which supports to redirect the output into a file (see the terminal.h header file).

Daniel

0 Kudos