完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
和声2.04MPLABX 4.05PIC32 MZ2048 EFG2048 HELLIAM AM使用PIC32 MZ、和声和以太网模块作为连接到服务器的控制面板,除了在软件重置后偶尔无法使网络设备重新启动和运行,一切都正常运行,这通常发生在H时。一个软件重置没有修复它,只有一个RealPosits。无效StuttRead(无效){SysSytinStasugGeand Dabable();SysSReSeTySuffaleReSert();而(1);}可能还有别的东西我必须重置吗?任何帮助将不胜感激!斯图尔特
以上来自于百度翻译 以下为原文 HARMony 2.04 MPLabx 4.05 PIC32MZ2048EFG2048 Hello I am using the PIC32MZ, harmony and Ethernet module as a control panel connected to a server, everything works well apart from occasionally not being able get the network device up and running again after a software reset, this usually happens when it has been left for a while trying to connect to a missing server. A software reset does not fix it, only a re-power does. void SoftReset(void) { SYS_INT_StatusGetAndDisable(); SYS_RESET_SoftwareReset(); while(1); } Maybe there is something else I have to reset? Any help would be greatly appreciated! regards Stewart |
|
相关推荐
2个回答
|
|
你可以尝试一下:-界面向下,然后向上:TCPIPPSTACKYNETWORK/TCPIPSYSTACKYNUPUP——堆栈向下,然后向上:TCPIPSYSTACKEDE初始化/TCPIPSYSTACKIQUALIZIZE,看看这是否解决了这个问题。连接到一个丢失的服务器……“你的应用程序到底在做什么,是TCP/UDP服务器等等吗?”
以上来自于百度翻译 以下为原文 You could give it a try with: - interface down and then up: TCPIP_STACK_NetDown/TCPIP_STACK_NetUp - stack down and then up: TCPIP_STACK_Deinitialize/TCPIP_STACK_Initialize and see if this solves the issue. Please give some details of the scenario when getting into this state: "left for a while trying to connect to a missing server...", what exactly is your app doing, is it a TCP/UDP server, etc. |
|
|
|
感谢您的响应,我将尝试这些事情,并张贴结果,这可能需要一些时间,因为我必须等待它发生的应用程序是基于TCPGclipse的DEMO,并连接到一个封闭网络上的服务器。除了这个问题之外,一切都很好。有时服务器上的PC会在一夜之间关闭,但是控制台不是,我今晚会尝试看看它是否一致。
以上来自于百度翻译 以下为原文 Thanks for your response, I will try these things and post the results, this may take some time as i'll have to wait for it to happen The application is based on the tcp_client_demo and connects to a server on a closed network. It all works great apart from this issue. Sometimes the PC with the server is left off overnight, but the console isn't, i'll try this out tonight to see if it's consistent. Regards Stewart |
|
|
|
只有小组成员才能发言,加入小组>>
4814 浏览 9 评论
1823 浏览 8 评论
1743 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2949 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2055 浏览 5 评论
452浏览 1评论
1107浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
355浏览 0评论
260浏览 0评论
LAN9252使用SQI通信,进行数字复位后读BYTE_TEST异常
1777浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-20 06:06 , Processed in 1.946105 second(s), Total 71, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号