This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem using NDK with WLAN

Other Parts Discussed in Thread: ADS1274

Dear TI

I'm working with a DSK6455 kit and an ADS1274 acquisition board. I use CCS v4.2.5.005. I need to send a data buffer from the dsk to a PC server. I use the NDK kit:

client.c for the configuration ethernet.

main.c to configure mcbsp, spi, interrupts an other parts of the ADS1274.

sender_tcp.c to management the data sending. It's based in your sender.c example, but I use TCP protocol.

The dsk and the PC are connected to a switch, only them. In this conditions the system works perfectly.

The problem appears when I connect the switch to a plug on the wall where there are public addresses. At that moment the data sending fails and locks the system.

I've tested the system and the problem is in the function "connect". It returns -1 and with fdError() I can see that the error is number 55 (ENOBUFS   55      // No buffer space available).  Well, but, what buffer?

I've tested the wire with wireshark and I can see a lot of ARP protocols, can they be responsible of the problem?

Could you help me, please?

Best regards.

Manuel Fernández Ros

  • Hi Manuel Fernández Ros,

    Which version of the NDK are you using?

    Manuel Fernandez said:
    I'm working with a DSK6455 kit and an ADS1274 acquisition board.

    Are you using the standard DSK 6455 EVM?  Or is this a custom board? 

    I don't think the ADS1274 should have anything to do with the networking side of things, although in the past we have seen people run into problems due to overlapping interrupt/event combiner assignments between the Ethernet driver and other peripheral drivers.

    Manuel Fernandez said:
    sender_tcp.c to management the data sending. It's based in your sender.c example, but I use TCP protocol.

    Could you please tell me where you got the sender.c file?  Was this in the NDK?

    Manuel Fernandez said:

    The dsk and the PC are connected to a switch, only them. In this conditions the system works perfectly.

    The problem appears when I connect the switch to a plug on the wall where there are public addresses. At that moment the data sending fails and locks the system.

    How are the IP addresses configured?  Are you configuring a static IP address for the board and or PC?  Or are you using DHCP?

    Is the switch also a router? (responsible for serving the 6455 and PC their IP addresses?)

    Steve