Hi Everyone,
I am new to Code Composer and therefore having difficulty.
I have made a target board for TMS320F28379D based on the controlCARD R1.3. And I am using XDS100V2 14-pin JTAG Emulator/Debug probe with Code Composer 6.1.2.00015.
Following all instruction on how to connect the emulator to the target board I was able to test the connection successfully (see result below).
Next thing in the instructions was to "Launch Selected Configuration" and on doing that a debug session started and showed this:
Since for all the cores it shows (Disconnected:Unknown), I right clicked each and was able to select "Connect Target" which resulted in the following:
I am using the default boot mode, that is, GPIO72 & 84 are pulled HIGH. I also have a RESET button connected to the XRS pin which is always HIGH and goes LOW when the button is pressed. The ERRORSTS pin is also LOW. I also made sure that there is continuity from the debugger on to my target board for the JTAG pins, nTRST pin goes HIGH when debug is launched otherwise it is LOW and TCK is 1MHz when the running connection test.
With all this done I want to now download a simple LED blink program of which there is an example in controlsuite. After loading that from controlsuite to the workspace I modified the properties of the project to use the MCU and debugger I am using. Here is what I changed:
Doing that created and made active a new TargetConfig file TMS320F28379D.ccxml. The original example had TMS320F28377D.ccxml. Now I clean/build the program resulting in 58 errors. They all seem to be Linker errors (see below). I have Set Active CPU1_RAM under Build Configuration as opposed to CPU1_FLASH. When I change to CPU1_Flash I get the same linker errors.
Can you please point me in the direction of how to go about fixing these errors?
Any help will be much appreciated.
Thank you for your quick response.
Fahad
===================================================JTAG CONNECTION TEST===================================================
[Start: Texas Instruments XDS100v2 USB Debug Probe_0]
Execute the command:
%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity
[Result]
-----[Print the board config pathname(s)]------------------------------------
C:\Users\Fahad\AppData\Local\TEXASI~1\CCS\
ti\0\0\BrdDat\testBoard.dat
-----[Print the reset-command software log-file]-----------------------------
This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'Dec 9 2015'.
The library build time was '20:05:50'.
The library package version is '6.0.83.1'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '4' (0x00000004).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.
-----[Print the reset-command hardware log-file]-----------------------------
The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the FTDI FT2232 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for FTDI FT2232 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).
-----[The log-file for the JTAG TCLK output generated from the PLL]----------
There is no hardware for programming the JTAG TCLK frequency.
-----[Measure the source and frequency of the final JTAG TCLKR input]--------
There is no hardware for measuring the JTAG TCLK frequency.
-----[Perform the standard path-length test on the JTAG IR and DR]-----------
This path-length test uses blocks of 64 32-bit words.
The test for the JTAG IR instruction path-length succeeded.
The JTAG IR instruction path-length is 6 bits.
The test for the JTAG DR bypass path-length succeeded.
The JTAG DR bypass path-length is 1 bits.
-----[Perform the Integrity scan-test on the JTAG IR]------------------------
This test will use blocks of 64 32-bit words.
This test will be applied just once.
Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
The JTAG IR Integrity scan-test has succeeded.
-----[Perform the Integrity scan-test on the JTAG DR]------------------------
This test will use blocks of 64 32-bit words.
This test will be applied just once.
Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
The JTAG DR Integrity scan-test has succeeded.
[End: Texas Instruments XDS100v2 USB Debug Probe_0]
===================================================JTAG CONNECTION TEST===================================================
==================================================LINKER ERROR===========================================================
'Building target: blinky_cpu01.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.10/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --tmu_support=tmu0 --cla_support=cla1 --vcu_support=vcu2 -g --define=CPU1 --diag_warning=225 --display_error_number --diag_suppress=10063 -z -m"blinky_cpu01.map" --stack_size=0x100 --warn_sections -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.10/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.10/include" -i"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd" -i"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_headers/cmd" --reread_libs --display_error_number --xml_link_info="blinky_cpu01_linkInfo.xml" --entry_point=code_start --rom_model -o "blinky_cpu01.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./blinky_cpu01.obj" "../2837x_FLASH_lnk_cpu1.cmd" -l"rts2800_fpu32.lib" -l"2837xD_RAM_lnk_cpu1.cmd" -l"F2837xD_Headers_nonBIOS_cpu1.cmd" -l"libc.a"
<Linking>
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 7: error #10263:
BEGIN memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 8: error #10263:
RAMM0 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 8: error #10264:
RAMM0 memory range overlaps existing memory range RAMM0
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 9: error #10263:
RAMD0 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 9: error #10264:
RAMD0 memory range overlaps existing memory range RAMD0
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 10: error #10263:
RAMLS0 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 10: error #10264:
RAMLS0 memory range overlaps existing memory range RAMLS0
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 11: error #10263:
RAMLS1 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 11: error #10264:
RAMLS1 memory range overlaps existing memory range RAMLS1
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 12: error #10263:
RAMLS2 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 12: error #10264:
RAMLS2 memory range overlaps existing memory range RAMLS2
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 13: error #10263:
RAMLS3 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 13: error #10264:
RAMLS3 memory range overlaps existing memory range RAMLS3
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 14: error #10263:
RAMLS4 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 14: error #10264:
RAMLS4 memory range overlaps existing memory range RAMLS4
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 15: error #10263:
RESET memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 15: error #10264:
RESET memory range overlaps existing memory range RESET
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 19: error #10263:
BOOT_RSVD memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 19: error #10264:
BOOT_RSVD memory range overlaps existing memory range BOOT_RSVD
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 20: error #10263:
RAMM1 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 20: error #10264:
RAMM1 memory range overlaps existing memory range RAMM1
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 21: error #10263:
RAMD1 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 21: error #10264:
RAMD1 memory range overlaps existing memory range RAMD1
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 23: error #10263:
RAMLS5 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 23: error #10264:
RAMLS5 memory range overlaps existing memory range RAMLS5
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 25: error #10263:
RAMGS0 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 25: error #10264:
RAMGS0 memory range overlaps existing memory range RAMGS0
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 26: error #10263:
RAMGS1 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 26: error #10264:
RAMGS1 memory range overlaps existing memory range RAMGS1
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 27: error #10263:
RAMGS2 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 27: error #10264:
RAMGS2 memory range overlaps existing memory range RAMGS2
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 28: error #10263:
RAMGS3 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 28: error #10264:
RAMGS3 memory range overlaps existing memory range RAMGS3
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 29: error #10263:
RAMGS4 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 29: error #10264:
RAMGS4 memory range overlaps existing memory range RAMGS4
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 30: error #10263:
RAMGS5 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 30: error #10264:
RAMGS5 memory range overlaps existing memory range RAMGS5
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 31: error #10263:
RAMGS6 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 31: error #10264:
RAMGS6 memory range overlaps existing memory range RAMGS6
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 32: error #10263:
RAMGS7 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 32: error #10264:
RAMGS7 memory range overlaps existing memory range RAMGS7
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 33: error #10263:
RAMGS8 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 33: error #10264:
RAMGS8 memory range overlaps existing memory range RAMGS8
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 34: error #10263:
RAMGS9 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 34: error #10264:
RAMGS9 memory range overlaps existing memory range RAMGS9
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 35: error #10263:
RAMGS10 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 35: error #10264:
RAMGS10 memory range overlaps existing memory range RAMGS10
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 36: error #10263:
RAMGS11 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 36: error #10264:
RAMGS11 memory range overlaps existing memory range RAMGS11
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 37: error #10263:
>> Compilation failure
RAMGS12 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 37: error #10264:
RAMGS12 memory range overlaps existing memory range RAMGS12
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 38: error #10263:
RAMGS13 memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 38: error #10264:
RAMGS13 memory range overlaps existing memory range RAMGS13
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 42: error #10263:
CPU2TOCPU1RAM memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 42: error #10264:
CPU2TOCPU1RAM memory range overlaps existing memory range CPU2TOCPU1RAM
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 43: error #10263:
CPU1TOCPU2RAM memory range has already been specified
"C:/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 43: error #10264:
CPU1TOCPU2RAM memory range overlaps existing memory range CPU1TOCPU2RAM
error #10010: errors encountered during linking; "blinky_cpu01.out" not built
gmake: *** [blinky_cpu01.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
==================================================LINKER ERROR===========================================================