UDP lpc17xx port missing drivers

patric11 wrote on Saturday, February 27, 2016:

Dear all,

I am trying to get the UDP port for lpc17xx to work. I am using the NetworkInterface.c from:
FreeRTOSV8.2.1\FreeRTOS-Plus\Source\FreeRTOS-Plus-UDP\portable\NetworkInterface\LPC17xx
However NetworkInterface.c contains external references to
EMAC_SetNextPacketToSend
EMAC_StartTransmitNextBuffer
EMAC_NextPacketToRead

These EMAC functions are NOT defined in the lpc17xx CMSIS driver lpc17xx_emac.h. They ARE available in the lpc18xx_emac.h.

Can anyone advise?

Thx alot,

Patric

heinbali01 wrote on Sunday, February 28, 2016:

Salut Patric,

FreeRTOS+TCP is the successor of the FreeRTOS-Plus-UDP that you are using. And as the name says, it also includes the TCP protocol.
The TCP code will only be included if ipconfigUSE_TCP is defined.

There is an unpublished FreeRTOS+TCP driver for LPC18xx, but unfortunately (AFAIK) there is no port for LPC17xx yet.

What you can do is the following: drop an email ( to “h.tibosch” at the domain “freertos.org” ), and I will send you the current LPC18xx driver for +TCP. It shouldn’t be too difficult to get that working for a LPC17xx :slight_smile:

Regards.

rtel wrote on Sunday, February 28, 2016:

Grep’ing the files I can find the functions implemented in
\FreeRTOS-Plus\Source\FreeRTOS-Plus-UDP\portable\NetworkInterface\LPC18xx\Using_CMSISv2p10_LPC18xx_DriverLib\lpc18xx_emac.c.

Regards.