How to run the program from host on to the target ??
I have installed Linux IDE (eclipse), Libraries and development tool on windows operating system (one laptop, windows operating system) and Linux real time operating system is installed on the another computer. I am using TCP/IP for communication between host and the target using the IP address and the port number. Could anyone tell how to run the linux program on the target ??
|
Welcome to LinuxQuestions.
Specific information about the target might help. Once the program is compiled on the host you would upload it to the target. What method depends on the utilities installed on the target. |
Thank you very much for the reply. The target is a intel core i7 processor with Linux RTOS (32bit). what are the steps to run a simple c program from the host on to the target ?? or how to upload it to the target ??
|
Is anything like a ftp server installed on the target?
|
There is no ftp server installed on the target. I have a document for QNX real time operating system (Hoe to run the host program on the target): http://www.qnx.com/developers/docs/6...art/about.html
But I am having problem w.r.t Linux RTOS |
At step 6 it shows how to run qconn from the target and then upload the program using the IDE.
|
Thats true for QNX RTOS. Is there any document for Linux RTOS ?? how to do it for Linux RTOS ??
|
QNX is not linux. What are your specific problems.
|
I want to do the same thing w.r.t Linux RTOS. but I'm not finding any document to do that.
|
Typically the basic difference between an everyday linux and RTOS is the PREEMPT-RT real time patch. To transfer programs from the host to the target some type of utility like a tftp (trivial file transfer protocol) server needs to be running on the device.
|
Is there any documents or procedure to do it ?? It would be great help for me.
|
This is running the server on the host and you would download it to the target.
https://linuxlink.timesys.com/docs/linux_tftp |
Thank you very much for the document. How to create a project on eclipse (host platform) ?? How to specify the target name, ip address and the port number on the eclipse ide ?? What kind of project type will it be in this situation ??
|
That transfer function was built in to the QNX IDE. I have not played with Eclipse in sometime but I do not know if it has the same functionality.
|
Thank you very much for the reply. Why can't I use NFS or SAMBA on the server ?? Please also tell me which is best for udp/ip communication ??
|
All times are GMT -5. The time now is 12:29 PM. |