Hi Dialog support team,
Da14580可以有42Kb固件。
我下载了dsps1458x,在构建(sps\u device\u580.hex)之后,它是49Kb,我认为49kbda14580没有足够的空间。
但是在https://support.dialog-semiconductor.com/connectivity/product/da14580?qt...
应用程序映像的内存大小:15Kb(对于DSP,内存大小为15Kb)
What on earth the firmware is for dsps example?
如果是15KB,则可以使用Da14580。
If 49Kb, then Da14580 can not be used.
谢谢.
设备:
嗨BenjaminDu,
You are correct, in DA14580 you are not allowed to have firmware more than 42KB which is the size of System-RAM. But, could you please let me know if you are using the default DSPS project or if you have done any modifications? I am using the default sps_device project without any modifications and the size of the binary images in not more than 42KB. Specifically, when running the project in optimization level -o0, the size of the firmware is around 25KB. So, I am able to download it into the System-RAM and the DA14580 advertises correctly.
谢谢, PM_Dialog
Hi dialog support team,
我使用Keil uV5来构建固件,如果我设置优化-o0,构建的固件sps\u device\u 580.hex(你的二进制图像是什么?)是77Kb,如果我使用-o3,固件sps\u device\u 580.hex是52Kb,我无法获得25Kb甚至15Kb,正如上面链接所示。
你能看看附件吗,可能有优化的改进,看看缩小固件的尺寸?
Or you use other tool to build the firmware?
My DSPS version is DA1458x_DSPS_v_5.150.2, I tested ..DSPS_v_5.150.2\projects\target_apps\dsps\sps_device\Keil_5\sps_device.uvprojx, and I did not do any modification.
谢谢
Benajmin April 20th
附件是
Hi dialog support team,
如果我设置Use Cross-Module Optimization, I can't create .Hex, it is said I need to compile twice, but still can't created the firmware.
The output as following:
compiling user_spss_task.c...
正在编译用户缓冲区.c。。。
正在链接。。。
Program Size: Code=16152 RO-data=2420 RW-data=72 ZI-data=10200
".\out_580\sps_device_580.axf" - 0 Errors, 1 Warning(s).
***执行跨模块优化:
*** Feedback file '.\out_580\sps_device_580.fed' not found.
未创建目标
谢谢
本杰明
Hi dialog support team,
您是否使用命令行构建固件?
If yes, as I never used commandline to build,can you help to give an example ?
谢谢
本杰明
我正在使用DSPS参考设计的sps\设备项目,因为它在我们的支持网站(版本DA1458x\ DSPS\ v\ U 5.150.2)上,但我无法复制您的问题。请检查所附图片。在O3优化中,代码大小约为16KB,而在O0优化中,代码大小约为25KB。我没有使用命令行界面来构建DSPS项目。我正在开发keilide5.26.2.0版本。你能告诉我你是否对Keil环境做了任何修改吗?请检查附件以查看我正在使用的配置。另外,你能再次下载它并尝试构建DSPS项目吗?
谢谢, PM_Dialog
Dear Dialog,
I checked the images, the settings are the same.(In the target tab, I also set Use Cross-Module Optimization )
My Keil IDE version is 5.1x, I will update to version 5.26.2.0 if everything is done while still can not solve the problem.
About Keil modification, I installed ARM.CMSIS.5.1.1.pack, I wonder if the pack is the reason why I can not build .Hex.
Yesterday I tried to build a project with SDK 3.x, and I succeeded even if I set Use Cross-Module Optimization , is there any difference between SDK3.x and SDK5.x that can be the reason?
I downloaded DSPS again and still can not build .Hex if I set Use Cross-Module Optimization in the target tab.(I can build without set Use Cross-Module Optimization,but the firmware is bigger than 42Kb)
可能是Windows(Win7)设置?在mycomputer-(右键单击)-property advanced system seetings Environment Variables中,您对用户变量或系统变量有任何特殊设置吗?
谢谢
本杰明4月23日
嗨BenjaminDu,
I would not recommend you to use the SDK3 because it is very old version of SDK and it is not currently supported. Your problem is very weird, and I am not able to replicate it. Could you please try to download again the latest DSPS version and then try to re-install the Keil tool? Are you using any of our development boards? I suppose that your issue is not related with any windows settings.
谢谢, PM_Dialog
Hi dialog,
把我的项目从SDK3.x转移到SDK5.x,我就不回去了,我只是想有不同的尝试比较一下。
Can you please tell me the difference between 3.x and 5.x that might come to the different compile result?
I downloaded DSPS again, but the result is the same.
本杰明
Hi Dialog,
The newly downloaded project can't be compiled successfully if I setUse Cross-Module Optimizationin the Target tab. I need to change the Misc controls in the Linker tab from --feedback=".unused.txt" to --feedback=".\out_580\sps_device_580.fed", and it can be compiled.but still the .HEX is big than expected.
Can you help to have a look of all the settings in the attached. and compare with yours to find out the difference?
Or can you help to give your seetings to me for me to compare?
maybe the reason is in the settings.
谢谢
本杰明.
Hi dialog,
是否设置使用跨模块优化?
If I do not set it , the firmware is big.
本杰明
Hi dialog,
您是否立即构建项目而不进行任何设置,并且固件小于42KB?
谢谢
本杰明
嗨BenjaminDu,
Apologies but I am still unable to replicate your issue and I am using the DSPS projects as it is in our support website without any modification. Could you please share me a screenshot showing the size of the firmware? Are you able to download the DSPS firmware into the System-RAM?
谢谢, PM_Dialog