完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在设置代码时,PIN设置似乎不会被可靠地过滤掉。我使用的是和声2.04和插件2.05.2有什么建议吗?它花费了我足够的时间从非工作的PIN设置追踪bug。
以上来自于百度翻译 以下为原文 Pin settings don't seem to be filtering down reliably when generating code. I am using hARMony 2.04 and plugin 2.05.2. Any suggestions? It has cost me enough time now chasing bugs from non working Pin Settings. |
|
相关推荐
5个回答
|
|
|
|
|
|
我想这可能是因为TIIS和LAT按钮在你改变PIN功能时没有正确的对应。另外,我在PIC32 MZ2064 DAH176上的PIN 89上注意到了这一点,有些东西不想带第一个去,我把它放到了It4上,但是不知怎么说,直到我做了一些U的时候,它并没有这样设置。不可操纵的小提琴
以上来自于百度翻译 以下为原文 I think this may be caused by TRIS and LAT buttons not correctly corresponding when you change the pin function. Also, I noticed this on pin 89 on the PIC32MZ2064DAH176, something didn't want to take the first go around, I put it to INT4 but somehow it wasn't actually set that way until I did some unrecallable fiddling. |
|
|
|
此外,另一个问题是,和谐是设置ANX引脚错误。作为一个例子,我的PIN号码43 R4设置为GPIO出。在将该引脚设置为AN18之后,TIS和LAT变灰,但配置器将该引脚作为输出。
以上来自于百度翻译 以下为原文 Also, another issue is that harmony is setting ANx pins wrongly. As an example, I had Pin number 43 RE4 set as GPIO out. After setting this pin to AN18, TRIS and LAT greyed out, but the configurator left this pin as an output. |
|
|
|
在使用自定义板时,我经常在2.04或2.05中出现这个问题。真的有必要制定正确的BSP——只要我能做到这一点,让它坚持下去!
以上来自于百度翻译 以下为原文 I *frequently* have this issue in either 2.04 or 2.05 when using custom boards. It is really necessary to make a correct BSP - if only I could do that right and make it stick! |
|
|
|
如果在MHC中出现了奇怪的事情,我建议擦除生成的文件以供新的一代使用。我避免了BSP,这是地狱,但是对于V2.xx(对于我使用的和声模块来说)是很不必要的。我注意到MHC有时会被混淆,并且可能会在输出文件中保留损坏,擦除它们。1)备份/压缩整个项目文件夹(稍后生成文件的比较)2)记录您对任何生成的代码文件的所有自定义**或使用“超越比较”等软件查看文件和整个项目文件夹树3中的差异)删除所有生成的文件。4)当你有很好生成的代码时,再次备份/zip,以防MHC**丢失任何东西。在升级和声之前,将所有MHC窗口捕获到DOC,随着事物的移动/变化。5)如果MHC松开设置,则可以恢复/使用匹配的备份生成的F。ILE,而不是重新进入MHC中的所有东西,例如恢复良好的DVVI ADC。CIF MHC松开ADC设置。我也注意到问题:-MHCV2052为PIC32 MZ松开ADC设置(恢复备份DVVAADCYSTATION.C恢复)。70F512H TQFP64 RF6 PU35不可用于输出)不能准确地记住,但我认为您只需要保留其中的一两个:-DEFUCT.MHC-CONTIONTION.XML(我感觉这很少被破坏,但它已经有一段时间了)-(MaMaFrase=我认为这可以被删除)我想你们可以擦除一切。在以下所有子文件夹中:X:Microchip Buffy/xxx Project \固件Project .xMaMicroFix= WiPex:Microchip HealthV2O05Y01xxx Project固件Project .x= WiPEX:Microchip 和声 V2Y05Y01xxx Project 固件SRCStultSyCoMicrochip 协调程序 V2Y05YO01xCXProject固件SRCStulySoCyFig SudioDealsix.xMicrochip HyralV2O05Y01xxx Project 固件SRCStReSysCyFig 默认FraseWiPex:Microchip HealthV2Y05Y01xxx Project 固件SRC=保持您的自定义代码:Microchip HealthV2Y05Y01xxx Project 固件SRCStReSysCOFIG\DEFFALST\BASE=擦除(备份)保罗
以上来自于百度翻译 以下为原文 If things getting weird in MHC I suggest wiping generated files for Fresh generation. I avoid the BSP, it was hell, but nicely seems unnecessary for V2.XX (at least for the Harmony modules I use). I have noticed MHC to get confused sometimes and may retain corruption in output files, wiping them works to force full regeneration. Procedure: 1) Backup/zip the entire project folder (For later compare of Generated Files) 2) Log all customizations you did to any generated code files ** or use Software like "Beyond Compare" to see diffs in files and whole project folder tree 3) Delete ALL generated files, or start a fresh project. 4) When you have nicely generated code, Backup/Zip again in case anything lost by MHC ** I screen capture all the MHC windows to a doc Before Upgrading Harmony, as things move/change. 5) Sometimes if MHC looses settings you can restore/use the matching backed up generated file instead of re-entering everything in MHC, such as restoring a good drv_adc_static.c if MHC looses ADC settings. I have also noticed issues with: - MHCv2052 loosing ADC settings for PIC32MZ (restore a backup drv_adc_static.c to recover). - MHC not having correct handling of some pins, like (PIC32MX370F512H TQFP64 RF6 pin35 not available for output) Can't remember exactly but I think you only need to keep one or two of these: - default.mhc - configuration.xml (I have a feeling this gets corrupted rarely, but its been a while) - (MakeFile = I think this can be deleted) I think you can wipe everything in all the subfolders below: x:microchipharmonyv2_05_01xxxproject = Backup/zip x:microchipharmonyv2_05_01xxxprojectfirmwareproject.XMakeFile = Maybe wipe x:microchipharmonyv2_05_01xxxprojectfirmwareproject.X = wipe x:microchipharmonyv2_05_01xxxprojectfirmwaresrcsystem_configdefaultdefault.mhc = keep/wipe x:microchipharmonyv2_05_01xxxprojectfirmwaresrcsystem_configdefaultconfiguration.xml = keep/wipe x:microchipharmonyv2_05_01xxxprojectfirmwaresrcsystem_configdefaultframework = wipe x:microchipharmonyv2_05_01xxxprojectfirmwaresrc = Keep your custom code x:microchipharmonyv2_05_01xxxprojectfirmwaresrcsystem_configdefaultframework =Wipe(Backup) Paul |
|
|
|
只有小组成员才能发言,加入小组>>
4840 浏览 9 评论
1842 浏览 8 评论
1757 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2968 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2072 浏览 5 评论
467浏览 1评论
1120浏览 1评论
305浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
373浏览 0评论
268浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-7 00:14 , Processed in 1.120258 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号