2009年9月27日 星期日

8051 and DM9000 First ARP Packet




Packet in = 0040
Packet Pointer = 3110
Packet Length = 0040
0000 FF FF FF FF FF FF 00 1F C6 37 5B 64 08 06 00 01
0010 08 00 06 04 00 01 00 1F C6 37 5B 64 C0 A8 00 67
0020 00 00 00 00 00 00 C0 A8 00 14 00 00 00 00 00 00
0030 00 00 00 00 00 00 00 00 00 00 00 00 84 7F F9 44

This is first packet which we get from DM9000, When Sender didn’t know target MAC address, sender will send this packet first to ask target MAC address who own this IP address.

a. Ethernet header: Dest MAC + Src MAC + Protocol
First 14 bytes were be define ethernet header, and  0806 is ARM protocol, 0800 is IP protocol.

b. Hardware type:  0001 is Ethernet, 0006 is Token Ring.
c. Protocol Type: 0800 is IP protocol.

d. Hard Address Length:  06 means it has 6 bytes address.

e. Protocol Address length: 04 means it has 4 bytes address.

f. Command: 0001 is ARP request command.

g. Source MAC address:
h. Source IP address:
i. Destination MAC address:
j. Destination IP address:

2009年9月12日 星期六

My New Toy

It's time to share with you my new toy.
Many years ago, I designed TCP/IP protocol in 8051 with AX88796 platform.
It let me upderstood how TCP/IP work, but it only my habit project ...

Now i like introduce it to you, if you interesting in this deisng , then you can follow me to learn
how to design it for your application ..

The Board is base on Megawin MPC82G516 1T 8051 and Davicom DM9000B .
I also put a microSD card connector on board, it can let you store your web page ,
or acqusition data.
If you interesting in it, you can e-mail to me or visit here , i will try my best to upload relative 
information in here ...