Hello NXP team,
I am using bare KW45 bare MCU and for enabling Radio core for flashing NBU image and Cm33 image I referred AN14003 Rev. 1.1 but I have some queries with respect to function mentioned in the document .
1.Function JiaTest_Set_LifeCycleAndKeys_Secure use program the fuse but in the definition of the function there is no reference present for the specific variable which is &TestContextForWriteLC , how to succesfully build the project if reference is not present and why reference is not present for the specific variable.
2. I have noticed there is no #if defined in specific part but # endif is present.
NOTE you can find reference of the function in page number 11 and 12 of the document.
with regards
Chetan
I think NXP missed the to update the particular variable &TestContextForWriteLC in the document I am sharing the snippet where you missed and I am referring AN14003 with Rev. 1.1 — 14 June 2024 you should initialize the variable where I have highlighted.
You can compare your both application note AN14003 with Rev. 1.1 and AN14003 with Rev. 1.0 you will identify the issue and please address the extra #endif you mentioned and I mentioned above.
with regards
Chetan
Hello Chetan,
The initialization for the context is shown in figure 9 chapter 5.2.1 before the SB3KDK and RoTKTH keys.
You can enter context name: nboot_context_t TestContextForWriteLC; for example.
This is something every customer would need to implement by their side with his own context name.
Best Regards
Luis