完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
我不能在SysStasks[]中生成GFxUpDebug()和LabiaRayTasks-(),如Hyv.2.03b的MHC,如空SysStask任务(空){/*维护系统服务*/SysSMSGO任务((SyssObjyRoad)SysObj.SysSG0);SysSouthCHIX任务(SysObj.StasoukObjut0);/*维护设备驱动*/DrvouTouCHYADCII任务(SysObj.DrvTouChADC);//更新GFX抽象层GFxUpdate();/*维护中间件和其他库*///更新UI库LiabaLyTaskSo(;);/*维护应用程序的状态机。*如何通过MHC生成GFXU-UpDebug()和LabiaLaTaskSh()?我附上了屏幕截图。这个bug吗?任何建议都使我高兴。
以上来自于百度翻译 以下为原文 I cannot generate GFX_Update() and LibAria_Tasks() in sys_tasks() by MHC of HARMony v.2.03b like below. void SYS_Tasks ( void ) { /* Maintain system services */ SYS_MSG_Tasks( (SYS_OBJ_HANDLE) sysObj.sysMsg0 ); SYS_TOUCH_Tasks(sysObj.sysTouchObject0); /* Maintain Device Drivers */ DRV_TOUCH_ADC_Tasks(sysObj.drvTouchAdc); // update the GFX Abstraction Layer GFX_Update(); /* Maintain Middleware & Other Libraries */ // update the UI library LibAria_Tasks(); /* Maintain the application's state machine. */ APP_Tasks(); } How do generate GFX_Update() and LibAria_Tasks() by MHC ? I attached my screen shot. Is this bug ? Any advice make me pleased. Attached Image(s) |
|
相关推荐
14个回答
|
|
|
在尝试重新生成代码时,在输出窗口中是否存在错误消息?如果是这样的话,请提供。我今天在BLIKYYL LED上添加了图形,直到MPLAB图形配置器中的默认屏幕添加了一个图层之后才开始工作。你用至少一层定义了屏幕吗?
以上来自于百度翻译 以下为原文 Are there any error messages in the output window when you try to regenerate the code? If so, please provide. I was adding graphics to blinky_leds today and couldn't get it to work until I added a layer to the default screen in MPLAB Graphics Configurator. Have you defined a screen with at least one layer? |
|
|
|
|
|
亲爱的Michael W. MannThank,非常感谢你。在创建新的屏幕之后,我可以生成GFxUpDebug()和LabiaLaTaskS.(),并且我有2个问题。1。如何改变屏幕的颜色?2。如何在屏幕上固定小部件的按钮?我附上了我的屏幕。虽然2以上都是很容易在屏幕上的VER。1和谐图形,我不能在V.2.请教我一步一步。
以上来自于百度翻译 以下为原文 Dear Michael W. Mann Thank you very much. I could generate GFX_Update() and LibAria_Tasks() ,after I create New Screen. And I have 2 questions. 1. How to change the color of Screen ? 2. How to fix the button of widget on the screen ? I attached my screen. Though above 2 are very easy in the screen of Ver.1 Harmony Graphics, I cannot in Ver.2. Please teach me step by step. Best regards ysaito Attached Image(s) |
|
|
|
|
|
请看Hyth.CHM帮助文件,看看如何做这些事情。查看包含图形作图器的第2卷中的部分。(我花了一个多月的时间修改了2.03B版本的信息。)屏幕的颜色是层的“属性”。您可以启用填充层的背景,并且可以指定填充中使用的配色方案。配色方案可以定制,以满足您的需要。至于“修理”按钮,我不知道你的意思。去看一个按钮的例子的ARIAYQuasDead演示。
以上来自于百度翻译 以下为原文 Please look at the Harmony .chm help file for how to do these things. Look at the section in Volume 2 that covers the Graphics Composer. (I spent the better part of a month revising this information for the 2.03b release.) The color of the screen is a "property" of the layer. You can enable filling the layer's background and you can specify a color scheme to use in the fill. Color schemes can be customized to meet your needs. As far as "fixing" the button, I'm not sure what you mean. Go look at the aria_quickstart demo for an example of a button. |
|
|
|
|
|
亲爱的Michael W. MannThank,非常感谢你的忠告。1。在ARIAYQualSimeDemo中,通过打开图形作曲家WigETS树选项卡,改变图层的属性方案,可以将屏幕的颜色从透明变为浅绿色。2。在我的项目中,我从第一个使用MHC创建,我可以在我的屏幕上固定按钮小部件,在我使用图形作图器小部件树标签添加Layel0之后,我的屏幕的颜色从布莱克变成白色(透明)。我知道我不能在我的黑屏上固定按钮,它没有图层。3。我获得了2项以上的成功。但是我发现了下面的问题。通过在默认屏幕中添加Layer-0,我得到了下面的GFxUpDead()和LabiaLaTaskS.(),生成了MHC。请参阅附件屏幕SoTo.ValueSysStask(空){维护系统服务*/SysSMSGO任务((SyssObjyRoad)SysObj.SysSg0);SysSouthCo任务(SysObj.Sy)。/*保持设备驱动程序*/DRVYTouCHYADCII任务(SysObj.DrVouTouChADC);/ /更新GFX抽象层GFxUpdate();/*维护中间件和其他库*///更新UI库LiabaLyTaskSo(;);/*维护应用程序的状态机。} /AppHyTaskSh();}但我发现我不能编译我的项目。错误发生。错误:''`p*p3xAlalOrthOnrase'未声明(在这个函数中第一次使用)错误:'`p*p33FyrySCORM ''未声明(在这个函数中首次使用)如何修复这个编译错误?任何建议都使我感到高兴。
以上来自于百度翻译 以下为原文 Dear Michael W. Mann Thank you very much for kind advice. 1. In aria_quickstart Demo, I could change the color of screen from Transparent to Light Green by opening the Graphics composer Wigets tree tab and changing the Scheme of Layer's property. 2. In my project, which I create from the first by using MHC , I could fixed Button Widget on my Screen, after I added Layer0 by using the Graphics composer Widgets tree tab and the color of my Screen became White(Transparence) from Black. I knew that I cannot fix Button on my Black Screen, which has not Layer. 3. I got success concerning above 2 items. But I found below problem. By adding Layer0 in the default screen I got below GFX_Update() and LibAria_Tasks() , which are generated MHC. Please see attached screen shot. void SYS_Tasks ( void ) { /* Maintain system services */ SYS_MSG_Tasks( (SYS_OBJ_HANDLE) sysObj.sysMsg0 ); SYS_TOUCH_Tasks(sysObj.sysTouchObject0); /* Maintain Device Drivers */ DRV_TOUCH_ADC_Tasks(sysObj.drvTouchAdc); // update the GFX Abstraction Layer GFX_Update(); /* Maintain Middleware & Other Libraries */ // update the UI library LibAria_Tasks(); /* Maintain the application's state machine. */ APP_Tasks(); } But I found I cannot compile my project. There occured below error. error: '__pic32_alloc_coherent' undeclared (first use in this function) error: '__pic32_free_coherent' undeclared (first use in this function) How do you fix this compile error ? Any advice make me pleased. Best regards ysaito Attached Image(s) |
|
|
|
|
|
亲爱的Michael W. MannI将添加更多的编译器错误消息……“C:程序块文件(x86)vc43bin xc32 gcc.exe“-gxxc- m处理器=32 MZ2048 EFH100-FFUNCTONE部分-O1-I./SRC-I./SRC/StRysCOFIGG/DEFALIS-I../SRC/Deal-I...…//..…//..…/Fras-I./SRC/SyroSy-CONFOGD/Mult/Multudio/Deult/Deult/Sudio/LabiaLaWiGigTyList.O.D-Ong/Deult/Outs/OxEX/ListabaWiGigTyList.O.//..…///..…/Fr./Frase/GFX/LIABARI/SRC/LBARIAAYWIDGETHOLY列表.C-DXPRJIOUTAL =默认-没有遗留LIBC…/…/…/…/…/框架/gfx/sal/gcf/gfx.c:in…//..…//..…/gfx/Hal/Src/gfx.c:56:31:错误:“标识符仅在一个函数中被报告一次,它出现在…////..…///..//gfx/Hal/Src/gfx.c:64:错误:“未经声明的“pIC32,FRULY相干”)。EXE“-G-C-20-EFH100-FFUNCTONE部分-O1-I/SRC/SysLyFig /默认- I.//..…/..…//..…/Fras-I./SRC/StulySyFig /默认/框架-MMD -MF/Buffe/Eng/Ext/ 1613431570 /GFXL颜色.O.D-O构建/默认/生产/Ext/ 1613431570 /GFxl颜色。o…//..…//..…//Frase/GFX/HAL/SRC/GFXUL颜色。
以上来自于百度翻译 以下为原文 Dear Michael W. Mann I will add more compiler error message ... ... "C:Program Files (x86)Microchipxc32v1.43binxc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048EFH100 -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../../../../framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/1361772787/libaria_widget_list.o.d -o build/default/production/_ext/1361772787/libaria_widget_list.o ../../../../../../../framework/gfx/libaria/src/libaria_widget_list.c -DXPRJ_default=default -no-legacy-libc ../../../../../../../framework/gfx/hal/src/gfx.c: In function 'GFX_Open': ../../../../../../../framework/gfx/hal/src/gfx.c:56:31: error: '__pic32_alloc_coherent' undeclared (first use in this function) mem.coherent_alloc = &__pic32_alloc_coherent; ^ ../../../../../../../framework/gfx/hal/src/gfx.c:56:31: note: each undeclared identifier is reported only once for each function it appears in ../../../../../../../framework/gfx/hal/src/gfx.c:64:30: error: '__pic32_free_coherent' undeclared (first use in this function) mem.coherent_free = &__pic32_free_coherent; ^ "C:Program Files (x86)Microchipxc32v1.43binxc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048EFH100 -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../../../../framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/1613431570/gfx_color.o.d -o build/default/production/_ext/1613431570/gfx_color.o ../../../../../../../framework/gfx/hal/src/gfx_color.c -DXPRJ_default=default -no-legacy-libc ... ... Best regards ysaito |
|
|
|
|
|
该项目阿里亚快速启动,不是吗?因此,我建议将ARIAYQuiSART项目的MPLAB和谐配置器设置与您的项目进行比较。我的猜测是在项目中没有启用的东西。或者,在与项目相同的地方查看ARIAYQuiGraseProject并查看这些Malc和自由基元的位置。可以通过单击ARIAYQuiSART项目中的引用来实现这一点。
以上来自于百度翻译 以下为原文 The project aria_quickstart works, does it not? So I would recommend comparing the MPLAB Harmony Configurator settings of the aria_quickstart project with your project. My guess is that there is something that is not being enabled in your project. Alternatively, look in the aria_quickstart project in the same place as your project and see where these malloc and free primitives are located. You can do this by clicking on the references in the aria_quickstart project. |
|
|
|
|
|
亲爱的Michael W. MannAt现在我不能编译我的项目。我检查了我的项目和阿里亚克快速启动之间的MHC差异。差异只是堆大小。于是我从4096字节变为102400字节。但是我不能编译。我检查了下面的编译器消息。错误:''.picp3xAlLogOrrase'未声明(在这个函数中的第一次使用):“未被声明(在这个函数中使用的第一个函数)),p*32,AlLogOnListCon()和“Y-Pic3xFielyListon())是L1缓存的函数。上面定义在“C:程序文件(x86) Microchip xC32 V1.42PIC32 LIBS)中。包含 sys L1Cache .h”。我把这个目录添加为包含PASS。但是我不能编译。我想当我们在默认屏幕上添加了一个层时,我们必须做一些能够使用L1缓存的东西。任何建议都使我感到高兴。
以上来自于百度翻译 以下为原文 Dear Michael W. Mann At present I cannot compile my project. I checked the MHC difference between my project and aria_quickstart. The difference was only Heap size. So I changed from 4096 byte to 102400 byte. But I cannot compile. I examined below compiler message. error: '__pic32_alloc_coherent' undeclared (first use in this function) error: '__pic32_free_coherent' undeclared (first use in this function) __pic32_alloc_coherent() and __pic32_free_coherent() are the function of L1 Cache. Above is defined in "C:Program Files (x86)Microchipxc32v1.42pic32-libsincludesysl1cache.h". I added this directory as include pass. But I cannot compile. I guess that when we added a layer to the default screen, we must do something which enable to use L1 Cache. Are there anything to do in Graphics composer or property of project after adding layer ? Any advice make me pleased. Best regards ysaito |
|
|
|
|
|
看看阿里亚快速入门项目。在那个项目中发现了什么?如果所有其他方法都失败,请查看在生成项目时生成的.map文件,并查看这些函数所在的文件。这可能给你一个提示,你的项目中没有开启MHC的功能。如果所有其他都失败,您可以手动将该文件或文件添加到项目中。基于文件L1Cache .h中提到的这些事实,它可能在L1Case.c中。对于目标设备,ARIAYQuiSART中有一个配置。如果内存是PIC32,EFSKSKYMEB2。
以上来自于百度翻译 以下为原文 Take a look at the aria_quickstart project. Where is __pic32_alloc_coherent and __pic32_free_coherent found in that project? If all else fails, look at the .map file generated when you build the project and see in what file these functions are located. That might give you a hint as to what MHC feature you aren't turning on in your project. If all else fails, you can manually add this file or files to your project. Based on the fact that these are mentioned in the file l1cache.h, it might be in l1cache.c. There is an configuration in aria_quickstart for your target device. If memory serves it is pic32_ef_sk_meb2. |
|
|
|
|
|
亲爱的Michael W. MannI可以通过在SypLySCOFIG.H.Y.So中添加下面的内容来编译,包括“外设/端口/ PLBIXPOUNT .H”,我在上面找到的文件包含在ARIAYQuixEnter的BSP.H的下面,它在PIC32 MZ(EF)启动器套件和S1D13517板上工作得很好。经过多次试验,我成功了……/……/ ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************包括:& lt;x.h & gt;*************我有一个问题。我在SytSyCyFig .h中添加了(包括“外围设备/端口/ PLIB端口.h”),通过手写(即从键盘键入键入所有字符)。如何通过MHC生成(包括外设/端口/ PLIPH端口?H)?最佳赛赛托
以上来自于百度翻译 以下为原文 Dear Michael W. Mann I could compiled by adding below in system_config.h. #include "peripheral/ports/plib_ports.h" I found above include file in below bsp.h of aria_quickstart, which works well at PIC32MZ(EF) Starter kit and S1D13517 board. After I tried many trials, I got success. ... ... // ***************************************************************************** // ***************************************************************************** // Section: Included Files // ***************************************************************************** // ***************************************************************************** #include #include #include #include #include #include "peripheral/ports/plib_ports.h" #define BSP_ADC_TOUCH_MUX_TYPE ADC_MUX_A ... ... I have one question. I added ( #include "peripheral/ports/plib_ports.h" ) in system_config.h. by handwriting(namely typing all characters from keyboard typing). How do you generate ( #include "peripheral/ports/plib_ports.h" ) by MHC ? Best regards ysaito |
|
|
|
|
|
你的项目选择了哪一个董事会支持包?
以上来自于百度翻译 以下为原文 What board support package did you choose for your project? |
|
|
|
|
|
亲爱的Michael W. MannI有PIC32 MZ(EF)启动器套件和MEB II板和S1D1357板作为支持包。但我想在我的原始板上显示480×272图形LCD的S1D1357板,它安装PIC32 MZ2048 EFH100。通过使用和谐V.1.06,我可以在这个板上显示微芯片的原始演示。请参阅下面的视频。我在ZIP文件中附加了我原来的电路板。http://www. YouTube .com /W.C.AcMcPosiy= Youtu.Bay.试图在蓝色屏幕上显示蓝色按钮控件的图形,这是由图形作曲家设计的(PaseSee在Zip文件中附加的屏幕截图)。硬件在视频上显示出来。在这一点上,我可以在SytMyFixFig.h中添加(包含“外围设备/端口/ PLBIX端口,h”)之后,在没有BSP的前提下编译我的项目,但是480×272图形LCD没有显示。图形液晶显示器是黑色屏幕。为什么?下一步我该怎么办?任何建议都使我感到高兴。
以上来自于百度翻译 以下为原文 Dear Michael W. Mann I have PIC32MZ(EF) starter kit and MEB II board and S1D1357 board as support package. But I would like to display graphics on 480 x 272 Graphics LCD of S1D1357 board by using my original board, which mounts PIC32MZ2048EFH100. I could display primitive Demo of Microchip on this boards by using Harmony ver.1.06. Please see below video. I attached circuit of my original board in zip file. https://www.youtube.com/w...c&feature=youtu.be I am trying to display graphics of blue Button widget on blue screen , which is designed by Graphics composer(Pease see attached screenshot in zip file). Hardware is above shown in video. At this point I could compile my project, which is created from the begining without bsp by using MHC, after adding (#include "peripheral/ports/plib_ports.h") in sytem_config.h. But 480 x 272 Graphics LCD shows nothing. The Graphics LCD is black screen. Why ? What should I do next ? Any advice make me pleased. Best regards ysaito Attachment(s) Circuit and DisplayDesign.zip (75.34 KB) - downloaded 40 times |
|
|
|
|
|
如果您不使用BSP,那么您需要使用PIN管理器来分配您的设计中使用的所有引脚。你说液晶显示器是暗的。你检查过控制LCD背光的S1D13517的PWM输出吗?
以上来自于百度翻译 以下为原文 If you are not using a BSP, then you will need to use the Pin Manager to assign all the pins used in your design. You state that the LCD is dark. Have you checked the PWM output on the S1D13517 that controls the LCD's backlight? |
|
|
|
|
|
|
|
|
|
|
|
YSaito,不用客气。我希望它继续为你工作。
以上来自于百度翻译 以下为原文 YSaito, You're welcome. I hope it continues to work for you. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1123浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 01:18 , Processed in 1.109205 second(s), Total 102, Slave 84 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1264