跳到主要内容

da14699 pxp_reporter包括emwin_lib

4个月前

da14699 pxp_reporter包括emwin_lib

Posted bykuo410060 points 18回复
0 upvotes

Hi dialog

I use da14699 have some question.

I have a case it using the smaple code pxp_reporter and emwin,but when I mix the code have some problem.

How to include the emwin_lib in pxp_reporter?
I need to use ble adv, ble_custom_service,SUOTA, LCDC(EMWIN) and PNG .

I try to include emwin in pxp_reporter ,the pxp_reporter ble function can be use ,but when I use EMWIN compler have error messagge :
/ui/maintask.o:在function`mentask'中:
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:625: undefined reference to `GUI_Init'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:633: undefined reference to `GUI_SetBkColor'
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 / walitask.c:634:未定义引用“gui_clear”
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:640: undefined reference to `GUI_DispDecAt'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\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: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\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 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:648: undefined reference to `GUI_MULTIBUF_End'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:649: 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 / u-debug_qspi_suota / ulasask.c:670:未定义引用“gui_dispdecat”
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 \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / u-debug_qspi_suota / ul ui / laveask.c:658:未定义引用“gui_delay”
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:660: undefined reference to `GUI_Clear'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\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:in函数`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: In function `_free_fn':
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:157: undefined reference to `GUI_ALLOC_p2h'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:158: undefined reference to `GUI_ALLOC_UnlockH'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:159: undefined reference to `GUI_ALLOC_Free'
./emwin_lib/gdi/png/GUI_PNG.o: In function `_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 \专业项目jects\dk_apps\demos\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: In function `_Draw':
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:363:未定义引用“GUI_Alloc_alloczero”
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:364: undefined reference to `GUI_ALLOC_AllocZero'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:500: undefined reference to `GUI_ALLOC_Free'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\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 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:366: undefined reference to `GUI_ALLOC_LockH'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:367: undefined reference to `GUI_ALLOC_LockH'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:368: undefined reference to `GUI_GetBitsPerPixelEx'
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: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:374: undefined reference to `GUI_GetpfColor2IndexEx'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:382: undefined reference to `WM__InitIVRSearch'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:423: undefined reference to `WM_Deactivate'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:441: undefined reference to `WM_Activate'
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:436:未定义引用“gui_readrectex”
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:437: undefined reference to `GUI__ExpandPixelIndices'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\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 \专业项目jects\dk_apps\demos\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 \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:492:未定义引用“WM__GETNEXTIVR”
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\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 \ demos \ pxp_reporter \ da1469x-00-debug_qspi_suota / d debug_qspi_lib / gdi / png / gui_png.c:498:未定义引用“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:260:未定义的参考“GUI_PContext”
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\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: In function `GUI_PNG_DrawEx':
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:607: undefined reference to `GUI_ALLOC_Lock'
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:611:未定义引用“gui_alloc_unlock”
./emwin_lib/gdi/gdi/gui_png.o:in函数`gui_png_draw':
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:623: undefined reference to `GUI_ALLOC_Lock'
D: \ \ labar_transplanting \ SDK_10.0.10.118 \专业项目jects\dk_apps\demos\pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:627: undefined reference to `GUI_ALLOC_Unlock'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:72: pxp_reporter.elf] Error 1
make: *** [makefile:63: all] Error 2
"make --silent all" terminated with exit code 2. Build might be incomplete.

If Library paths add
/${ProjName}/emwin_lib/segger/libemwin/Release
图书馆补充说
emwin
include > GNU C add
/${ProjName}/sdk/segger_tools/Config
$ {projname} / sdk / segger_tools / segger
/${ProjName}/sdk/segger_tools/OS

the error message :
建筑目标:pxp_reporter.elf
调用:交叉臂C链接器
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eabi/bin/ld.exe: pxp_reporter.elf section `.text' will not fit in region `ROM'
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eacbi / bin / ld.exe:pxp_reporter.elf部分`.cmi_section'不适合区域`RAM'
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eacbi / bin / ld.exe:区域`ROM'溢出101624字节
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eabi/bin/ld.exe: region `RAM' overflowed by 79736 bytes
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:72: pxp_reporter.elf] Error 1
make: *** [makefile:63: all] Error 2

