My hello message is in C or C++ and I use GCC cros-tool-chain !!
Another question: I want to modify the LCD code give with the TS7260
kit but I dont andestand the asm code !!!
#define COUNTDOWN(x) asm volatile ( \
"1:\n"\
"subs %1, %1, #1;\n"\
"bne 1b;\n"\
: "=r" ((x)) : "r" ((x)) \
);
Nobody to help me?
--- In Joe Bouchard <> wrote:
>
> On Sun, Aug 20, 2006 at 08:35:22PM -0800, Dan Morphis wrote:
> > On 8/20/06, Kulendra Janaka <> wrote:
> > >
> > >OK first of all, I didnt know that you can run C# on TS7260 (I
thought all
> > >the compilers were for windows, but then again I'm a novice in
programming
> > >:) )
> > >
> > >Just check the
http://www.codeproject.com/csharp/SerialCommunication.asp,
> > >it has some examples in using serial ports in C# .net and once u
get the
> > >serial ports running, u have to connect the serial port through a
null
> > >modem
> > >cable to 'another' machine. Then use the hyperteminal or minicom
on teh
> > >second machine.
> > >
> > >Hope this was helpful.
> > >And please send me the details on how u compiled C# on the linux, im
> > >pretty interested.
> > >
> >
> >
> > Kulendra, you can use mono to compile VB.NET and C# code on
Linux, Mac OS
> > X, and Windows. I've personally used it on Linux, but the serial port
> > support in mono the last time I looked (about 4-5 months ago) was
pretty
> > non-existant.
>
> There is a package called "ser2net" which may be useful in a
situation like
> this. It establishes a daemon which maps TCP sockets to serial
ports. You
> create a ser2net.conf file with whatever you want, example: tcp port
3000 maps
> to /dev/ttyAM0:9600,8,1,none. Hint: Go into /etc/inittab and turn
off the getty
> on this com port, or you will trigger that unexpectedly.
>
> At this point you can use the language/library of your choice and
talk over
> standard TCP/IP sockets, which may be easier.
>
> Good luck,
> Joe
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|