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
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
From the application perspective, the fsl_dcp.c which resides in the directory: ~\devices\MIMXRT1052\drivers is official.
Only the bootloader demo will include the fsl_dcp.c which resides in the directory: ~\middleware\mcu-boot\src\drivers.
Hope this is clear.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------