完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我们已经收到了PIC32 MX170F256B+EnC424J600的PCB。我已经用XC32 V1.42.用2.02b开始测试它。在一些配置之后,我可以得到对ping的响应。但是似乎有一个可靠性问题。这里是UART的调试控制台输出:什么会导致这个入侵?D帧大小?谢谢。
以上来自于百度翻译 以下为原文 Hi, We have received our PCB with PIC32MX170F256B + ENC424J600. I have started testing it with HARMony 2.02b with XC32 v1.42. After some configurations, I could get response to the ping. But It seems that there is a reliability issue. Here is the debug console output over UART: [19:13:36:985] TCP/IP Stack: Initialization Started [19:13:37:016] TCP/IP Stack: Initialization Ended - success [19:13:37:017] Interface ENCX24J600 on host SER2ETHER - NBNS disabled [19:13:37:017] ENCX24J600 IP Address: 192.168.1.155 [19:13:37:017] Waiting for Client Connection on port: 9760 [19:13:37:990] Tick! [19:13:38:998] Tick! [19:13:39:990] Tick! [19:13:40:997] Tick! [19:13:41:988] Tick! [19:13:42:387] Received an invalid frame size 21587 address 234e next a0d [19:13:42:994] Tick! [19:13:43:985] Tick! [19:13:44:401] Received an invalid frame size 30253 address 2264 next 6e6f [19:13:44:993] Tick! [19:13:45:984] Tick! [19:13:46:992] Tick! [19:13:47:982] Tick! [19:13:48:414] Received an invalid frame size 2305 address 2168 next a8c0 [19:13:48:991] Tick! [19:13:49:981] Tick! [19:13:50:556] Received an invalid frame size 2305 address 2168 next a8c0 What can cause this invalid frame size? Thanks. Attachment(s) ser2ether_mhc.txt (10.46 KB) - downloaded 154 times |
|
相关推荐
8个回答
|
|
错误消息来自DRVIN EXX24J600,RXXBASE.C文件。显然,它是针对一些问题而设计的。但究竟是什么?什么可以导致收到消息说:“收到一个无效的帧大小..”?
以上来自于百度翻译 以下为原文 The error message comes from drv_encx24j600_rx_packet.c file. Obviously it is designed for some problems. But what exactly? What can cause to receive a message says that "Received an invalid frame size.."? int32_t DRV_ENCX24J600_RxPacketTask(struct _DRV_ENCX24J600_DriverInfo * pDrvInst, DRV_ENCX24J600_RX_PACKET_INFO *pkt) { uintptr_t ret; DRV_ENCX24J600_RegUnion reg = {0}; if (pDrvInst->mainStateInfo.runningInfo.resetRxInfo.state != DRV_ENCX24J600_RRX_WAIT) { return 0; } switch (pkt->state) { case DRV_ENCX24J600_RX_EMPTY_PACKET: break; case DRV_ENCX24J600_RX_SET_ERXRDPTR: { //SYS_CONSOLE_PRINT("Trying RX @ %xrn", pDrvInst->rxPtrVal); if (pkt->retry >= 3) { SYS_CONSOLE_PRINT("Received an invalid frame size %d address %x next %xrn", pkt->rsv.rxByteCount, pDrvInst->rxPtrVal, pkt->rsv.pNextPacket); pkt->retry = 0; pDrvInst->mainStateInfo.runningInfo.resetRxInfo.state = DRV_ENCX24J600_RRX_STARTING; pkt->state = DRV_ENCX24J600_RX_EMPTY_PACKET; pDrvInst->rxPtrVal = pDrvInst->encMemRxStart; TCPIP_Helper_ProtectedSingleListTailAdd(&pDrvInst->rxFreePackets, (SGL_LIST_NODE*)(pkt->pkt)); break; } ret = (*pDrvInst->busVTable->fpPtrWr)(pDrvInst, DRV_ENCX24J600_PTR_RXRD, pDrvInst->rxPtrVal, DRV_ENCX24J600_RP_OP_SET_RXRDPTR); if (ret == 0) { break; } pkt->state = DRV_ENCX24J600_RX_READ_RSV; } case DRV_ENCX24J600_RX_READ_RSV: { ...... |
|
|
|
我们目前正在调查哪个模块是导致这种行为的原因:SPI或EnJ600驱动程序。我们一有更多信息就会更新。
以上来自于百度翻译 以下为原文 We're currently investigating which module is the cause for this behavior: SPI or ENCJ600 driver. Will update as soon as we have more info. |
|
|
|
我们的测试表明,禁用标准的EnJ600协调分发项目的DMA消除了问题,但是我们的测试仍在继续,以找到根本原因。
以上来自于百度翻译 以下为原文 Our tests show that disabling the DMA for the standard ENCJ600 Harmony distribution project eliminates the issue. But our testing continues, to get to the root cause. |
|
|
|
HI BasePiTeWe目前正在寻找一个以太网解决方案为我们的新项目之一。我们还查看了Enc424J600,但也看到了与您详细描述的相同的缺点,即如何提供堆栈。和声-我听过太多的不兼容性、错误和性能问题的故事,对此感到满意。MLA -我们在旧的(预HARMIONI)项目上使用了这个,很好。成功,但它需要大量的CPU功率和程序记忆-我猜我们低估了这一点。我认为要花很多时间才能把它移植过来并编写驱动程序。你说它是快速和容易。我们最终提出的解决方案是使用WiNETW5500芯片与内置堆栈。它似乎很容易使用,因为它有一个伯克利API,所以许多第三方应用程序(时间服务器,Web服务器等)将是兼容的,它的价格与Enc424J600相同。我们刚刚开始这个项目,我会随时向您说明进展。
以上来自于百度翻译 以下为原文 Hi Basepointer We are currently looking for an ethernet solution for one of our new projects. We also looked at the ENC424J600, but saw the same disadvantages as you were detailing, namely how do you supply the stack. Harmony - I have heard too many stories of incompatibility, bugs and performance issues to be comfortable with this. MLA - We used this on old (Pre-Harmiony) projects, with good success, but it takes a lot of CPU power and program memory IwIP - I guess we underestimated this one. I thought is would take a lot of time to port it over and write the driver. You are saying it was quick and easy. The solution we eventually came up with is to use the Wiznet W5500 chip with the built in stack. It seems easy to use, since it has a Berkley API, so many third party apps (time servers, web servers etc) will be compatible, and its around the same price as the ENC424J600. We are just starting the project, I will keep you posted on the progress |
|
|
|
问题被确定在Enj600和声驱动程序中,代码已被修复。修复将是下一个版本的一部分。如果需要提前发布,可以在这里发布。
以上来自于百度翻译 以下为原文 The problem was identified to be in the ENCJ600 Harmony driver and the code has been fixed. The fix will be part of the next release. If need ed earlier it can be posted here. |
|
|
|
我已经切换到一个非和谐的解决方案。但在这里发送固定版本,我也可以测试它的微芯片。
以上来自于百度翻译 以下为原文 I already switched to a non harmony solution. But send fixed version here, I can test it for microchip as well. |
|
|
|
Runad,请告诉我们从星期六,2015年8月29日11:22 AMHTTP://www. McCHIP.COM/FUMMS/M86902.ASPXRESDACSACPC的解决方案。
以上来自于百度翻译 以下为原文 rainad, Please show us the solution that I´m waiting since Saturday, August 29, 2015 11:22 AM http://www.microchip.com/forums/m886902.aspx Regards ACPC |
|
|
|
更新代码
9.45下载123次DRVIN EXX24J600的Loalal.H.TXT(3.66 KB)-下载96次 以上来自于百度翻译 以下为原文 Updated code Attachment(s) drv_encx24j600_check_int_state.c (5.01 KB) - downloaded 104 times drv_encx24j600_rx_packet.c (9.45 KB) - downloaded 123 times drv_encx24j600_local.h.txt (3.66 KB) - downloaded 96 times |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
731浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
629浏览 0评论
527浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 18:14 , Processed in 1.321119 second(s), Total 90, Slave 74 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号