hello Hosam,
> i am writing code in c++ and want to putting it in ts-7250
You will need to find libstdc++.so for the arm and add it onto the
board. Be warned, this will be quite huge. Although I think if you make
some extern 'C' definitions, you can compile code written in C++ to be
used w/ the regular libc .
> i am writing this code in windows the code now in file with extention
> of (*.c) i want to compile this code and put it in my board.
Are you writing in C or C++ ? Usually if one is writing in C++, the
filenames should be called *.cpp, and headers should be called *.hpp, or
something similar.
> 1. how i complie this code to run on ts-7250.
I believe there is a cross compiler available for the win32 platform
available on the TS website:
http://www.embeddedarm.com/linux/ARM.htm
It's listed under 'Cross toolchain for Cygwin'
You will also need to install some minimal Cygwin environment, available at
http://www.cygwin.com/
> 2. how i will enter the program in the ts-7250.
You should be able to use 'HyperTerminal' in windows to connect serially
to the TS7250, but I wouldn't say it's the greatest terminal emulator.
Read the items listed under 'Linux Documents' to learn a bit more about
how to use the ts7250.
You should make sure you power up your ts7250 with a network cable
plugged in, then it will get an ip address automatically.
The (default ?) ts7250 launches a minimal FTP server on startup, so
you'll need to note the IP address you see through HyperTerminal.
Assuming 192.168.0.50 is the IP address that the ts7250 receives, you
should be able to ftp into it using internet exploder
m("192.168.0.50","//root");">ftp:
> 3. where i put this file to run the program when the board turn on.
I assume you'd like to run this as some kind of service?
I suggest you put the file in /usr/sbin. Then I would create an init
script (just copy something from /etc/init.d/ and modify it). You'll
have to make a symbolic link for your init script in /etc/rc.d/rc3 or
something like that.
...
I would suggest just using linux instead of windows/Cygwin though. I've
never used the Cygwin environment for cross development, and I can
imagine that it might be somewhat tricky.
~/Chris
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|