您好:
目前在emwin的使用上遇到了幾個問題
設備 :
DA1469x PRO套件+ DA14699子板
LCD 240 * 240 LCD 1.5吋控制晶片为:ST7789V2.
SDK: SDK_10.0.10.118
smartsnippetsstudio2.0.14.1748
有修改LCD设定设定T1D3BP006设定为1,其余= 0,两组触控= 0
T1d3bp006 240x240 spi4 st7789v2
#define dg_configUSE_T1D3BP006 (1)
Static const ad_lcdc_driver_conf_t t1d3bp006_drv = {
.hw_init。iface_freq = LCDC_FREQ_6MHz
};
1.运行示例代码> da1469x_emwin_demo,set活动> da1469x-debug_qspi
結果:有時候液晶會出現畫面有時候則是花屏,出現動畫幾秒後又會卡住,使用14699板子上的重置後,畫面還是在同個地方,要完全拔除電源才有機會恢復,如附檔所示
液晶有嘗試排除,spi線太長與電源問題,狀況仍然相同,你不接,液晶不支援
動畫為对话框標誌與二维码交互顯示
2020/11/23:液晶SPI設定由4線改3線dg_configUSE_T1D3BP006(1)改為dg_configUSE_T1D54BP002 (1)
此時顯示就正常
2.运行示例代码> da1469x_emwin_demo,设置激活> DA1469x-Debug_RAM
結果:出現错误
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eacbi / bin / ld.exe:emwin_demo.elf部分`.retention_ram_zi'不适合区域`RAM'
d:/diasemi/ smartsnippetstudio2.0.14 /gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: region ' RAM'溢出44852字节
Collect2.exe:错误:ld返回1退出状态
有尝试加载/ *包括内存布局* /
# include“bsp_memory_layout.h狀況仍相同
3. PXP_Reporter加入EMWIN_LIB
結果:加入後构建會出現
在构建过程中发生错误。
在项目“pxp_reporter”上运行构建器“CDT builder”时出错。
资源'/ pxp_reporter / da1469x-00-debug_qspi_suota / emwin_lib / gdi / src'不存在。
资源'/ pxp_reporter / da1469x-00-debug_qspi_suota / emwin_lib / gdi / src'不存在。
资源'/ pxp_reporter / da1469x-00-debug_qspi_suota / emwin_lib / gdi / src'不存在。
资源'/ pxp_reporter / da1469x-00-debug_qspi_suota / emwin_lib / gdi / src'不存在。
../segger/emwin/Doc/Training/WidgetLibrary/MainTask_CreatingWidgets.c:23:10: fatal error: DIALOG.h: No such file or directory .
#include“dialog.h”
^ ~~~~~~~~~
编译终止。
[1]: * * *(耐火/ emwin / Doc /培训/ WidgetLibrary /子目录。可:32:耐火/ emwin / Doc /培训/ WidgetLibrary / MainTask_CreatingWidgets。o]错误1
make: *** [makefile:78: all]错误2
"make——silent all"以退出码2结束。构建可能不完整。
4.示例代码的檔案路徑為:emwin_lib >耐火> enwin > doc這個在样本中是有出現一個刪除符號,pxp_reporter嘗試加入emwin_lib, enwin > doc則正常顯示,這個要如何處理呢?
期间您的
謝謝
你好郭,
我们的同事会直接通过电子邮件与您联系。
Br,
PW_Dialog
嗨pw_dialog
我的电子邮件
s59731142@gmail.com.
谢谢!
您好:目前使用emwin上使用GUI_GIF_GetInfo & GUI_GIF_Draw & GUI_PNG_Draw(有加入库)返回都並非為0都沒辦法使用,在使用gif檔前是否需要再加入其他設定吗?
2020/12/08目前发离因是给emwin的ram不起作用
#define gui_numbytes gdi_gui_heap_size.
#定义GDI_GUI_HEAP_SIZE (0 x2500) = >改為符合需求的大小EMWIN有寫如何計算
嗨PW_Dialog
目前目前没有收到邮件,再麻烦确认一下邮件收件人是拥有误
謝謝
2020/12/30
pxp_reporter加载emwin_lib.
加入後可以讓pxp_reporter原先功能可以正常運作
但使用emwin相关联时会出现出现
如下:
./ui/maintask.o:在function`mentask'中:
D: projects\ labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:625: undefined reference to ' GUI_Init'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / u-debug_qspi_suota / d debug_qspi_suota / ul ui / laveask.c:633:未定义引用“gui_setbkcolor”
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:634: undefined reference to ' GUI_Clear'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:640: undefined reference to ' gui_disdecat '
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:643: undefined reference to ' LCD_GetXSize'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / u-debug_qspi_suota / d debug_qspi_suota / ulasask.c:644:未定义引用“LCD_PTETSIZE”
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:646: undefined reference to ' GUI_MULTIBUF_Begin'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:648: undefined reference to ' GUI_MULTIBUF_End'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / u-debug_qspi_suota / ul ui / walitask.c:649:未定义引用“gui_delay”
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:670: undefined reference to ' gui_disdecat '
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / u-debug_qspi_suota / d debug_qspi_suota / ulasask.c:760:未定义引用“gui_multibuf_end”
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:658: undefined reference to ' GUI_Delay'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / u-debug_qspi_suota / ul ui / walitask.c:660:未定义引用“gui_clear”
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:661: undefined reference to ' GUI_MULTIBUF_Begin'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_suota / ul ui / walitask.c:666:未定义引用“GUI_DISPDECAT”
/ emwin_lib / gdi / png / GUI_PNG。o:在函数' GUI_PNG__GetData'中:
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:87:未定义引用“GUI__PFMEMCPY”
/ emwin_lib / gdi / png / GUI_PNG。o:在函数' _free_fn'中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:157: undefined reference to ' GUI_ALLOC_p2h'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:158: undefined reference to ' GUI_ALLOC_UnlockH'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:159:未定义的参考`gui_alloc_free'
/ emwin_lib / gdi / png / GUI_PNG。o:在函数' _malloc_fn'中:
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:132:未定义引用`gui_alloc_allocnoinit'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:134: undefined reference to ' GUI_ALLOC_LockH'
./emwin_lib/gdi/png/gui_png.o:在function` _draw'中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:363: undefined reference to ' GUI_ALLOC_AllocZero'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:364: undefined reference to ' GUI_ALLOC_AllocZero'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:500: undefined reference to ' GUI_ALLOC_Free'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:501: undefined reference to ' GUI_ALLOC_Free'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:366: undefined reference to ' GUI_ALLOC_LockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:367: undefined reference to ' GUI_ALLOC_LockH'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:368:未定义引用“gui_getbitspixelex”
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:373:未定义引用“GUI_GETPFINDEX2COLOREX”
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:374:未定义的参考“gui_getpfcolor2indexex”
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:382: undefined reference to ' WM__InitIVRSearch'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:423:未定义引用“wm_deactivate”
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ de1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:441:未定义引用“wm_activate”
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:436: undefined reference to ' GUI_ReadRectEx'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:437: undefined reference to ' GUI__ExpandPixelIndices'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:487: undefined reference to ' GUI__CompactPixelIndices'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:488: undefined reference to ' LCD_DrawBitmap'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:492: undefined reference to ' WM__GetNextIVR'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:497: undefined reference to ' GUI_ALLOC_UnlockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:498: undefined reference to ' GUI_ALLOC_UnlockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:260: undefined reference to ' GUI_pContext'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:260: undefined reference to ' GUI__apDevice'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:260:未定义引用“GUI__PFMixColors”
/ emwin_lib / gdi / png / GUI_PNG。o:在函数“GUI_PNG_DrawEx”中:
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:607:未定义引用“GUI_Alloc_Lock”
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:611: undefined reference to ' GUI_ALLOC_Unlock'
/ emwin_lib / gdi / png / GUI_PNG。o:在函数“GUI_PNG_Draw”中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:623: undefined reference to ' GUI_ALLOC_Lock'
D:\ project \ labar_transplanting \ sdk_10.0.10.118 \ projects \ dk_apps \ demos \ pxp_reporter \ de1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:627:未定义引用`gui_alloc_unlock'
Collect2.exe:错误:ld返回1退出状态
Make [1]: *** [makefile:72: pxp_reporter. txt . txt]精灵]错误1
制作:*** [makefile:63:全部]错误2
"make——silent all"以退出码2结束。构建可能不完整。
如果在图书馆路径加载
/ $ {projname} / emwin_lib / segger / libemwin / prease
库加入
emwin
包括> GNU C加入
/ $ {ProjName} / sdk / segger_tools /配置
$ {projname} / sdk / segger_tools / segger
/ $ {ProjName} / sdk / segger_tools / OS
出现出现下问题:
建筑目标:pxp_reporter.elf
调用:交叉臂C链接器
d: / diasemi / smartsnippetsstudio2.0.14 / gcc / 7 - 2018 q2 / bin / . . / lib / gcc / arm-none-eabi / 7.3.1 /../../../../ arm-none-eabi / bin / ld.exe: pxp_reporter。精灵节”。文本'不适用于区域' ROM'
d: / diasemi / smartsnippetsstudio2.0.14 / gcc / 7 - 2018 q2 / bin / . . / lib / gcc / arm-none-eabi / 7.3.1 /../../../../ arm-none-eabi / bin / ld.exe: pxp_reporter。精灵节”。cmi_section不适合RAM区域
d:/diasemi/ smartsnippetstudio2.0.14 /gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../ ../arm-none-eabi/bin/ld.exe: region ' ROM'溢出101624字节
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eacbi / bin / ld.exe:区域`RAM'溢出79736字节
Collect2.exe:错误:ld返回1退出状态
Make [1]: *** [makefile:72: pxp_reporter. txt . txt]精灵]错误1
制作:*** [makefile:63:全部]错误2
ROM'溢出101624字节
' RAM'溢出79736字节
罗跟内存都超過
請問要如何正常加入呢? 謝謝