Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I have compiled above code and check with de2 board char A is transmitting to PC but there is a error massege display "Error receiving packet" i have tried lot of ways but couldnt find any way to get receiving data from PC. Can anyone help me to receive UDP data from PC thankyou. --- Quote End --- Okay, I don't have a DE2 anymore but the first thing you're probably going to want to do is figure out what exactly that response you're getting is. I can tell you this much so far: 0x01,0x60,0x6e,0x11,0x02,0x0f
de2 mac address 0x00,0x16,0xd4,0xbb,0xca,0x91
pc mac address 0x08,0x00
protocol ip 0x0800 0x45,0x00 ??? 0x00,0x2d
ip_len_h? 0x10,0xc7 ip_len_l? 0x00,0x00 ??? 0x80, 0x11 udp type 0xa6,0x5e ??? 0xc0,0xa8,0x01,0x1e pc ip 0xc0,0xa8,0x01,0x2c, de2 ip 0x04,0x00,0x04,0x00, port 1024 0x00,0x19, udp_len_h? 0x88,0xae, udp_len_l? 0x2f, ??? 0x31,0x39,0x32,0x2e,0x31,0x36,0x38,0x2e 0x31,0x2e,0x34,0x34 de2 ip in ascii 0x20,0x3a,0x20,0x54,0x00,0x2a,0x58,0x79,0x24 ???
does this make sense? should any of these be changed or would you know what some of those question marks should be?