Page MenuHomePhabricator

SST support for flash having 8 bytes minimum write access
Closed, ResolvedPublic

Description

SST works for flash with write access of 1 , 2 or 4 bytes.
For platform having 8 bytes write access, the SST does not work

Event Timeline

jamike created this task.Apr 4 2019, 5:36 AM
jamike added a comment.Apr 4 2019, 5:49 AM

https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/802/ is implementing the 8 bytes minimum write access.
As ConfigRegression.cmake uses by default a RAM_FS for SST , it can used to test this patch on any platform.
In flash_layout.h
#define SST_FLASH_PROGRAM_UNIT 8
For now, this patch is functional without encryption.
set (SST_ENCRYPTION OFF)

With https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/806/
Regression test is now passed with set (SST_ENCRYPTION ON)

jamike added a comment.Apr 9 2019, 9:14 AM

The two above commit are now merged in https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/802/ as requested in code review.
The regression test is passed.

jf549 closed this task as Resolved.Apr 18 2019, 1:10 PM
jf549 claimed this task.
jf549 triaged this task as Normal priority.
jf549 added a project: Restricted Project.