Other Parts Discussed in Thread: OMAP-L138
Tool/software: Code Composer Studio
Untitled Document.md
I cannot use Code Composer Studio to flash code to my TMS320C6748 Development Kit (LCDK). The steps that I follow to flash it are as follows:
Initial Setup:
- Install the latest FTDI Virtual Com Port drivers (via the Setup Executable here)
- Install TeraTerm 4.102 from the manufacturer’s website
- Install the latest version of Code Compiler Studio (9.0.0.00018)
- Install bios_c6sdk_02_00_00_00_setupwin32.exe from the Micro-SD Card included with the DSP
- Install ti_cgt_c6000_7.3.1_setup_win32.exe from the Micro-SD Card included with the DSP
Steps to attempt flash:
- Insert Micro-SD card into DSP
- Plug Mini-USB cable between USB port on the computer and the UART-USB port on the DSP
- Ensured the Dip Switches were in NAND Boot Mode (01110000)
- Create a new CCS project with the following settings:
- Target: LCDKC6748
- Connection: Data Snapshot Viewer
- Compiler Version: TI v7.3.1 (the one that came on the Micro-SD Card)
- Project Template: Empty Project (with main.c)
- if a target configuration file was not generated, create one using the same settings
- Compile and flash.
This results in the following error:
C674X_0: Output: Target Connected.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: Memory Map Cleared.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: Memory Map Setup Complete.
C674X_0: Output: ---------------------------------------------
C674X_0: GEL: Error while executing OnTargetConnect(): Cannot read 0x01C10800: data is not present
at (*((unsigned int *) ((0x01C10000+0x800)+(4*LPSC_num)))&0x1F) [C6748_LCDK.gel:845]
at PSC0_LPSC_enable(0, 0) [C6748_LCDK.gel:488]
at PSC_All_On() [C6748_LCDK.gel:243]
at OnTargetConnect()
C674X_0: Trouble Writing Memory Block at 0x80000800 on Page 0 of Length 0x660: This operation is not supported by this driver
C674X_0: File Loader: Verification failed: Target failed to write 0x80000800
C674X_0: GEL: File: C:\Users\Jolteon\workspace_v9\test1\Debug\test1.out: Load failed.
List of suggested solutions I have tried:
- Attempted same steps, but with changes made to the board:
- Dip switches in UART mode
- Micro SD Card removed
- Dip switches in UART mode and Micro-SD Card removed
- Attempted same steps, but with different compilation settings:
- Target of TMS320C7648
- Compiler version TI v8.3.3 (from here)
- Performed a fresh installation of the latest version of Code Compiler Studio (9.0.0.00018) on Windows 10 (different computer)
Same Error - Performed a fresh installation of the latest version of Code Compiler Studio (9.0.0.00018) on Antergos (Arch) Linux
Same Error - Tested same procedure on a second Identical DSP
- Re-Flashing the NAND via the serial port method listed Here
The entire process appeared to work as expected, but the problem persisted
What can I do to make this work?
Note: Everything listed (Except attempting to use different computers) was done using a laptop running Windows 10 1809