Part Number: LAUNCHCC3220MODASF
hi all, I'm setting up a production fixture to program my CC3220MODFS using uniflash. This is using a bash script under ubuntu linux.
I issue the following command:
> ./SLImageCreator project program --name working_project
Everything seems ok until the end:
fs_programming error: ret: -10341, ex_err: 2633 - FS_ERR_FILE_NOT_EXISTS
Here are my steps:
I clone my project from one I created in uniflash:
> ./SLImageCreator project clone --overwrite --name CC3220SF_03-19-2019 --new working_project
I then add my cert:
> ./SLImageCreator project add_file --name working_project --fs_path certificate-SHA2.pem --file certificate-SHA2.pem
I added the FW code signing cert via:
> ./SLImageCreator project add_file --name working_project --file my_fw_image.bin --mcu --priv my_fw.key --cert certificate-SHA2.pem
When I open the project in uniflash GUI, and I look at the properties of the mcu image, I see that the "Certification File Name" dropdown is empty (although the certificate-SHA2.pem file is present under user files). If I select it from the dropdown, then try to program, I then get:
-10287, ex_err: 2633 - FS_ERR_ROOT_CA_IS_UNKNOWN
Which I assume I'm getting the FS_ERR_ROOT_CA_IS_UNKNOWN since I don't have the CA cert included in my certificate-SHA2.pem file, yet. But this tells me that the cert isn't getting associated with the mcu image in my add-file --mcu command, above.
*** my question is this: how do I associate the cert to the mcu image via uniflash CLI?
Thanks,
Chris
> ./SLImageCreator project add_file --name working_project --file /home/houseoffire/Dropbox/wifi_100-00746_1/scripts/../hof/wifire_proto.bin --mcu --priv /home/houseoffire/Dropbox/wifi_100-00746_1/scripts/../hof/wifire_fw.key --cert /home/houseoffire/Dropbox/wifi_100-00746_1/scripts/../hof/b8348c13d8b350f3-SHA2.pem