AnsweredAssumed Answered

Two versions of fsl_dcp.c/.h in SDK -- which one is official?

Question asked by Stephen Schwartz-Fenwick on Jun 25, 2019
Latest reply on Jun 25, 2019 by jeremyzhou

Hello,

 

It seems there are two versions of the file fsl_dcp.c and fsl_dcp.h in the SDK. Specifically I am looking at:

 

SDK_2.6.0_MIMXRT1052xxxxB https://mcuxpresso.nxp.com/en/dashboard?uvid=182709&to_vault=true

Build Date: 2019-06-25, Device: MIMXRT1052xxxxB

OS: Windows, Toolchain: MCUXpresso IDE

SDK Version: 2.6.0 (2019-06-14)

 

1) "Copyright 2017 NXP"

devices\MIMXRT1052\drivers\fsl_dcp.c

 

2) "Copyright 2016-2018 NXP" 

 

middleware\mcu-boot\src\drivers\dcp\fsl_dcp.c

 

The problem with the later version found in the middleware directory is that, even though it is a later version, it is missing all of the DCP_HASH_ functions present in the 2017 version of fsl_dcp.c. The later version also has a different API. Is there a version of fsl_dcp.c available based off of the 2018 version which has the hash functions in them? If not, can someone explain why there are two versions?

 

Thanks so much!

Steve Schwartz-Fenwick

Outcomes