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.
Tool/software: Code Composer Studio
Hello,
I'd like to build and run usecases in C:\PROCESSOR_SDK_VISION_03_03_00_00\vision_sdk\apps\src\rtos\usecases using makefile under CCS v.8.1.0.00011 environment and my target board is TDA2Px.
Before doing it, I tried to make C++ project with Makefile project --> Hello World C++ Makefile Project and build the project named as "test_mk".
The generated source code "test_mk.cpp" is:
//============================================================================
// Name : test_mk.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C, Ansi-style
//============================================================================
#include <stdio.h>
#include <stdlib.h>
int main(void) {
puts("Hello World!!!");
return EXIT_SUCCESS;
}
Generated Makefile is:
CXXFLAGS = -O2 -g -Wall -fmessage-length=0
OBJS = test_mk.o
LIBS =
TARGET = test_mk.exe
$(TARGET): $(OBJS)
$(CXX) -o $(TARGET) $(OBJS) $(LIBS)
all: $(TARGET)
clean:
rm -f $(OBJS) $(TARGET)
I got the following messages when executing Build Project menu in CCS.
13:03:54 **** Build of configuration Default for project test_mk ****
gmake -s -j all
process_begin: CreateProcess(NULL, g++ -O2 -g -Wall -fmessage-length=0 -c -o test_mk.o test_mk.cpp, ...) failed.
make (e=2): 지정된 파일을 찾을 수 없습니다.
gmake: *** [test_mk.o] Error 2
13:03:54 Build Finished (took 438ms)
Can you help me to solve this problem?
Thank you.
Sahng-Gyu Park
Hello,
I couldn't run the CCS build in windows (Firewall issue, I assumed), so I moved to Linux environment.
Finally I succeeded to build vision_sdk/Makefile in Linux CCS after some errors were fixed thru trial and errors. (make -s -j depend --> make -s -j)
Now I have another problem.
In loading the demo thru SD card (make -s appimage), UART console is displaying menus and I can select usecase by pressing corresponding usecase number.
However, after loading the programe thru CCS (I followed the loading process as in page 18~page 23 in VisionSDK_UserGuide_TDA2px.pdf), I don't know how to run the demo in CCS mode.
In page 24 of VisionSDK_UserGuide_TDA2px.pdf, 3.8 Run the demo section,
1. Power-on the Board after loading binaries by (SD, QSPI, CCS) and follw Uart settings to setup the console for logs and selecting demo.
I don't understand this paragraph about Power-on the Board after loading binaries. The board should be power-on before loading any binary and how to power-on again?
I tested the loading process thru SD card and succeeded to see demo menus on UART console. So UART connection to see the console was worked. But, I don't know how to run (start) UART console in CCS mode.
Thank you for your help.
Best regards,
Sahng-Gyu Park
user4699607 said:I couldn't run the CCS build in windows (Firewall issue, I assumed), so I moved to Linux environment.
Finally I succeeded to build vision_sdk/Makefile in Linux CCS after some errors were fixed thru trial and errors. (make -s -j depend --> make -s -j)
Glad to hear. It is likely best to stick to CCS Linux since it will be a more seamless experience using the SDK
user4699607 said:Now I have another problem.
That problem is out of my area of expertise. I recommend posting a new question to the experts in the Automotive forums:
https://e2e.ti.com/support/arm/automotive_processors/f/1021
Thanks
ki