Other Parts Discussed in Thread: UNIFLASH, CC3135, CC31XXEMUBOOST, CC3220S, CC3220SF, CC3235S, CC3235SF
looking at the documentation in the uniflash_7.2.0 directory, specifically about auto-generating a CSR from the command line with the image creator and csr.exe tool (using the get_csr.bat script) - can this be used with the CC3135 via the CC31XXEMUBOOST platform?
The part options for the get_csr.bat script are:
I had a go with each, hoping that the CC3235S would still work just the same on the CC3135 but the script falls over when it gets to the point where it wants the board to be powered off, then on. I'm not sure if this just required the USB to the EMUBOOST to be disconnected (although that didn't work either - the script failed before I could even plug back in) or if it's looking for a USB to be connected directly to the CC3135 as well.
This would be very useful in being able to automate configuring a CC3135 board by generating, extracting and signing a CSR, with the signed cert to be loaded back on. I've attached the tail end of the get_csr output below. Currently I'm just using the defaults in the script, with the following paths configured:
rem Service Pack Name and Path
rem Certificate store list/signature and path
rem Certificates name, key and path
Non-encrypted files generated successfully. Finished successfully. INFO:root:COM PORT COM3 INFO:slbootloader.slbootloader:Connecting to device INFO:slbootloader.slbootloader:--- Please power off the device --- Press ENTER to continue INFO:slbootloader.slbootloader:Power off INFO:slbootloader.slbootloader:Set break signal INFO:slbootloader.slbootloader:--- Please power on the device --- INFO:slbootloader.slbootloader:Power on Traceback (most recent call last): File "<string>", line 5266, in <module> File "<string>", line 5262, in main File "<string>", line 5232, in cmdline File "<string>", line 4077, in command_project_program File "<string>", line 2706, in program_image_from_project File "<string>", line 1567, in connect_device File "W:\slbootloader\slbootloader.py", line 409, in connect_with_reset File "W:\slbootloader\slbootloader.py", line 271, in _expect_ack File "W:\slbootloader\slbootloader.py", line 302, in _read_data slbootloader.slbootloader.BootLoaderError: Error: SLImageCreator.exe: BootLoaderError, Timeout reading data SLImageCreator returned -1 sleep 10 reset device ERROR: Failed to connect to XDS110 (-260). Check USB connection to the XDS110. popd pushd c:\ti\uniflash_7.2.0\simplelink\imagecreator\csr\