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.

SM320VC5421-EP: Programming device

Part Number: SM320VC5421-EP
Other Parts Discussed in Thread: CCSTUDIO

Which version of code composer studio supports the programming of the SM320VC5421-EP using a Blackhawk USB560 v2 System trace emulator?

  • Ideally running under Windows 10

  • Hello,

    You mentioned "programming". Are you trying to program external flash? Or are you simply referring to loading the program to RAM?

    Thanks

    ki

  • The sequence below lists the procedure that I am trying to reproduce. This was written for CCS version 3.1 (I have v3.3 as only one available) running on Windows XP, with a Spectrum Digital XDS510USB (I have a TI XDS510-USB2.0 as Spectrum not available). When I try to run I get an error 0x80002240/-1047 :-

    1. Software Installation:
    2. Install CCS 3.1 into C:\CCStudio_v3.1
    3. Install Spectrum Digital (SD) USB drivers.
    4. Run SdConfig.exe (in C:\CCStudio_v3.1\specdig\sdconfig; there is a shortcut on the desktop after previous step)
    5. Plug in emulator
    6. In left sidebar, find entry '510', and expand it.
    7. Click on 'Emu' in left sidebar. On right side, use the dropdown menu to select 'XDS510USB'
    8. Click 'Emulator->Test'. You should see output similar to the following:

    **Emulator Test **

    $$ EmuProductName=XDS510USB

    $$ EmuPortAddr=0x510

    $$ EmuPortMode=USB

    $$ ProductId=510

    $$ ProductVersion=84

    If it does not work you will see something like:

    XDS510-USB Emulator not connected/enumerated

    1. Click 'File->Save'
    2. Exit SDConfig
    3. Run Code Composer Setup (C:\CCStudio_v3.1\cc\bin\cc_setup.exe, should be in TI entry in Start Menu and on Desktop)
    4. In the middle section, go to the 'Create Board' tab, select 'SD510USB Emulator', and click '<<Add' at the bottom
    5. Create name for the board ("PROD", for example), leave the other options default, then click on 'Next>'
    6. Make sure that the Emulator I/O Port is 'USB Emulator address is 0x510, then click 'Finish'
    7. Select the system in the left side pane. In the middle pane, select 'TMS320C5400' and click '<< Add Multiple' at the bottom. Add 2 devices

    (because we're using a dual-core part)

    1. In the 'Processor Properties' dialog that comes up, change the processor names if you wish (or leave it as default).
    2. Choose the GEL files. \Bootloader DSP\gel\CLink_core1.gel for the first processor, and \Bootloader DSP \gel\CLink_core2.gel for the second.
    3. Leave 'Master/Slave' set to 'N/A'
    4. Save the configuration (File->Save), and exit
    5. When CCS starts, it should now be aware of the custom board that was just configured.
    6. Double click on Processor 1(‘TMS320C5400_0’) in this case
    7. Power on Board.
    8. Click on Debug->Connect. The following window should pop up:
    9. Go to Project->Open. Load file \Bootloader DSP\flashburn\build\FB_loader0.pjt
    10. Go to View->Registers->Peripheral
    11. In resulting view set the value of register GPIO to 0x20a.
    12. Go to View->Registers-> CPU Registers
    13. In resulting view, Set the value of register XF to 0, if it is not already that.
    14. In the same view, set the value of register OVLY to 1, if it is not already that.
    15. In the first CCS window that opened, double click on Processor 2.
    16. In window associated with processor 2, Debug->Connect. The following window should pop up:
    17. In window associated with processor 1, go to File->Load Program. Load file \Bootloader DSP\flashburn\build\Debug\FB_loader_header.out
    18. Go to Debug-> Go Main. The following window should pop up:
    19. In the new internal window, right click on the line that reads “while(1)” and click on Toggle Hardware Breakpoint
    20. Click Debug->Run
    21. In a similar way, click File->Load Program .And load file \Bootloader DSP\flashburn\build\Debug\FB_loader0.out.
    22. Click Debug->Run
    23. Again, File->Load Program. And load file \Bootloader DSP\flashburn\build\Debug\FB_loader1.out.
    24. Click File->Load Program. And load file \Bootloader DSP\flashburn\build\Debug\FB_bootstrap_header.out
    25. Click Debug ->Run
    26. Click File->Load Program. And load file \Bootloader DSP\flashburn\build\Debug\FB_bootstrap0.out
    27. Click Debug->Run
    28. Click Debug->Disconnect
    29. In window for processor 2, Debug ->Disconnect.
    30. Power off board. This completes bootloader uploading instructions.
  • I see several references to Flashburn, which was an old tool for programming external flash on older TI DSPs. 

    Looking at the Flashburn website it looks like there is a version that supports CCS version 4-6:

    https://teamsds.com/flashburn/

    Which version of code composer studio supports the programming of the SM320VC5421-EP using a Blackhawk USB560 v2 System trace emulator?

    CCS v5.5 is the last version of CCS to support C54x. It also has support the Blackhawk XDS560v2 debug probe. That is likely your best bet.

    https://www.ti.com/tool/download/CCSTUDIO/5.5.0.00077

    While the latest version of Windows supported by the version is Windows 7, I have successfully used it with WIndows 10.

    Thanks

    ki