您好:
目前在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板子上的重置後,畫面還是在同個地方,要完全拔除電源才有機會恢復,如附檔所示
LCD有尝试排除,SPI线太长与电源问题,状况仍然相同,TE不接,LCD不支援
动画为对话框标志与QR码交互显示
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/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -无-EABI / bin中/ ld.exe:区域`RAM”由44852个字节溢出
collect2.exe:错误:LD返回1个退出状态
有尝试加载/ *包括内存布局* /
#包括 “bsp_memory_layout.h” 状况仍相同
3. PXP_Reporter加入EMWIN_LIB
结果:加入后构建会出现
在构建过程中发生错误。
故障运行建设者“CDT生成器”项目“pxp_reporter”。
资源'/ 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:致命错误:DIALOG.h:没有这样的文件或目录
#include“dialog.h”
^ ~~~~~~~~~
汇编终止。
使[1]:*** [SEGGER / emWin的/文件/培训/ WidgetLibrary / subdir.mk:32:SEGGER / emWin的/文件/培训/ WidgetLibrary / MainTask_CreatingWidgets.o]错误1
使:*** [生成文件:78:所有]错误2
"make——silent all"以退出码2结束。构建可能不完整。
4.示例代码的檔案路徑為:emwin_lib >耐火> enwin > doc這個在样本中是有出現一個刪除符號,pxp_reporter嘗試加入emwin_lib, enwin > doc則正常顯示,這個要如何處理呢?
期间您的
謝謝
你好郭,
我们的同事会直接通过电子邮件联系。
布罗尔,
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有寫如何計算
HI 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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ UI / MainTask.c:640:未定义的引用`GUI_DispDecAt”
d:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ UI / MainTask.c:643:未定义的引用`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ UI / MainTask.c:648:未定义的引用`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ UI / MainTask.c:661:未定义的引用`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:134:未定义的引用`GUI_ALLOC_LockH”
./emwin_lib/gdi/png/gui_png.o:在function` _draw'中:
d:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:363:未定义参考`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:366:未定义的引用`GUI_ALLOC_LockH”
d:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:367:未定义的引用`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:382:未定义的引用`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:437:未定义的引用`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:488:未定义参考`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:497:未定义的引用`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:260:未定义参考`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:\项目\ labar_transplanting \ SDK_10.0.10.118 \项目\ dk_apps \演示\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA /../ emwin_lib / GDI / PNG / GUI_PNG.c:623:未定义的引用`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个退出状态
化妆[1]:*** [生成文件:72:pxp_reporter.elf]错误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个退出状态
化妆[1]:*** [生成文件:72:pxp_reporter.elf]错误1
制作:*** [makefile:63:全部]错误2
ROM”由101624个字节溢出
`RAM”由79736个字节溢出
罗跟内存都超過
请问要如何正常加入呢? 謝謝