Hallo.
I am trying to run the newest FreeRTOS uip demo for IAR on the Olimex
SAM7X board.
The Kickstart version of the compiler runs well when I compile the LCD
demo supplied by Olimex.
The uip project compiles and the board does a 2Hz tone on the speaker.
That’s about all. The green and yellow LEDs go on & off @ 0.5Hz when I connect my LAN.
Probably a stupid error since I really do not exactly know what I am doing
in terms of IP adresses etc. :).
Below is the response by “ipconfig” and my settings in uipopt.h.
Thanks.
Eduardo
C:\DOKUME~1\EDUARD~1>ipconfig
Windows-IP-Konfiguration
Ethernetadapter Drahtlose Netzwerkverbindung:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse. . . . . . . . . . . . : 192.168.178.22
Subnetzmaske. . . . . . . . . . . : 255.255.255.0
IP-Adresse. . . . . . . . . . . . : fe80::210:60ff:fe62:6534%4
Standardgateway . . . . . . . . . : 192.168.178.1
Tunneladapter Teredo Tunneling Pseudo-Interface:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse. . . . . . . . . . . . :
2001:0:4136:e37c:8000:b75:ab6e:baf1
IP-Adresse. . . . . . . . . . . . : fe80::ffff:ffff:fffd%5
Standardgateway . . . . . . . . . : ::
Tunneladapter Automatic Tunneling Pseudo-Interface:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse. . . . . . . . . . . . : fe80::5efe:192.168.178.22%2
Standardgateway . . . . . . . . . :
uipopt.h:
#define UIP_FIXEDADDR 1
/**
-
Ping IP address asignment.
-
uIP uses a “ping” packets for setting its own IP address if this
-
option is set. If so, uIP will start with an empty IP address and
-
the destination IP address of the first incoming “ping” (ICMP echo)
-
packet will be used for setting the hosts IP address.
-
\note This works only if UIP_FIXEDADDR is 0.
-
\hideinitializer
*/
#define UIP_PINGADDRCONF 0
#define UIP_IPADDR0 192U /**< The first octet of the IP address of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_IPADDR1 168U /**< The second octet of the IP address of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_IPADDR2 178U /**< The third octet of the IP address of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_IPADDR3 100U /**< The fourth octet of the IP address of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_NETMASK0 255 /**< The first octet of the netmask of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_NETMASK1 255 /**< The second octet of the netmask of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_NETMASK2 255 /**< The third octet of the netmask of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_NETMASK3 0 /**< The fourth octet of the netmask of
this uIP node, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_DRIPADDR0 192 /**< The first octet of the IP address of
the default router, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_DRIPADDR1 168 /**< The second octet of the IP address of
the default router, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_DRIPADDR2 178 /**< The third octet of the IP address of
the default router, if UIP_FIXEDADDR is
- \hideinitializer */
#define UIP_DRIPADDR3 1 /**< The fourth octet of the IP address of
the default router, if UIP_FIXEDADDR is
- \hideinitializer */
/**
-
Specifies if the uIP ARP module should be compiled with a fixed
-
Ethernet MAC address or not.
-
If this configuration option is 0, the macro uip_setethaddr() can
-
be used to specify the Ethernet address at run-time.
-
\hideinitializer
*/
#define UIP_FIXEDETHADDR 0
#define UIP_ETHADDR0 0x00 /**< The first octet of the Ethernet
address if UIP_FIXEDETHADDR is
- \hideinitializer */
#define UIP_ETHADDR1 0xbd /**< The second octet of the Ethernet
address if UIP_FIXEDETHADDR is
- \hideinitializer */
#define UIP_ETHADDR2 0x3b /**< The third octet of the Ethernet
address if UIP_FIXEDETHADDR is
- \hideinitializer */
#define UIP_ETHADDR3 0x33 /**< The fourth octet of the Ethernet
address if UIP_FIXEDETHADDR is
- \hideinitializer */
#define UIP_ETHADDR4 0x06 /**< The fifth octet of the Ethernet
address if UIP_FIXEDETHADDR is
- \hideinitializer */
#define UIP_ETHADDR5 0x65 /**< The sixth octet of the Ethernet
address if UIP_FIXEDETHADDR is
- \hideinitializer */