device :
DA1469x PRO kit + DA14699 daughterboard
LCD 80 * 160 LCD控制器:ST7735S
SDK : SDK_10.0.10.118
smartsnippetsstudio2.0.14.1748

Thanks

附件 尺寸
EMWIN設定.pdf 697.29 KB

4个月前

ren0zhe 0 points

我觉得是遇到了相同的。我想把套子的东西移植到我的工程里。自然的工程有emwin太麻烦.mark一下,看下怎么解决的

4个月前

kuo41006 0 points

我被这个问题卡住了许久,如果emwin-lib不夹合并到码中,案子无法继续进行,希望希望可帮忙解决

4个月前

ren0zhe 0 points

我之后把emwin的演示移植到ble的演示里面了,也是卡望起好久,官方针找到教程,你看没附件找到教,你看懂。而是emwin和蓝牙栈都是基因。一个库的,都的,都的,把文件移植过来之后,还要在ide里面加盖emwin库,以及库的路径。

附件 尺寸
在工程配置里面修改 377.74 KB.

4个月前

kuo41006 0 points

谢谢!,但是這個我也有試過,但是修改完加入emwin後 ram 跟 rom就會 overflowed

裡面就只有

gui_init();

gui_dispdecat();

還是會出現

D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eabi/bin/ld.exe: pxp_reporter.elf section `.text' will not fit in region `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.elf section `.cmi_section' will not fit in region `RAM' d:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: region `ROM' overflowed by 22124 bytes d:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 60136 bytes

4个月前

ren0zhe 0 points

那就是ram和rom都超了。我现在程序固件的空间设置为2M了,之前默认是512K。ram的话,我也是自带的512k超了,我用了外置的ram,把lcd那里全设置成外置ram了。因为协议栈占了100多k的ram。然后emwin那里,如果用解码库的话,也占得多,你先调整下用的空间吧,不行就外扩吧

4个月前

kuo41006 0 points

好的,不過我在猜是不是有哪些地方沒有改好才會造成這個狀況

如果要外擴,或許只能考慮放棄EMWIN自己使用SPI來寫螢幕驅動,PNG問題在另外想辦法了
同时等待原厂的回覆!

感謝你!

4个月前

ren0zhe 0 points

ram简单,你把emwin那里就显示一行字,把自己的程序先注释。看看情况

4个月前

kuo41006 0 points

請問一下 RAM ROM 目前使用量要從哪邊查看?

我測試只要加入GUI_Init(); 就會 RAM ROM overflow

4个月前

ren0zhe 0 points

哦哦。就是你编译完这个工程,不是新建了一个文件夹吗?就是你生成的bin文件的那个文件夹,里面有一个map文件,就是地址分配情况,看这个就行

4个月前

ren0zhe 0 points

找不到的话,可以加我微信,这个传图太麻烦了,我现在是想把现有的工程加上ota,和你差不多的问题。把emwin和蓝牙协议栈移植到ota感觉更麻烦

4个月前

kuo41006 0 points

我有找到.map文件,是這個沒錯吧!

資料位置在編譯專案裡面,我的位置是在:
\ pxp_reporter \ da1469x-00-debug_qspi_suota

但我只有看到Memory Configuration

名称原点长度属性
ROM 0x00000000 0x0005c800 xr
RAM 0x20000200 0x0007fe00 rw
*default* 0x00000000 0xffffffff

哪邊可以看到統計資訊呢? 謝謝

好啊,互相加个诚信,如果如果方向有效,或许可互相讨论一下,或跟您请教

谢谢!

4个月前

PM_DIALOG.

嗨Kuo41006,

谢谢你的问题。你是否检查了documentation from the emWin support page?

Except from theDA1469x emWin library, there is aDA1469x emWin demonstrationexample too.

谢谢,PM_DIALOG.

4个月前

kuo41006 0 points

嗨pm_dialog,

是的,我使用da1469x emwin演示示例并转到emwin下载PNG数据包。
It can be use,the png can be draw into LCD ?.
But now i need to mix the code with emWin demonstration example and pxp_reporter.?
I don’t know which setting is wrong in pxp_reporter .
I use pxp_reporter add the emwin_lib and add emWin demonstration example qspi setting.
The pxp_reporter properties setting was in the EMWIN設定.pdf

BLE function can be use.
但是当我使用emwin函数编译器时有错误消息。

