用“ItNo.Peee=1”,数据在PanCo和ED.之间传输OK,这个问题将在5分钟到2小时后发生。通过MIWI协议传输数据OK。此外,UART在接收时使用低PRI中断。这里的关键是一切都很好(MIWI数据传输和UART接收),但大约5分钟到2小时后,发生故障。到目前为止,我看到了板空闲时的失败(没有MIWI数据XFER,没有UART活动)。在调试期间,我也看到了当In CONNE.PEI= 1时的失败,并且没有为低PRI中断配置任何资源。MMC ORIG代码的演示板(没有配置为低PRI内联的资源)在我添加一行代码“InCON.Peee=1”时失败了。MC已经审查了我的代码,无法识别出什么是错误的,并且无法解释为什么“ItNo.Peee=1”会引起问题。
以上来自于百度翻译
以下为原文
With "INTCON.PEIE = 1;", data were transferred OK between PanCo and ED. The issue would occur about 5 minutes to 2hrs later.
Data were transferred OK via MiWi protocol. Also, the UART is using low-pri interrupt on receive. The key here is that everything works fine (MiWi data transferring and UART receiving), but then about 5min to 2 hours later, the failure occurs. So far, I have seen the failure when the boards are in idle (no MiWi data xfer, no UART activities).
During debugging, I also see the failure when INTCON.PEIE = 1, and NOT ANY resource are configured for low-pri interrupt. The demo board with MC orig code (no resource configured for low-pri intr) fails the same way when I just add this one line of code "INTCON.PEIE = 1;"
MC has reviewed my code and could not identify what's wrong, and couldn't explain why "INTCON.PEIE = 1" would cause a problem.
用“ItNo.Peee=1”,数据在PanCo和ED.之间传输OK,这个问题将在5分钟到2小时后发生。通过MIWI协议传输数据OK。此外,UART在接收时使用低PRI中断。这里的关键是一切都很好(MIWI数据传输和UART接收),但大约5分钟到2小时后,发生故障。到目前为止,我看到了板空闲时的失败(没有MIWI数据XFER,没有UART活动)。在调试期间,我也看到了当In CONNE.PEI= 1时的失败,并且没有为低PRI中断配置任何资源。MMC ORIG代码的演示板(没有配置为低PRI内联的资源)在我添加一行代码“InCON.Peee=1”时失败了。MC已经审查了我的代码,无法识别出什么是错误的,并且无法解释为什么“ItNo.Peee=1”会引起问题。
以上来自于百度翻译
以下为原文
With "INTCON.PEIE = 1;", data were transferred OK between PanCo and ED. The issue would occur about 5 minutes to 2hrs later.
Data were transferred OK via MiWi protocol. Also, the UART is using low-pri interrupt on receive. The key here is that everything works fine (MiWi data transferring and UART receiving), but then about 5min to 2 hours later, the failure occurs. So far, I have seen the failure when the boards are in idle (no MiWi data xfer, no UART activities).
During debugging, I also see the failure when INTCON.PEIE = 1, and NOT ANY resource are configured for low-pri interrupt. The demo board with MC orig code (no resource configured for low-pri intr) fails the same way when I just add this one line of code "INTCON.PEIE = 1;"
MC has reviewed my code and could not identify what's wrong, and couldn't explain why "INTCON.PEIE = 1" would cause a problem.
举报