AnsweredAssumed Answered

Having issues with STM32F4 + LwIP + FreeRTOS + STM32CubeMX 4.19

Question asked by Justin Kim on Mar 8, 2017

Hi everyone,

 

I'm trying to complete a project with the STM32F4 Discovery board and with a PHY IC (DP83848CVV), along with FreeRTOS and LwIP. I began the project with first testing the hardware this previously completed code by someone else: http://blog.tkjelectronics.dk/2012/08/ethernet-on-stm32f4discovery-using-external-phy/ 

jI was able to get the webpage running and made sure that the hardware was in working order.

 

However, once I used the STM32CubeMX to initialize everything (selecting STM32F407G as my MCU with FreeRTOS, ETH, and LwIP enabled) and get a simple TCP echo client (tried TCP/UDP echo server as well) running, I cannot connect nor can the MCU connect to my echotool.exe server. The dhcp_start() seems to be working though since I can see that my router gave the MCU an IP address.

 

Any insight to this issue would be much appreciated. Also, if you can share a completed project with STM32F4 with FreeRTOS + LwIP running, that would be amazing!

 

Thank you.

Outcomes