Skip to main content

Questions tagged [lwip]

For questions about lightweight IP ("lwIP"), an open source TCP/IP stack for embedded systems.

0 votes
0 answers
457 views

NUCLEO-H723ZG HAL LWIP won't ping

I am having issues creating the simplest setup with this board. LWIP initializes, I can see my static IP address in the debugger. I can detect if cable is plugged-in/unplugged. MPU is configured and I ...
Arkadiusz Rycyk's user avatar
2 votes
0 answers
1k views

STM32 ethernet and TCP issues with firmware 1.27.0 and cubeide (probably at sending messages)

I would like to use the TCP/IP protocol (with LwIP, HAL library, without freeRTOS) in a project but I face some portability issues. I'm starting with TCP echo client example as in chapter 6.1.1 of ...
Damien LUCAS's user avatar
1 vote
1 answer
729 views

IPv4 total length exceeds packet length error

I have a problem with the mbedtls server(stm32+lwip) send wrong length message. I am using this code in my project. https://github.com/straight-coding/straight-httpd-lwip-mbedtls-simulator Server ...
gogogo's user avatar
  • 279
1 vote
0 answers
159 views

stm32f4-tls and freertos

I want to use TLS on lwip using modbus tcp applications. But when I choose the mbedtls on CubeMx, I couldnt select lwip. If I use the Freertos, than I can selecect both of them. But I dont want to use ...
gogogo's user avatar
  • 279
1 vote
0 answers
368 views

LWIP pbuf copy issue

I am using the LWIP library on my stm32f4 project. In the low_level_output function have pbuf p member. I need to change its length with length + 1 and I need to add 1 byte end of the pbuf->payload ...
gogogo's user avatar
  • 279
0 votes
0 answers
207 views

LWIP remote port and src not equal

I am using stm32f4+lwip 2.0.3 version on my application, I was using IWDG timer on my code, I detect when I receive lots of Modbus-TCP packets with different connections. I get reset every time. Than ...
gogogo's user avatar
  • 279
1 vote
1 answer
1k views

sgmii auto negotiation - how long should this take?

I am working with LWIP - and an 1G marvell phy, m88e1111 - connected to a Microsemi SmartFusion 2 FPGA design using 10b8b (aka: TBI) interface. I'm doing something wrong with the auto negotiation and ...
user3696153's user avatar
2 votes
1 answer
4k views

How can I configure PHY in cubeMX on own board?

I made a customboard using STM32f217VET microcontroller and KSZ8081 PHY (builtin pull-up resistors for TXP TXM and RXP RXM). I Configured my board to use MII mode, anda I used a 25MHz oscillator to do ...
morcillo's user avatar
  • 151
1 vote
1 answer
6k views

LWIP Raw UDP API on STM32F2/F7 generated by CubeMX not sending on startup, requires an arbitrary amount of resets to work

I'm working on a project using the LWIP raw API with the stm32f2 and cannot get it to work. The basic concept of the project is to have the stm32f2 acting as the actuator and gets instructions from ...
Nic_Hemstreet's user avatar
12 votes
3 answers
13k views

STM32F407 + LAN8720A + lwIP + FreeRTOS = No received Ethernet frames

I'm trying to bring up a PCB that uses an STM32F407 and LAN8720A Ethernet PHY, and I can't seem to receive any Ethernet frames — even though I have no problem transmitting frames. Hardware setup I ...
Jay Carlson's user avatar
  • 2,879