Forum Discussion
Altera_Forum
Honored Contributor
20 years agocan not recieve the right packet through DE2 board
Help!
I am using the DE2 board to do a network connection test.I use the PC to send a 64 Byte packet to the DE2 board network card , the DM9000 . But whatever i send, the board display the same recieved packet as follows: Receive Packet Length = 64 0x 1,0x80,0xC2,0x 0,0x 0,0x 0,0x 0,0x16, 0x9D,0x3F,0xBE,0x8B,0x 0,0x26,0x42,0x42, 0x 3,0x 0,0x 0,0x 0,0x 0,0x 0,0x80,0x B, 0x 0,0x16,0x9D,0x3F,0xBE,0x80,0x 0,0x 0, 0x 0,0x 0,0x80,0x B,0x 0,0x16,0x9D,0x3F, 0xBE,0x80,0x80,0x B,0x 0,0x 0,0x14,0x 0, 0x 2,0x 0,0x F,0x 0,0x 0,0x 0,0x 0,0x 0, 0x 0,0x 0,0x 0,0x 0,0xBE,0xD8,0xB0,0x52, did anyone encouter the same problem and find the answer.4 Replies
- Altera_Forum
Honored Contributor
Hi,
I'm using DE2 board for networking connection too. I've just started using it, Could you please give more information about how you connect the board to the computer and how you send the pacckets and seeing the packet? That would be so helpful for me Thanks --- Quote Start --- originally posted by meikaiyanxiao@Jul 25 2006, 04:42 AM help!i am using the de2 board to do a network connection test.i use the pc to send a 64 byte packet to the de2 board network card , the dm9000 . but whatever i send, the board display the same recieved packet as follows:
receive packet length = 64
0x 1,0x80,0xc2,0x 0,0x 0,0x 0,0x 0,0x16,
0x9d,0x3f,0xbe,0x8b,0x 0,0x26,0x42,0x42,
0x 3,0x 0,0x 0,0x 0,0x 0,0x 0,0x80,0x b,
0x 0,0x16,0x9d,0x3f,0xbe,0x80,0x 0,0x 0,
0x 0,0x 0,0x80,0x b,0x 0,0x16,0x9d,0x3f,
0xbe,0x80,0x80,0x b,0x 0,0x 0,0x14,0x 0,
0x 2,0x 0,0x f,0x 0,0x 0,0x 0,0x 0,0x 0,
0x 0,0x 0,0x 0,0x 0,0xbe,0xd8,0xb0,0x52,
did anyone encouter the same problem and find the answer.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17089)
--- quote end ---
--- Quote End ---
- Altera_Forum
Honored Contributor
I have the same problem. Whatever I send It receives the same packet. Can anyone give me a simple method to send and receive packets through DM9000A without using Nios II soft processor?
- Altera_Forum
Honored Contributor
I don't have a DE2 board, so I don't know how you are making this test.
Are you using a prebuilt project? Or have you build your own application based on an example? How does you pc send the packet? Are you sure on this side? I mean that the pc is not sending the same packet itself? If you have a minimal experience of HAL drivers you can debug your application and check if DM9000 is working correctly, i.e. if Nios can correctly access registers, configure phy and transfer data to and from. - Altera_Forum
Honored Contributor
And are you remembering to ensure your reads aren't from the data cache.