Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

TCP Nichestack

Altera_Forum
Honored Contributor II
1,842 Views

Hi everyone,  

 

I run the simple socket server example, and I got the error as below. 

 

Full message error is : 

dtrap - needs breakpoint 

panic: pktdemux: got null pkt 

ip_exit: calling func 0x400f814 

netclose: closing iface Altera TSE MAC ethernet 

ip_exit: calling func 0x401321c 

 

Anyone could help? Thanks in advance. 

 

Regards, 

Caridee
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
730 Views

What version of the tools are you running? Are you just doing the regular Simple Socket Server example or have you modified it? 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
730 Views

Hi, 

 

I am using version 8.0.  

I think rcvd queue was corrupted.... what should I do?  

 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
730 Views

Do you have access to a newer version of the tools? I think the TSE MAC driver and NicheStack were in a bit of a state of flux in 8.0. Specifically it seems that in 8.0 they still had hard-coded paths in the TSE MAC driver for the SGDMA controllers. As such, I think you can receive this error if you haven't named the components in your SoPC system exactly like they are named in the reference design. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
730 Views

Hi, 

 

What do u mean by hard-coded paths in the TSE MAC driver for the SGDMA controller?  

 

I am using the design example inside the installation path. Could u pls specify which components i need to rename correctly?  

 

Thanks a lot
0 Kudos
Altera_Forum
Honored Contributor II
730 Views

If you are using the design example from the installation path, then the names should be correct. In which case your problem is different. Would you care to post your project here?

0 Kudos
Reply