LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to run the program from host on to the target ?? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-run-the-program-from-host-on-to-the-target-4175489688/)

hemanth1989 12-31-2013 06:49 AM

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 ??

michaelk 12-31-2013 07:03 AM

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.

hemanth1989 12-31-2013 07:06 AM

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 ??

michaelk 12-31-2013 07:15 AM

Is anything like a ftp server installed on the target?

hemanth1989 12-31-2013 07:17 AM

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

michaelk 12-31-2013 07:30 AM

At step 6 it shows how to run qconn from the target and then upload the program using the IDE.

hemanth1989 12-31-2013 07:31 AM

Thats true for QNX RTOS. Is there any document for Linux RTOS ?? how to do it for Linux RTOS ??

michaelk 12-31-2013 07:44 AM

QNX is not linux. What are your specific problems.

hemanth1989 12-31-2013 07:47 AM

I want to do the same thing w.r.t Linux RTOS. but I'm not finding any document to do that.

michaelk 12-31-2013 07:59 AM

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.

hemanth1989 12-31-2013 08:03 AM

Is there any documents or procedure to do it ?? It would be great help for me.

michaelk 12-31-2013 08:42 AM

This is running the server on the host and you would download it to the target.
https://linuxlink.timesys.com/docs/linux_tftp

hemanth1989 12-31-2013 08:50 AM

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 ??

michaelk 12-31-2013 09:02 AM

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.

hemanth1989 01-01-2014 03:33 AM

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.