⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
13 posts / 0 new
Last post
本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
DSPS size

Hi Dialog support team,

DA14580可以拥有42kb公司。
我下载了DSP 1458x,在构建之后(SPS_DEVICE_580.HEX),它是49KB,我认为49KB DA14580没有足够的空间。

但在https://support.dialog-semiconductor.com/connectivity/product/da14580?qt...
应用程序图像的内存大小:15千字节(对于DSP,内存大小为15KB)

What on earth the firmware is for dsps example?
如果15kbytes,则可以使用DA14580。
If 49Kb, then Da14580 can not be used.

非常感谢.

设备:
PM_Dialog
Offline
Last seen:6 days 6 hours ago
Staff
Joined:2018-02-08 11:03
嗨Benjamindu,

嗨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

本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Hi dialog support team,

Hi dialog support team,

我正在使用Keil UV5来构建固件,如果我设置优化-O0,内置固件SPS_DEVICE_580.HEX(您的二进制映像是什么?)是77KB,如果我使用-O3固件sps_device_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

附件是

本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Hi dialog support team,

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...
compling user_buffer.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.
未创建的目标

非常感谢

本杰明

本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Hi dialog support team,

Hi dialog support team,

您是否使用命令行来构建固件?

If yes, as I never used commandline to build,can you help to give an example ?

谢谢

本杰明

PM_Dialog
Offline
Last seen:6 days 6 hours ago
Staff
Joined:2018-02-08 11:03
I am using the sps_device

我正在使用DSP参考设计的SPS_DEVICE项目,因为它在我们的支持网站上(版本DA1458x_DSPS_V_5.150.2),但我无法复制您的问题。请检查附图。在O3优化中,代码大小约为16KB,在O0优化中,代码大小约为25KB。我没有使用命令行界面以构建DSP项目。我正在使用Keil IDE 5.26.2.0版。如果您在Keil环境中做过任何修改,请您告诉我吗?请检查附件以查看我正在使用的配置。此外,您能否再下载它并尝试构建DSPS项目?

谢谢, PM_Dialog

Attachment:
本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Dear 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)设置?在我的计算机 - (右键单击)--Property-Advanced System Seetings-Environments变量中,您是否对用户变量或系统变量有任何特殊设置?

谢谢
本杰明4月23日

PM_Dialog
Offline
Last seen:6 days 6 hours ago
Staff
Joined:2018-02-08 11:03
嗨Benjamindu,

嗨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

本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Hi 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.

本杰明

本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Hi Dialog,

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.

谢谢

本杰明.

Attachment:
本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Hi dialog,

Hi dialog,

您是否设置了跨模块优化?

If I do not set it , the firmware is big.

本杰明

本杰明Du
Offline
Last seen:1 month 3 weeks ago
Joined:2016-03-14 02:38
Hi dialog,

Hi dialog,

您是否立即构建项目,没有任何设置,并且您的固件少于42 kB?

谢谢

本杰明

PM_Dialog
Offline
Last seen:6 days 6 hours ago
Staff
Joined:2018-02-08 11:03
嗨Benjamindu,

嗨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