完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我整个下午都在追逐一个问题,这个简单的任务就是做pow(a,b)总是产生结果0。ER XC32 1.42。这似乎是个问题,下载1.40和交换,一切恢复正常。我在归档中发现了这一点,但是HARMony 1.08.01安装程序页面说它也应该有1.40B部件支持——我在归档中找不到。当它被归档时,1.40b更新是否被卷进1.40,如果不是我在哪里我可以下载它?我看到,对于和谐1.xx,配对编译器是1.40和1.42的和谐2.xx。如果我翻回到1.42,问题又来了。我不知道这是否是1.42中的问题或者是否与Harmony版本有关,我所知道的只是花了很长时间才找到。我是通过在Mac上编译相同的代码找到的,Mac上使用1.40已经有一段时间了。整个下午我都快疯了。
以上来自于百度翻译 以下为原文 i have chased a problem all afternoon relating to the simple task of doing pow(a,b) always producing the result 0. I am using a PIC32MZ2048EFM144, MPLAB 3.35, Harmony 1.08.01 When I built a new PC a couple of weeks ago I downloaded everything shown as current on the Microchip website, including compiler xc32 1.42. This seems to have been the problem, downloading 1.40 and swapping to that everything returns to normal. I found this in the archive, but the Harmony 1.08.01 installer page says it should have 1.40B part support too - I cannot find this in the archive. Has the 1.40B update been rolled into 1.40 when it was archived, if not where I can I download it? I see that for Harmony 1.xx the paired compiler is 1.40 and 1.42 for Harmony 2.xx. If I flip back to 1.42 the problem returns. I don't know if this is an issue in 1.42 or if it is related to the Harmony version, all I do know is it took ages to find. I found it by compiling the same code on the Mac, which was using 1.40 having been in use for some time now. It had been driving me nuts all afternoon. |
|
相关推荐
2个回答
|
|
请参阅这些线程:HTTP://www. MyCHIP.COM/FUMMS/M94031.ASPX HTTP://www. McCHIP.COM/FUMMS/M943141.ASPX
以上来自于百度翻译 以下为原文 See these threads: http://www.microchip.com/forums/m940391.aspx http://www.microchip.com/forums/m943141.aspx |
|
|
|
感谢链接,我没有得到那些当我搜索。
以上来自于百度翻译 以下为原文 Thanks for the links, I didn't get those when I searched. |
|
|
|
只有小组成员才能发言,加入小组>>
5055 浏览 9 评论
1940 浏览 8 评论
1877 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3094 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2161 浏览 5 评论
603浏览 1评论
470浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
323浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
497浏览 0评论
406浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-9-13 02:38 , Processed in 1.150926 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191