Yeoh Chun Yeow wrote: > Dear Jan, > > I have found out that the cause of the AT91 problem. This is due to the > rtcfg frame structure which is defined using zero-length array and packed > attribute. I have modified all the addr in variable length to u32 since I > use the IP address and it works. I am afraid that it is something to do with > the ARM architecture and also the compiler. Do you have similar problem > before?
Not that I recall right now. What toolchain are you using? Something pre-compiled or home-grown? What gcc version is involved? The current RTcfg code that handles this variably-sized frames is not really beautiful anyway, but before rewriting everything understanding the compiler's problem is required to avoid potentially papering over some other issue. > > By the way, attached the patch of real-time driver for AT91 built in the > rtnet tree. Thanks, will look into this soon. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users