Tool/software: Code Composer Studio
I'm trying to get code running non a TDA3X EVM board. In a previous thread, I unsuccessfully tried to flash code onto the board. I've now ordered XDS200 probe so I'm hoping to get an installation working and download+debug code using the probe.
Starting fresh, I've done the following on a Windows 7 64-bit laptop:
1. I downloaded Code Composer Studio 8.0.0.00016 from software-dl.ti.com/.../CCS8.0.0.00016_win32.zip
2. I downloaded PROCESSOR-SDK-VISION from www.ti.com/.../PROCESSOR-SDK-TDAX
3.I added the xdc tools directory to the PATH environmental variable (C:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\os_tools\windows\xdctools_3_32_01_22_core if it matters).
4. I added/changed two lines in C:\PROCESSOR_SDK_VISION_03_03_00_00\vision_sdk\build\Rules.make
MAKECONFIG?=tda3xx_evm_bios_all
BUILD_OS ?= Windows
5. I added/changed two lines in C:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages\ti\build\Rules.make
export OS ?= Windows_NT
SDK_INSTALL_PATH ?= c:/PROCESSOR_SDK_VISION_03_02_00_00
export BOARD ?= tda3xx-evm (changed it from tda2xx-evm)
export SOC ?= tda3xx (changed it from tda2xx)
6. I added one line to make sure the ipc_PATH value was correct in C:\PROCESSOR_SDK_VISION_03_03_00_00\vision_sdk\build\tools_path.mk
ipc_PATH ?= /PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/ipc_3_45_00_00
7. Following the instructions at http://processors.wiki.ti.com/index.php/PDK/PDK_TDA_Building_The_Package,
gmake -s allcores BOARD=tda3xx-evm
but it didn't work, giving the error message "target 'allcores' not found"
8. Continuing with the instructions, I tried:
gmake -s allcores_clean BOARD=tda3xx-evm
This ran for a half hour or so and worked in that it ran to completion. There were many success and fail messages along the way, but I'm hoping maybe the fail messages were related to things not needed for my board/libraries/functions.
9. I continued with builds from "Getting Started":
gmake depend
This runs for 5-10 minutes and seems to work.
10. Continuing with "Getting Started", I run:
gmake > store_output_messages.txt
And this fails, freezing up until I hit Ctrl-C to break. (I left it running over the weekend to make sure it was frozen.) Shortly, I will send "store_output_messages.txt" so you can see the messages that appear. I will also send "output_displayed_at_command_prompt.txt" so you can see the messages that appear at the command prompt. It appears to freeze up while it's running the following command:
C:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/xs xdc.tools.configuro --generationOnly -o C:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/binaries/apps/tda3xx_evm_bios_all/obj/vision_sdk/tda3xx-evm/arp32_1/release/vision_sdk_configuro -t ti.targets.arp32.elf.ARP32_far -p ti.platforms.evmTDA3XX:EVE_1 -r release -c C:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/arp32_1.0.7 -b C:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build/rtos/tda3xx/config_arp32.bld --cfgArgs "{mode: \"\", coreName:\"EVE-1\", platformMem: \"DDR_MEM_512M\"}" MAIN_APP_eve1.cfg