hi there,
I use the routines in the SDK_10.0.8.105 \ projects \ dk_apps \ demos \ pxp_reporter directory to upgrade. But the program cannot run after the upgrade. I use the mobile application Dialog SUOTA to operate. The routine does not modify any code. Please give me some hints.
设备:
你好,
Please refer toUM-B-092:DA1469x软件平台参考手册and section 5.2. Software Upgrade Over The Air (SUOTA) in order to find detailed information regarding the SUOTA. Specifically, in section 5.2.4, you will find detailed steps for performing SUOTA upgrade using a mobile phone and the pxpx_reporter example of the SDK. Please make sure that you are following the correct steps.
Thanks, PM_Dialog
hi there,
I can use the partition table under SDK / 4M / suota / to upgrade. Since my image size is 950kb, I need to modify the partition table. After the modification of the partition table, the program cannot run, please give me some guidance. Below is my partition table code.
Normal partition table:
#define NVMS_PRODUCT_HEADER_PART_START 0x000000
#定义NVMS\产品\标题\零件\尺寸0x002000
#define NVMS_FW_EXEC_PART_START 0x002000 /* Alignment to 512KB is dictated by the default FLASH_REGION_SIZE. */
#定义NVMS\u FW\u EXEC\u PART\u SIZE 0x07E000
/*+------------512KB------------+*/
#定义NVMS\u GENERIC\u PART\u START 0x0E0000
#定义NVMS\通用\零件\尺寸0x020000
#define NVMS_PLATFORM_PARAMS_PART_START 0x100000
#define NVMS_PLATFORM_PARAMS_PART_SIZE 0x0FF000
#define NVMS_PARAM_PART_START 0x1FF000
#define NVMS_PARAM_PART_SIZE 0x001000 /* Recommended location, 4KB before the end of the 1st flash section. */
/* +------------------2MB---------------------+ */
#define NVMS\u FW\u UPDATE\u PART\u START 0x200000/*到512KB的对齐由默认的FLASH\u REGION\u大小决定*/
#define NVMS\u FW\u UPDATE\u PART\u SIZE 0x07E000/*此大小由默认(512KB)FLASH\u REGION\u大小决定*/
#define NVMS_LOG_PART_START 0x300000
#define NVMS_LOG_PART_SIZE 0x0FF000
#define NVMS_PARTITION_TABLE_START 0x3FF000
#define NVMS_PARTITION_TABLE_SIZE 0x001000 /* Recommended location, 4KB before the end of the flash. */
PARTITION2( NVMS_PRODUCT_HEADER_PART , 0 )
PARTITION2( NVMS_FW_EXEC_PART , 0 )
分区2(NVMS\u GENERIC\u PART,PARTITION\u FLAG\u VES)
分区2(NVMS\平台\参数\部分,分区\标志\只读)
PARTITION2( NVMS_PARAM_PART , 0 )
分区2(NVMS\u FW\u UPDATE\u PART,0)
PARTITION2( NVMS_LOG_PART , 0 )
PARTITION2( NVMS_PARTITION_TABLE , PARTITION_FLAG_READ_ONLY )
无法运行的分区表:
#define NVMS_PRODUCT_HEADER_PART_START 0x000000
#定义NVMS\产品\标题\零件\尺寸0x002000
#define NVMS_FW_EXEC_PART_START 0x002000 /* Alignment to 512KB is dictated by the default FLASH_REGION_SIZE. */
#define NVMS_FW_EXEC_PART_SIZE 0x100000
#define NVMS_GENERIC_PART_START 0x102000
#define NVMS_GENERIC_PART_SIZE 0x00F000
#define NVMS_PLATFORM_PARAMS_PART_START 0x111000
#定义NVMS\平台\参数\零件\尺寸0x002000
#定义NVMS\u PARAM\u PART\u START 0x113000
#define NVMS_PARAM_PART_SIZE 0x001000 /* Recommended location, 4KB before the end of the 1st flash section. */
#define NVMS_FW_UPDATE_PART_START 0x114000 /* Alignment to 512KB is dictated by the default FLASH_REGION_SIZE. */
#define NVMS_FW_UPDATE_PART_SIZE 0x100000 /* This size is dictated by the default (512KB) FLASH_REGION_SIZE. */
#define NVMS_LOG_PART_START 0x214000
#定义NVMS\日志\零件\尺寸0x00C000
#define NVMS_PARTITION_TABLE_START 0x220000
#define NVMS_PARTITION_TABLE_SIZE 0x001000 /* Recommended location, 4KB before the end of the flash. */
PARTITION2( NVMS_PRODUCT_HEADER_PART , 0 )
PARTITION2( NVMS_FW_EXEC_PART , 0 )
分区2(NVMS\u GENERIC\u PART,PARTITION\u FLAG\u VES)
分区2(NVMS\平台\参数\部分,分区\标志\只读)
PARTITION2( NVMS_PARAM_PART , 0 )
分区2(NVMS\u FW\u UPDATE\u PART,0)
PARTITION2( NVMS_LOG_PART , 0 )
PARTITION2( NVMS_PARTITION_TABLE , PARTITION_FLAG_READ_ONLY )
你好,
Can you please indicate the size of the firmware? Is it bigger than 512KB ?
Thanks, PM_Dialog
Hi there,
yes,my firmware has more than 900 KB.
你好,
默认情况下,SDK和芯片配置都支持运行大小高达512 kB的应用程序映像。因为你的固件是900KB,我建议你阅读DA1469x支持大于512kB的图像tutorial.
Thanks, PM_Dialog
Hi,There,
The current situation is that it can be started, but the program will not start after the upgrade, and I don't know the reason. My partition table is also posted on it, please help analyze the reason, thank you very much.
你好,
请澄清以下内容。您已经发布了两个不同的分区表。第一个是默认值,第二个是自定义值。两个分区表在软件更新后都不工作,对吗?另外,您的二进制图像约为900KB,这就是为什么您更改了执行和固件更新。你能指出我的理解是否正确吗?
Thanks, PM_Dialog
你好,
Yes, your understanding is correct. But why is there a situation where it cannot start after the upgrade?
你好,
As already mentioned in my previous comment, the DA1469x supports different sizes of FW. However, both the SDK and chip configurations support running application images of up to 512 kB in size. This is the default configuration. Since the FW before the SUOTA is bigger than 512KB, did you follow the tutorial in order to add support for FW up to 1MB? If the FW is bigger than 512KB, you should change the flash region size in the Configuration Script.
Thanks, PM_Dialog
Hi there,
Thank you for your reply,I have used SmartSnippets Toolbox to change FLASH_REGION_SIZE to 1MBytes, but still cannot start after upgrading.
Hi Changyong,
Can you confirm that you've followed all the steps ashttp://lpccs-docs.dialog-semiconductor.com/tutorial_da1469x_supporting_fw_images_bigger_than_512kb/Implementation.html
If yes please send the new partition file you modified to local supporter.
比尔,
PWU对话框