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.

LP-AM243: MCU+SDK 8.5.0.24: Changing LWIP example to static IP

Part Number: LP-AM243
Other Parts Discussed in Thread: DP83869

Hi Experts,

I am using the enet_lwip_cpsw example from MCU+SDK 08.05.00.24 on the lp-am243. It is running as expected using DHCP, but only if I disable the second netif.

However, I want to use a static IP address. So I changed

--- lwipcfg.h

#define LWIP_PORT_INIT_IPADDR(addr) IP4_ADDR((addr), 192,168,39,5)
#define LWIP_PORT_INIT_GW(addr) IP4_ADDR((addr), 192,168,39,1)
#define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), 255,255,255,0)

--- lwipopts.h

#define LWIP_DHCP               0

This used to work with the previous SDK.

However, in this case the firmware runs into a RTOS abort.

Is this a bug, or is there a different way to use a static IP address? Which documentation should I look in?

Thanks for a hint

Alexander

2063.enet_lwip_cpsw_am243x-lp_r5fss0-0_freertos_ti-arm-clang.zip