嗨,团队,
Recently, I am suffering from binary size issue in DA1469x.
Before considering increase 512KB limit described inhttp://lpccs-docs.dialog-semiconductor.com/tutorial_da1469x_supporting_fw_images_bigger_than_512kb/index.html, I noticed that dg_configQSPI_CODE_SIZE_AA is set to 370KB, but some examples modify this value to increase binary size.
In the commentation, it says "take into account CMI firmware".
What is the CMI firmware, and what is the maximum value I can safely increase of?
Device:
Good idea, i like it Very much
FMS RC JET
Hi firebird,
This is the CMAC code, so you should take it into account when defining the dg_configQSPI_CODE_SIZE_AA. By default, the SDK expects that the FW image size is 512 KB. However, if an application image of different size is to be supported, the dg_configQSPI_CODE_SIZE_AA macro in bsp_memory_defaults.h should be changed accordingly. Please follow step by step this tutorial and you should be able to support FW images bigger than 512MB.
Thanks, PM_Dialog
I still cannot fully understand about CMAC code.
1. When I am building application based on normal examples in SDK, CMAC code is built together, or not?
2. If CMAC code is not built together, can I use up to maximum 504KB(=NVMS_FIRMWARE_PART_SIZE)?
Hi firebird,
小脑模型代码included as library in the QSPI build, so that the maximum code size is: IMAGE_PARTITION_SIZE - 0x2000 (reserved for the primary and backup product headers) - 0x400 (reserved for the image header).
Thanks, PM_Dialog