Site Index
Support Home
Emulators Home
C2000 Drivers
C3x/C4x Drivers
C5000 Drivers
C6000 Drivers
OMAP Drivers
Utilities
Ordering Info.
Emulator Site Support Site Main Site
### SDFlash Trouble Shooting Introduction This is a list of solutions to potential failures when using the SDflash Utiliy. At this point you should have the most recent SDFlash revision installed and the proper flashing algorithms for the DSP you are using should be unzipped in to your SDFlash\myprojects folder. Prior to using the SDFlash, the SDConfig utility must successfully run and verify connection to your emulator and target DSP board. The SDConfig can be launched via the 'SDConfig' icon on your Windows desktop. If you need help with the SDConfig, please refer to the SDConfig.htm file included in your SDConfig directory. It is recommended you begin by using one of the example projects included with the flashing algorithms associated with the DSP you are using. Before Attempting to erase or program the flash, check the Project Settings of the flash project you are using. The project settings can be viewed by clicking the 'Project' menu, then click 'Settings'. Verify that each field that requires a directory path points to the location where that file is actually located. The fields that require directory paths in the Project Settings Window are:
Target Tab: | Erase Tab: | Programming Tab: | Verify Tab:
-Driver | -Algorithm File | -Algorithm File | -Algorithm File
-Board File |  | -Flash Data File
If you have installed the SDFlash and Algorthms in a directory diffrent from the default installation directory, the directory paths in the Project Settings will need to be changed. FAQ Click on one of the following topics: 1.1 DSP Reset Fails 1.2 Error Message: 'File Does Not Esist' or 'Load file failed' 1.3 The SDFlash 'RESET' is successful, but 'erase', 'program', and 'verify' fail. 1.4 Support for TMS320F240 1.5 Using XDS510USB and SDFlash to program TMS320F240 flash. 1.6 Programming a Target with multiple devices in the JTAG scan chain. ### Installation 1.1 DSP Reset Fails There may be various causes for this error: The Target DSP board is not powered. The JTAG Emulator is not powered. SDFlash Project is configured for the wrong driver or port address. The SDFlash project must be configured with the correct driver to support the Spectrum Digital JTAG Emulator or eZdsp board you are using. Below is a screenshot of the Project Settings "Target Tab". This is an example of a project configured to use the XDS510USB to connect to a F24xx Target. Please note that the directory path in each feild must be a valid path where the associated file is located. 1.2 Error Message: 'File Does Not Esist' or 'Load file failed' These errors may appear when attempting to open the Flash Panel. The file that the errors are referring to is the 'Flash Data File' located on the Programming tab of the Project Settings. Verify the directory path to the coff file you wish to load is a valid path.(i.e. that the .out file exists in the directory entered) 1.3 'The SDFlash 'RESET' is successful, but 'erase', 'program', and 'verify' fail.' A successful 'RESET' in SDFlash means the JTAG Emulator and Target board are properly powered and connected. However, take a moment to verify that all cable are conected securely and that the proper power is supplied to the emulator and target board. Common Causes: You must use the Flashing Algorithm release the supports the DSP and/or revision of silicon you are using. Refer to the SDFlash Utility page on the Spectrum Digital Support site for details. The flashing algorithms must be configured to multiply the DSP's input frequency appropriately and not exceed the DSP's maximum operational frequency. The algorithms found on the Spectrum Digital support sites are configured to support Spectrum Digital target boards. If you are using a custom board, refer to the algorithm Readme.PDF file for direction to properly configure and rebuild the algorithms to support your target configuration. The Chip Security Module(CSM) has been locked. If the CSM has been written to, the on-chip flash cannot be accessed by Code Composer Studio nor SDFlash. No Erase, program, nor verify function will work. This can be done by mistakenly writting to the addresses where the CSM is located. Check the memory map(cmd file) of the coff file you wish to program. Make sure it is not configured to write to the CSM locations. Do not remove power, disconnect, nor stop the SDFlash utility when SDFlash is running. Make sure you are not programming a region of memory outside of the flash addresses. Make sure the 5V flash programming voltage is present on the DSP to enable flash writing. Many of Spectrum Digital EVM and eZdsp boards offer jumpers to enable or disable the flash programming voltage. Refer to the board's Technical Reference for details about jumper settings. 1.4 'Support for TMS320F240 flash.' Support for the TMS320F240 is not available for current releases of SDFlash. An original Beta version of SDFlash included support for the F240. The old SDFlash Beta 1.2 version installation can be downloaded from our support website at the following link: SDFlash 1.20. Run the installation into the default path. The following will be installed: SDFlash utility version 1.20. Flash programming algorithms for various TI DSP Platforms, including F24x. ***There is no support for the SDFlash 1.20 and F240 Algorithms.*** 1.5 'Using XDS510USB and SDFlash to program TMS320F240 flash.' The TMS320F240 is not officially supported using the XDS510USB JTAG Emulator and SDFlash utility. However, it can be done. It requires additional installation steps than the typical SDFlash and emulator installation. The Installation requirements and steps are as follows: Requirements: Latest Spectrum Digital C2000 driver installation, version 2.20 or newer. (Includes XDS510USB JTAG Emulator drivers and SDFlash 1.6x) Archived SDFlash version 1.20 installation. Installation Process: Install the latest C2000 driver installation, version 2.20 or newer(install into default path is recommended). The installation can be downloaded from our support webpage at: emulators.spectrumdigital.com/c2000/. Run the installation on your computer (installation into default path is recommended). The following will be installed: XDS510USB Drivers and drivers for Code composer Studio C2000. SDConfig configuration and test utility. SDFlash Utility 1.60 or later, but no device specific flash programming algorithms will be included at this time. Install the old SDFlash version 1.20. The installation can be downloaded from our support website at the following link: SDFlash 1.20. Run the installation on your computer into a different installation path than the driver installation in the previous step. The following will be installed: SDFlash utility version 1.20. Flash programming algorithms for various TI DSP Platforms, including F24x. There are two things that need to be copied from the SDFlash 1.20 installation path and moved to the SDFlash 1.6x installation path. F240 flashing Algorithms: Using Windows Explorer, browse the SDFlash 1.20 install directory you just created. Look in the \SDFlash\algo\c2xx folder. Copy the entire folder named 'f240'. Now Browse the C2000 driver installation path you have just created. Look in the \specdig\sdflash\myprojects folder. Paste the 'f240' folder into this path. Sample SDFlash programming project for F240: Browse, once again, to the SDFlash 1.20 path \SDFlash\projects folder. Copy filename 'Samplef240.sdp'. Then paste it into the SDFlash 1.60 new \specdig\sdflash\myprojects\f240 folder. Launch SDFlash 1.6x and Open the F240 example project named 'Samplef240.sdp'(click 'file--->open project'). Now open the Project Settings(click 'project--->settings') and you will see new window appear. The new window has 4 tabs of settings to view. Click on the tab labeled 'Target'. Change the following: Driver: Change the driver path to point to driver name 'sdgo24xusb.dvr'. It will be located in the c:\ti\drivers folder. Emulator Address/ID: Using the drop-down menu, select '510' Click 'OK', then Save the Project. You may consider renaming the project to something like 'Samplef240_usb.sdp'. 1.6 'Programming a Target with multiple devices in the JTAG scan chain.' The SDFlash utility, and associated flashing algorithms, will allow connection and programming of DSPs in JTAG scan chains with more than 1 JTAG device. Examples are scan chains with multiple TI DSPs or a scan chain with a TI DSP and another non-DSP JTAG device, or any combination. ***IMPORTANT***---->Only 1 DSP may be programmed at a time. Programming multiple DSPs simultaneously is not possible. If the JTAG scan chain has more than 1 C2000 DSP in the scan chain that requires flash programming, each one must be programmed seperately. The SDFlash Project settings allow the user to define the JTAG scan chain contents using the Board File. The Board file provides SDFlash information on how many devices are on the JTAG scan chain. In a system with a single 2xxxx device on the scan chain, the default board file can be used. In systems with more devices on the scan chain, use the board file generated by Code Composer Studio to access your device. This file is found in the "\cc\bin\BrdDat" directory. The default board file is included with the flashing algorithm installation. When creating a Custom Board file for a JTAG scan chain with multiple devices, all devices except for the one being programmed must be declared as a Bypass device. For example, if there are 4 F28xx DSPs in the JTAG Scan chain, 3 must be declared as 'Bypass' and 1 will be declared as a F28xx DSP. The Setup CCS utility will describe this process in more detail.
| ©Copyright 2002-2014 Spectrum Digital, Inc. All Rights Reserved. |