We identified a potential bug with the generation of write_image scripts for SEC tool v7.
The installation directory for SEC Tool v7 varies on host computer. For Windows, it is:
Solved! Go to Solution.
Hi George,
I double check your use case and I confirm the bug. It is expected the tool will define SEC_INSTALL_BIN environment variable in manufacturing mode but it does not define it in version 7 nor in version 6. We will fix this for next version.
Sorry for inconvenience. As a workaround, you must update the environment variable in the write script manually.
Hi George,
thank you for the feedback. Actually, from your description, it is not clear, what exactly are you proposing.
The usage of the workspace or write script on different machine is described in user guide, chapter 5.1.4.2. Basically you must define your custom environment variable to use the script on different machine. This is also what SEC tool v7 does in manufacturing workspace.
Hope this helps
Hi Marek,
I read the user chapter that you described. Perhaps the issue then is when we generated a manufacturing package in Linux, and used the manufacturing package on Windows, it was unable to change ${SPT_INSTALL_BIN} to route the installation directory to the right location on the windows machine. When running the manufacturing tool in Windows, it would complain that it could not find directory '/opt/nxp/MCUX_Provi_v7/bin'
Hi George,
I double check your use case and I confirm the bug. It is expected the tool will define SEC_INSTALL_BIN environment variable in manufacturing mode but it does not define it in version 7 nor in version 6. We will fix this for next version.
Sorry for inconvenience. As a workaround, you must update the environment variable in the write script manually.