If Library paths add
/${ProjName}/emwin_lib/segger/libemwin/Release
图书馆补充说
emwin
include > GNU C add
/${ProjName}/sdk/segger_tools/Config
$ {projname} / sdk / segger_tools / segger
/${ProjName}/sdk/segger_tools/OS

the error message :
建筑目标:pxp_reporter.elf
调用:交叉臂C链接器
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eabi/bin/ld.exe: pxp_reporter.elf section `.text' will not fit in region `ROM'
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eacbi / bin / ld.exe:pxp_reporter.elf部分`.cmi_section'不适合区域`RAM'
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eacbi / bin / ld.exe:区域`ROM'溢出101624字节
D:/diasemi/smartsnippetsstudio2.0.14/gcc/7-2018-q2/bin /../ lib / gcc / arm-none-eacbi / 7.3.1 / ../../../../手臂 -none-eabi/bin/ld.exe: region `RAM' overflowed by 79736 bytes
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:72: pxp_reporter.elf] Error 1
make: *** [makefile:63: all] Error 2

RAM ROM将溢出

custom_config_qspi_suota.h

/ ** **************************************************************************************** * * @file custom_config_qspi_suota.h * *@brief董事会支持包。用于缓存的QSPI模式的用户配置文件。* *版权所有(c)2015-2019对话半导体。yabo国际娱乐*此计算机程序包括对话半导体的机密,专有信息*。yabo国际娱乐版权所有。* ****************************************************************************************************** * / #ifndef custom_config_qspi_suota_h_ #define custom_config_qspi_suota_h_ #include“bsp_definitions.h“#define config_use_ble / ************************************************************************************************* \ *系统配置* /#定义dg_configUSE_LP_CLK(LP_CLK_32768)的#define dg_configEXEC_MODE(MODE_IS_CACHED)的#define dg_configCODE_LOCATION(NON_VOLATILE_IS_FLASH)的#define dg_configIMAGE_SETUP(DEVELOPMENT_MODE)的#define dg_configUSE_WDOG(1)的#define dg_configFLASH_CONNECTED_TO(FLASH_CONNECTED_TO_1V8)的#define dg_configFLASH_POWER_DOWN ( 0 ) #define dg_configPOWER_1V8_ACTIVE ( 1 ) #define dg_configPOWER_1V8_SLEEP ( 1 ) /* Uncomment the following line to enable State-of-Charge debugging or performance test */ //#define DEBUG_SOC #if defined(DEBUG_SOC) #define CONFIG_RETARGET #endif #define dg_configUSE_SYS_CHARGER ( 1 ) #define dg_configUSE_SW_CURSOR ( 1 ) #define dg_configENABLE_CMAC_DEBUGGER ( 0 ) #define dg_configCACHEABLE_QSPI_AREA_LEN ( NVMS_PARAM_PART_start - MEMORY_QSPIF_BASE ) #define USE_PARTITION_TABLE_4MB_WITH_SUOTA /*************************************************************************************************\ * FreeRTOS configuration */ #define OS_FREERTOS /* Define this to use FreeRTOS */ #define SUOTA_HEAP_OVERHEAD ( 4096 ) /* Heap overhead while SUOTA is ongoing */ #define configTOTAL_HEAP_SIZE ( 18256 + SUOTA_HEAP_OVERHEAD ) /* FreeRTOS Total Heap Size */ //#define configTOTAL_HEAP_SIZE ( 30000 ) /* FreeRTOS Total Heap Size */ /*************************************************************************************************\ * Peripherals configuration */ #define dg_configUSE_HW_QSPI2 ( 0 ) #define dg_configLCDC_ADAPTER ( 1 ) #define dg_configUSE_HW_LCDC ( 1 ) #define dg_configI2C_ADAPTER ( 1 ) #define dg_configUSE_HW_I2C ( 1 ) #define dg_configFLASH_ADAPTER ( 1 ) #define dg_configNVMS_ADAPTER ( 1 ) #define dg_configNVMS_VES ( 1 ) #define dg_configNVPARAM_ADAPTER ( 1 ) #define dg_configNVPARAM_APP_AREA ( 1 ) #define dg_configGPADC_ADAPTER ( 1 ) #define dg_configUSE_HW_SENSOR_NODE ( 1 ) #define dg_configUSE_SNC_HW_GPADC ( 1 ) #define dg_configSNC_ADAPTER ( 1 ) /*************************************************************************************************\ * Display model selection. Note that one display model can be selected at a time. */ #define dg_configUSE_DT280QV10CT ( 0 ) #define dg_configUSE_HM80160A090 ( 1 ) #define dg_configUSE_LPM012M134B ( 0 ) #define dg_configUSE_LPM013M091A ( 0 ) #define dg_configUSE_NHD43480272EFASXN ( 0 ) #define dg_configUSE_MCT024L6W240320PML ( 0 ) #define dg_configUSE_PSP27801 ( 0 ) #define dg_configUSE_E1394AA65A ( 0 ) #define dg_configUSE_T1D3BP006 ( 0 ) #define dg_configUSE_T1D54BP002 ( 0 ) #define dg_configUSE_LS013B7DH06 ( 0 ) #define dg_configUSE_LS013B7DH03 ( 0 ) /*************************************************************************************************\ * Touch controller selection. Note that one touch driver can be selected at a time. */ #define dg_configUSE_FT6206 ( 0 ) #define dg_configUSE_FT5306 ( 0 ) /*************************************************************************************************\ * BLE configuration */ #define CONFIG_USE_BLE_SERVICES #define dg_configBLE_CENTRAL ( 0 ) #define dg_configBLE_GATT_CLIENT ( 0 ) #define dg_configBLE_OBSERVER ( 0 ) #define dg_configBLE_BROADCASTER ( 0 ) #define defaultBLE_ATT_DB_CONFIGURATION ( 0x10 ) // Peripheral Pref. Conn. Param. attribute #define defaultBLE_PPCP_INTERVAL_MIN ( BLE_CONN_INTERVAL_FROM_MS( 500 ) ) // 500 ms #define defaultBLE_PPCP_INTERVAL_MAX ( BLE_CONN_INTERVAL_FROM_MS( 750 ) ) // 750 ms #define defaultBLE_PPCP_SLAVE_LATENCY ( 0 ) // 0 events #define defaultBLE_PPCP_SUP_TIMEOUT ( BLE_SUPERVISION_TMO_FROM_MS( 6000 ) ) // 6000 ms /* Use dynamic list for BLE events instead of FreeRTOS queues */ #define BLE_MGR_USE_EVT_LIST ( 1 ) #define dg_configSUOTA_SUPPORT ( 1 ) /* * SUOTA loader configuration: * - To enable SUOTA over GATT only, set SUOTA_VERSION to any version >= SUOTA_VERSION_1_1 * and leave SUOTA_PSM undefined. * - To enable SUOTA over GATT and L2CAP CoC, set SUOTA_VERSION to any version >= SUOTA_VERSION_1_2 * and also define SUOTA_PSM to match the desired PSM. In this case the central device * can use either of both according to its preference. */ #define SUOTA_VERSION ( SUOTA_VERSION_1_3 ) #define SUOTA_PSM ( 0x81 ) #ifndef SUOTA_PSM #define dg_configBLE_L2CAP_COC ( 0 ) #endif /* Include bsp default values */ #include "bsp_defaults.h" /* Include middleware default values */ #include "middleware_defaults.h" #endif /* CUSTOM_CONFIG_QSPI_SUOTA_H_ */

4个月前

PM_DIALOG.

嗨Kuo41006,

我们已经从论坛和当地经销商离线了采取了这个问题。

The question has been already escalated internally and we are working on this.

谢谢,PM_DIALOG.

4个月前

hjhjlll 0 points

嗨Kuo41006,

Is the problem solved? I have the same problem as you.

4个月前

kuo41006 0 points

NO, It still has problems

4个月前

vindo 0 points

Hello,

我已经尝试了所有替代方法来解决这个问题。

已经看过太多了ome tvyoutubeandChatiw.videos online to solve this problem.

But still, I am not getting the final solution.

So please if anyone gets the solution the please share it with me.

3 months ago

PM_DIALOG.

大家好,

如果FW超过512KB,那么您应该按照DA1469x Supporting Images Bigger than 512kBtutorial. This tutorial aims to provide steps on how to support FW images of different sizes on the DA1469x. By default, both the SDK and chip configurations support running application images of up to 512 kB in size.

谢谢,PM_DIALOG.