硬汉嵌入式论坛

 找回密码
 立即注册
查看: 197|回复: 8
收起左侧

[MDK] 求一个stm32f4+ucos+lwip+dp83484的硬汉风格的模板

[复制链接]

41

主题

287

回帖

410

积分

高级会员

积分
410
发表于 前天 18:48 来自手机 | 显示全部楼层 |阅读模式
求一个stm32f407+ucosiii(或rtx)+lwip2.x+dp83848的硬汉风格的MDK程序模板。最好是cmsis组件的!按lwip 1.1模板改了个  一直ping不通  没找到问题!
回复

使用道具 举报

41

主题

287

回帖

410

积分

高级会员

积分
410
 楼主| 发表于 前天 21:11 来自手机 | 显示全部楼层
用了tcpnet验证,硬件没问题!
回复

使用道具 举报

1万

主题

7万

回帖

12万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
122563
QQ
发表于 昨天 09:40 | 显示全部楼层
zhengwending 发表于 2026-5-13 21:11
用了tcpnet验证,硬件没问题!

看这个教程生成下就行,不过是基于CMSIS-RTOS V2封装层的

https://forum.anfulai.cn/forum.p ... &extra=page%3D1
回复

使用道具 举报

41

主题

287

回帖

410

积分

高级会员

积分
410
 楼主| 发表于 昨天 09:57 来自手机 | 显示全部楼层
eric2013 发表于 2026-5-14 09:40
看这个教程生成下就行,不过是基于CMSIS-RTOS V2封装层的

https://forum.anfulai.cn/forum.php?mod=vi ...

好  我就是用的这个v5的lwip的模板修改的83848,加了个硬复位  读ID和link up没问题  就是ping不通      例子其他没改啥  没用wireshark抓包看   会不会是软硬检验的问题     就那说不出来哪的问题了  用的mdk536   没用530

谢谢回复!
回复

使用道具 举报

41

主题

287

回帖

410

积分

高级会员

积分
410
 楼主| 发表于 昨天 09:59 来自手机 | 显示全部楼层
eric2013 发表于 2026-5-14 09:40
看这个教程生成下就行,不过是基于CMSIS-RTOS V2封装层的

https://forum.anfulai.cn/forum.php?mod=vi ...

用lwip就是bsd接口支持的比tcpnet丰富  所以才用  不然也用tcpnet了   
回复

使用道具 举报

1万

主题

7万

回帖

12万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
122563
QQ
发表于 昨天 17:00 | 显示全部楼层
zhengwending 发表于 2026-5-14 09:59
用lwip就是bsd接口支持的比tcpnet丰富  所以才用  不然也用tcpnet了

使用新版TCPnet,比lwip还完善。

新版RL-TCPnet V7.X网协议栈和物联网教程开始更新,配RTX5和FreeRTOS两版本,更新至第14章(2020-01-19)
https://forum.anfulai.cn/forum.p ... id=95243&fromuid=58


https://arm-software.github.io/M ... ction_overview.html

BSD Socket

accept — Accept connect request for a listening socket. [thread-safe].
bind — Assign a local address and port to a socket. [thread-safe].
closesocket — Close socket and release socket descriptor. [thread-safe].
connect — Connect a socket to a remote host. [thread-safe].
gethostbyname — Retrieve host IP address from host name. [thread-safe].
getpeername — Retrieve IP address and port number of the endpoint node. [thread-safe].
getsockname — Retrieve local IP address and port number. [thread-safe].
getsockopt — Retrieve options for the socket. [thread-safe].
ioctlsocket — Control IO mode of a socket. [thread-safe].
listen — Set a socket in a listening mode. [thread-safe].
recv — Receive data on already connected socket. [thread-safe].
recvfrom — Receive data from endpoint node. [thread-safe].
recvmsg — Receive a message from a socket. [thread-safe].
select — Check the status of one or more sockets. [thread-safe].
send — Send data on already connected socket. [thread-safe].
sendto — Send data to endpoint node. [thread-safe].
sendmsg — Send a message to endpoint node. [thread-safe].
setsockopt — Manipulate options for the socket. [thread-safe].
socket — Create a communication endpoint called socket. [thread-safe].
inet_addr — Convert from text address to a network address. [thread-safe].
inet_aton — Convert from text address to a network address. [thread-safe].
inet_ntoa — Convert from network address to a text string. [not_thread-safe].
inet_pton — Convert from text address to a binary network address. [thread-safe].
inet_ntop — Convert from binary network address to a text string. [thread-safe].

回复

使用道具 举报

41

主题

287

回帖

410

积分

高级会员

积分
410
 楼主| 发表于 昨天 20:48 来自手机 | 显示全部楼层
eric2013 发表于 2026-5-14 17:00
使用新版TCPnet,比lwip还完善。

新版RL-TCPnet V7.X网协议栈和物联网教程开始更新,配RTX5和FreeRTOS ...

ok  谢谢硬汉!一如既往的支持硬汉!
回复

使用道具 举报

41

主题

287

回帖

410

积分

高级会员

积分
410
 楼主| 发表于 2 小时前 来自手机 | 显示全部楼层
eric2013 发表于 2026-5-14 17:00
使用新版TCPnet,比lwip还完善。

新版RL-TCPnet V7.X网协议栈和物联网教程开始更新,配RTX5和FreeRTOS ...

看了下  还是想用lwip2xx  id读出来了  也是linkup状态  静态ip也改了  还是不行    硬件没问题 用tcpnet试了能ping通   再请教请教软硬件检验也看了  没问题
回复

使用道具 举报

41

主题

287

回帖

410

积分

高级会员

积分
410
 楼主| 发表于 2 小时前 来自手机 | 显示全部楼层
eric2013 发表于 2026-5-14 17:00
使用新版TCPnet,比lwip还完善。

新版RL-TCPnet V7.X网协议栈和物联网教程开始更新,配RTX5和FreeRTOS ...

V5-2001_LwIP V2.X实验_工程移植模板(FreeRTOS)V1.1.rar (2.80MB)用的这个例程  把dm9的驱动换成了83848 另外把io口都改了    就是ping不通    硬件链接没问题  再请教硬汉 改从哪分析?id正确 也是linkup状态
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2026-5-15 20:25 , Processed in 0.377396 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表