For MAC address and RDB1768cmsis2_uIP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

For MAC address and RDB1768cmsis2_uIP

490 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by apollo21 on Sat Dec 22 07:25:30 MST 2012
Greetings
I was able to take out from the library "RDB1768cmsis2_uIP" I want to compile.
To  pilot Next, check the MAC address and the Ethernet address,  "192.168.0.24" IP address, MAC address is displayed as  "00-ff-ff-ff-ff-ff".
How do, I will be able to change the MAC address?
Best regards
0 Kudos
7 Replies

462 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sun Dec 23 08:50:11 MST 2012
Try the FAQ:
http://support.code-red-tech.com/CodeRedWiki/ChangeBuildConfig
0 Kudos

462 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by apollo21 on Sun Dec 23 01:31:25 MST 2012

Quote: Zero
I still don't understand what you are describing :)


  [COLOR=#333333]I do the same experiment mimicking the site of the person whom I worked as earlier elsewhere.
It was not written in the place of other people about LPC-LINK.
If it finishes one note, is it assumed how to use that operate after doing RESET and POWEROFF for the next note?
In it and others
There are DEBUG and RELEASE in PROJYECT BILDCONFIGLATION SETACTIV and chooses DEBUG.
When I build PROJECT, I click DEBUG of [/COLOR][COLOR=#333333]START HER. (I do not understand how to use RELEASE)[/COLOR]
0 Kudos

462 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Dec 22 23:29:50 MST 2012

Quote: apollo21

I wrote, the software of the PC is still running,
If you write in a row does not lose sight of the LPC-LNK, if you fail you lose sight of the LPC-LINK.
Turn off the power and disconnect the USB connector of the substrate LPC, love this place might be reset by the internal review takes including feed, you will be able to detect and writing.
(I might have a wrong operation)



I still don't understand what you are describing :)
0 Kudos

462 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by apollo21 on Sat Dec 22 23:22:32 MST 2012
Hello
Mostly because I do not know English, I use the translation software.
The question is, can not be understood correctly.

I wrote, the software of the PC is still running,
If you write in a row does not lose sight of the LPC-LNK, if you fail you lose sight of the LPC-LINK.
Turn off the power and disconnect the USB connector of the substrate LPC, love this place might be reset by the internal review takes including feed, you will be able to detect and writing.
(I might have a wrong operation)
0 Kudos

462 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Dec 22 21:29:52 MST 2012

Quote: apollo21

You may be out of some error, unplug the USB plug at a time, to detect the LPC-LINK, continue writing followed.
(For  example, press the push-button switch), for example, do you continue to  write by, even if you do not disconnect the USB, do what you can do?
Do you will be able to avoid the LPC-LINK or more errors that can not be detected automatically?



Sorry, i don't understand that :( Is this a Google translation :confused:
0 Kudos

462 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by apollo21 on Sat Dec 22 21:10:28 MST 2012
main.c
/ / Define the IP address to be used for the MCU running the TCP / IP stack
# Define MYIP_1 192
# Define MYIP_2 168
# Define MYIP_3 0
# Define MYIP_4 24

# Include "uip-conf.h"
# Define UIP_FIXEDETHADDR 1

# Define UIP_ETHADDR0 0x00 / ** <The first octet of the Ethernet
address if UIP_FIXEDETHADDR is
1. \ Hideinitializer * /
# Define UIP_ETHADDR1 0x10 / ** <The second octet of the Ethernet
address if UIP_FIXEDETHADDR is
1. \ Hideinitializer * /
# Define UIP_ETHADDR2 0x12 / ** <The third octet of the Ethernet
address if UIP_FIXEDETHADDR is
1. \ Hideinitializer * /
# Define UIP_ETHADDR3 0x13 / ** <The fourth octet of the Ethernet
address if UIP_FIXEDETHADDR is
1. \ Hideinitializer * /
# Define UIP_ETHADDR4 0x14 / ** <The fifth octet of the Ethernet
address if UIP_FIXEDETHADDR is
1. \ Hideinitializer * /
# Define UIP_ETHADDR5 0x15 / ** <The sixth octet of the Ethernet
address if UIP_FIXEDETHADDR is
1. \ Hideinitializer * /

C: \ Documents and Settings \ user> arp-a
Interface: 192.168.0.2 --- 0x2
  Internet Address Physical Address Type
  192.168.0.1 XX-XX-XX-XX-XX dynamic
  192.168.0.24 00-10-12-13-14-15 dynamic

http://192.168.0.24
Code Red RDB1768 development board running uIP
Front page
File statistics
Network statistics
Network connections

These web pages are served by a small web server running on top of the uIP embedded TCP / IP stack.

Click on the links above for web server statistics.

-------------------------
I have a problem with another problem.

You may be out of some error, unplug the USB plug at a time, to detect the LPC-LINK, continue writing followed.
(For  example, press the push-button switch), for example, do you continue to  write by, even if you do not disconnect the USB, do what you can do?
Do you will be able to avoid the LPC-LINK or more errors that can not be detected automatically?
0 Kudos

462 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Dec 22 10:37:00 MST 2012
[LEFT][COLOR=Red]IP[/COLOR] in main.c:
// *********************************************************************
// Define the IP address to be used for the MCU running the TCP/IP stack
// *********************************************************************
[COLOR=Red]#define MYIP_1    192
#define MYIP_2    168
#define MYIP_3    0
#define MYIP_4    100[/COLOR]
[COLOR=Red]MAC[/COLOR] in uipopt.h:
/**
 * 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 1

#define [COLOR=Red]UIP_ETHADDR0    0x00[/COLOR]  /**< The first octet of the Ethernet
                 address if UIP_FIXEDETHADDR is
                 1. \hideinitializer */
#define [COLOR=Red]UIP_ETHADDR1    0xFF[/COLOR]  /**< The second octet of the Ethernet
                 address if UIP_FIXEDETHADDR is
                 1. \hideinitializer */
#define [COLOR=Red]UIP_ETHADDR2    0xFF [/COLOR] /**< The third octet of the Ethernet
                 address if UIP_FIXEDETHADDR is
                 1. \hideinitializer */
#define [COLOR=Red]UIP_ETHADDR3    0xFF[/COLOR]  /**< The fourth octet of the Ethernet
                 address if UIP_FIXEDETHADDR is
                 1. \hideinitializer */
#define [COLOR=Red]UIP_ETHADDR4    0xFF[/COLOR]  /**< The fifth octet of the Ethernet
                 address if UIP_FIXEDETHADDR is
                 1. \hideinitializer */
#define [COLOR=Red]UIP_ETHADDR5    0xFF[/COLOR]  /**< The sixth octet of the Ethernet
                 address if UIP_FIXEDETHADDR is
                 1. \hideinitializer */

[/LEFT]
0 Kudos