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.

CCS/CC3220SF-LAUNCHXL: Cannot flash/run any code on CC3220SF-LAUNCHXL from CCS v8 due to missing FlashCC3220SF.dll error.

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF

Tool/software: Code Composer Studio

When using a brand new installation of Code Composer Studio v8 with all updates installed and CC32XX support installed on Windows 10 (1803), attempting to run any code on a CC3220SF-LaunchXL connected via direct USB to the device fails with the following output (in this case with the "network_terminal_CC3220SF_LAUNCHXL_tirtos_ccs" sample code):

"Cortex_M4_0: GEL Output:
Memory Map Initialization Complete
Cortex_M4_0: Error initializing flash programming: Failed to load C:\ti\ccsv8\ccs_base\DebugServer\bin\FlashCC3220SF.dll: The specified module could not be found.
 
Cortex_M4_0: GEL Output:
Target Reset
Cortex_M4_0: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.
Cortex_M4_0: File Loader: Verification failed: Values at address 0x010087F0 do not match Please verify target memory and memory map.
Cortex_M4_0: GEL: File: C:\Users\gourdcaptain\workspace_v8\network_terminal_CC3220SF_LAUNCHXL_tirtos_ccs\Debug\network_terminal_CC3220SF_LAUNCHXL_tirtos_ccs.out: a data verification error occurred, file load failed."

The cited DLL does in fact exist in the file system at this location. A web search found a suggestion to install the Microsoft Visual C++ 2010 Redistributable, which had no effect: e2e.ti.com/.../619455

  • Hi,

    Unfortunately I can't reproduce this issue here; flashing any code on both my Rev A or B launchpads do not show the DLL problem.

    At any rate, can you make sure the file is accessible or it was not corrupted? The file I have here has 25600 Bytes and an MD5 checksum of e0147e388f9a008d2fa1a2200dfebcd6

    Apart from this I can't necessarily pinpoint a root cause other than the missing MSVCRT dependencies - the one you mentioned can be found here in my system as well.

    I will try to find out additional details about this and get back to this thread.

    Hope this helps,
    Rafael
  • The file has a matching size and md5sum on my system. The MSVCRT dependency DLLs have been placed by the installer in C:\Windows\System32\ as expected.

  • Hi,

    In conversations with a colleague, he mentioned one additional idea: this .DLL (as well as CCS itself) are 32-bit applications. In this case, can you be sure that you installed the 32-bit version of the MSVCRT 2010? It seems so per your last reply, but I just want to be sure. 

    Despite the 32-bit Dependency Walker has some issues with more modern operating systems (details mentioned on this thread), it is still capable of figuring out if it can detect a few libraries. Can you try to run it and see if the output matches the working copy I have here? 

    (the TI-LOGGER.DLL issue can be ignored)

    I will try to find out additional possible issues - in the meantime, we are checking with the owners of this DLL to update it to a more modern MSVCRT version. 

    Regards,

    Rafael

  • It appears I did not have the 32-bit version of the redistributable installed - I just googled it and grabbed the first link off Microsoft's site when looking it up the first time. (I'm a Linux user 95%+ of the time, not used to dealing with these kinds of messes.) Anyway, thanks for the help. This probably needs either a more informative error message or to be handled by the installer though.

  • Hi,

    Thank you for reporting the outcome of this scenario; unfortunately these errors are usually masked through layers of interfaces and the original content is lost. I will communicate to the dev teams the need for a more accurate error message.

    Regards,
    Rafael