Questions tagged [lwip]
For questions about lightweight IP ("lwIP"), an open source TCP/IP stack for embedded systems.
11
questions
0
votes
0
answers
184
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 ...
0
votes
0
answers
46
views
ping with lwIP library Xilinx GTR with dp83867 TI PHY
I am working with Xilinx Zynq ultrascale+ , that is built around custom board. In this board I have 3 gems -gem0..gem2 that are connected to DP83867IS PHY.
in addition, my system is working in SGMII , ...
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 ...
1
vote
1
answer
594
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 ...
1
vote
0
answers
146
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 ...
1
vote
0
answers
310
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 ...
0
votes
0
answers
183
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 ...
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 ...
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 ...
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 ...
12
votes
3
answers
12k
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 ...