[En-Nut-Discussion] Re: En-Nut-Discussion digest, Vol 1 #248 - 3 msgs
Berns J. Buenaobra
bbuenaobra at nip.upd.edu.ph
Thu Jul 31 04:34:52 CEST 2003
Hello Gentlemen:
Hello everyone:
I wanted to be able to begin connecting my lab instruments on a Ethernet
enabled interface (versus tradional GPIB/IEEE488.2 etc. which are not net
based) and I would like to develop my hardware and software around the
Ethernut (which I hope to buy in a couple of weeks from now). In this way I
would have a distributed instrumentation network which I could remotely
controlled or do some data acquisition over the net with a mobile PC or
notebook.
Question: How do begin with this enormous task? I could use some tips
specially using GNU-C or an AVR? Forgive my ignorance but I am full of
enthusiasm to learn.
Thanks,
Berns B.
************************************
Bernardino J. Buenaobra
University Research Associate
National Institute of Physics
University of the Philippines
Diliman, Quezon City 1101
Philippines
Email: bbuenaobra at nip.upd.edu.ph
Tel/Voice: +632-434-4232
Fax/Data: +632-920-5474
Mobile: 0916-2550-056
URL: www.nip.upd.edu.ph/ipl
************************************
----- Original Message -----
From: <en-nut-discussion-request at egnite.de>
To: <en-nut-discussion at egnite.de>
Sent: Wednesday, July 30, 2003 3:00 AM
Subject: En-Nut-Discussion digest, Vol 1 #248 - 3 msgs
> Send En-Nut-Discussion mailing list submissions to
> en-nut-discussion at egnite.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.egnite.de/mailman/listinfo/en-nut-discussion
> or, via email, send a message with subject or body 'help' to
> en-nut-discussion-request at egnite.de
>
> You can reach the person managing the list at
> en-nut-discussion-admin at egnite.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of En-Nut-Discussion digest..."
>
>
> Today's Topics:
>
> 1. Re: DHCP option one byte offset (Big
> Endian)? (Harald Kipp)
> 2. Re: DHCP option one byte offset (Big Endian)? (Tyou)
>
> --__--__--
>
> Message: 1
> Date: Tue, 29 Jul 2003 12:16:05 +0200
> To: en-nut-discussion at egnite.de
> From: Harald Kipp <harald.kipp at egnite.de>
> Subject: Re: [En-Nut-Discussion] DHCP option one byte offset (Big
> Endian)?
> Reply-To: en-nut-discussion at egnite.de
>
> Well, "better" depends on what you want. Your code
> looks fast, but consumes a lot of space.
>
> You must also take the call and local variable setup
> into account.
>
> If inlined, the optimizer may run out of registers, which
> adds additional code and consumes RAM space.
>
> Harald
>
> At 18:26 29.07.2003 +0900, you wrote:
> >I use this function . I've compared the asm list outputs, and
> >think it is better.
> >/*!
> > * \brief Read Long word ,memory alignment ignored.
> > * could be "inline".
> > */
> >u_long LongBoundary(void* pt)
> >{
> > u_long ultmp;
> > u_char* psrc;
> > u_char* pdst;
> >
> > pdst = (u_char*)(&ultmp);
> > psrc = (u_char*)pt;
> >
> > *pdst++ = *psrc++;
> > *pdst++ = *psrc++;
> > *pdst++ = *psrc++;
> > *pdst = *psrc;
> >
> > return ultmp;
> >
> >}
> >
> >_______________________________________________
> >En-Nut-Discussion mailing list
> >En-Nut-Discussion at egnite.de
> >http://www.egnite.de/mailman/listinfo/en-nut-discussion
>
>
> --__--__--
>
> Message: 2
> From: "Tyou" <tyou at i-da.co.jp>
> To: <en-nut-discussion at egnite.de>
> Subject: Re: [En-Nut-Discussion] DHCP option one byte offset (Big
Endian)?
> Date: Wed, 30 Jul 2003 00:08:25 +0900
> Reply-To: en-nut-discussion at egnite.de
>
> Yes, I am sorry to say that my DIY debug board has
> 2MB SRAM , and on-chip 512KB FLASH / 16 KbyteSRAM.
> (code is downloaded and debugged in SRAM every time)
> Also H8 has a CPU instruction EEPMOV.B, which can copy
> memory by hardware.
>
> But anyway it's not good to compare the code performance
> on different platforms.
> memcpy() maybe is the general choice while AVR even does not
> need this function at all.
>
> Regards,
>
> Tyou
>
>
> --__--__--
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo/en-nut-discussion
>
>
> End of En-Nut-Discussion Digest
>
More information about the En-Nut-Discussion
mailing list