如何使用flash日志分区

⚠️
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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
vinio
Offline
Last seen:2 years 5 months ago
加入:2018-07-02 13:27
如何使用flash日志分区

Hi,

What is the purpose of the log partition in the partition table : NVMS_LOG_PART ? I haven't found any reference to it in the documentation.
Can it be used for debug , e.g. to retarget the printf to this partition ? I would like to debug the bootloader code and I'm wondering if I can redirect printf to it, or if any log files can be stored in it for later view.

Thanks,
Vince

Device:
MHv_Dialog
Offline
Last seen:2 months 3 weeks ago
工作人员
加入:2013-12-06 15:10
Hi Vince,

Hi Vince,

The NVMS_LOG_PART partition is for you to use however you desire. Please note that SDK 1.0.8 would assign this partition as cacheable (which would cause issues such as stale data in cache). This was fixed in SDK 1.0.10.

/MHv