This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UNIFLASH: CC3220SF-LAUNCHXL - Using CLI commands (dslite ) multiple threads

Part Number: UNIFLASH
Other Parts Discussed in Thread: CC3220SF,

Hello,

The current configuration that we are using is as follows:

  • Two LaunchPad CC3220 connected to a single PC
  • Each programmer will be used to program a CC3220SF device
  • It will be done by CLI command
  • We install two instances of Uniflash tool
  • The first one at default directory C:\ti\uniflash_5.0.0
  • Second one at C:\TexasInstruments\uniflash_5.0.0

 

  • Case one the device will program with a Uniflash previously created (CLIBoardE007) with the following CLI command:
  • At directory C:\ti\uniflash_5.0.0
  • dslite --mode cc32xx project program --name CLIBoardE007 --dev --port COM20
    • At directory C:\TexasInstruments\uniflash_5.0.0
    • dslite --mode cc32xx project program --name CLIBoardE007 --dev --port COM23
    • This the error message it get:

Traceback (most recent call last):
File "<string>", line 4586, in <module>
File "<string>", line 4582, in main
File "<string>", line 4554, in cmdline
File "<string>", line 3694, in command_project_program
File "<string>", line 2310, in create_image_from_project
slimagecreatorglobals.SLImageCreatorError: Image creation failure: Traceback (most recent call last):
File "BuildProgrammingImage.py", line 2606, in <module>
File "BuildProgrammingImage.py", line 2597, in main
File "BuildProgrammingImage.py", line 2401, in createOutputFiles
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Troubleshooting\\.SLImageCreator\\projects\\CLIBoardE007\\sl_image\\Output/Programming.NotAligned.ucf'

SLImageCreator returned -1

 

  • Second case the device will be program with  .sli  image file with the following CLI command:
  • dslite --mode cc32xx image program --file C:\Firmware\CC3220_WiFi_Provision\ProvisioningFW\Spectrum_WiFi_PROV_EFB_00_02_64_27.sli --port COM20

 

    • dslite --mode cc32xx image program --file C:\Firmware\CC3220_WiFi_Provision\ProvisioningFW\Spectrum_WiFi_PROV_EFB_00_02_64_27.sli --port COM23
    • This the error message i get

T

Traceback (most recent call last):
File "<string>", line 4586, in <module>
File "<string>", line 4582, in main
File "<string>", line 4554, in cmdline
File "<string>", line 3695, in command_project_program
File "<string>", line 2386, in program_image_from_project
File "<string>", line 2527, in program_image
File "W:\slbootloader\slbootloader.py", line 790, in fs_programming
slbootloader.slbootloader.BootLoaderError: fs_programming error: ret: -10246, ex_err: 3068 - FS_DEVELOPMENT_BOARD_WRONG_MAC
SLImageCreator returned -1

  • COM20 & COM23 are the ones detected as XDS110 Class Application/User UART

 

At this moment we were able to program in parallel the second case, an image program method.

But in the case of the project program it fails.

With both boards connected to the PC we can program each one separately.

Once we try to run them at the same time both fails.

 

I will appreciate your help!

Saludos,

Andres

  • Hi Andres,

    You don't need to use two instances of the uniflash.

    You can run dslite from two CMD windows in parallel.

    However you can't use the same ImageCreator project (e.g.. "--name CLIBoardE007")  simultaneously by the 2 (programming) processes.

    Make a duplication of the project (e.g. CLIBoardE007_1) and use it as parameter for one of the dslite commands.

    br,

    Kobi