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.

Compiler/PROCESSOR-SDK-AMIC110: How can I build a ccs v7 project?

Part Number: PROCESSOR-SDK-AMIC110
Other Parts Discussed in Thread: SYSBIOS, AMIC110

Tool/software: TI C/C++ Compiler

hello

every expector

This tomiyama form tokyo.

I need to create a static task with *.cfg file.

But I don't know which version xdctool and sysbios are properly.

Colud you tell us  please?

best Regards

Tomiyama

This is the log:


**** Build of configuration Debug for project task_test ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
making ../src/sysbios/sysbios.aea8fnv ...
gmake[1]: Entering directory 'C:/workspace_v7_01_26_Usb/task_test/Debug'
'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_03_72/xs" --xdcpath="C:/ti/bios_6_35_04_50/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/pdk_am335x_1_0_8/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmDM8168 -r debug -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS" --compileOptions "-g --optimize_with_debug" "../app.cfg"
gmake[1]: Nothing to be done for 'all'.
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7A8 --code_state=32 -me --include_path="C:/workspace_v7_01_26_Usb/task_test" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --define=amic110 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw" --cmd_file="configPkg/compiler.opt" "../main.c"
'Finished building: ../main.c'
' '
making package.mak (because of .xdcenv.mak) ...
configuring app.xea8fnv from package/cfg/app_pea8fnv.cfg ...
generating custom ti.sysbios library makefile ...
subdir_rules.mk:12: recipe for target 'build-112301119-inproc' failed
js: "C:/ti/xdctools_3_25_03_72/packages/xdc/cfg/Main.xs", line 47: XDC runtime error: can't find program 'app.xea8fnv's linker command template file: 'task.cmd' along the path C:/ti/bios_6_35_04_50/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/pdk_am335x_1_0_8/packages;C:/ti/ccsv7/ccs_base;C:/ti/xdctools_3_25_03_72/packages;..;
gmake.exe: *** [package/cfg/app_pea8fnv.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/app_pea8fnv.xdl'
gmake.exe: *** [package/cfg/app_pea8fnv.xdl] Deleting file `package/cfg/app_pea8fnv.h'
gmake.exe: *** [package/cfg/app_pea8fnv.xdl] Deleting file `package/cfg/app_pea8fnv.c'
js: "C:/ti/xdctools_3_25_03_72/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-112301119-inproc] Error 1
gmake: *** [build-112301119] Error 2
gmake[1]: Leaving directory 'C:/workspace_v7_01_26_Usb/task_test/Debug'
subdir_rules.mk:9: recipe for target 'build-112301119' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Tomiyama,
    you probably defined
    Program.linkTemplate = "task.cmd";
    or something similar in your app.cfg. Do you have the file task.cmd somewhere on the disk? Can you find that line in your app.cfg and post it here?
  • Hi Tomiyama,

    I'm not seeing any issue with BIOS 6.35.04.50 and xdctools 3.25.  They are compatible.  The error indicates that a file, 'task.cmd' cannot be found, so it looks like a file is missing from your project.  Maybe you can clean your project and attach a zipped up version of it here so I can try to build it.

    Best regards,

    Janet

  • Dear Janet

    This is Tomiyama from tokyo.
    Thank your help.
    I am preparing a project using Usb CDC on Rtos,and a big am335x project.

    I have change some code ,but there are not gong in Rtos. and not present on PC device manegers.

    I send project to you,and wait your help.
    Best Regards
    Tomiyama.
  • Copy of Task_Usb_02_23_03.zipDear Janet

    This is Tomiyama from Tokyo. We have been a big Project with Am335x.

    I hope your help very much, and thanks your invoking.

    I have change and debug the Usb CDC on Rtos.

    I send a zip project to you ,please help us.

    I run the project but not going.

    Thank you very much,

    Best Regards

    Tomiyama.

  • Hi Tomiyama,

    Are you able to build your project now?  I was able to build the project you posted, but I needed to make a few changes.  I couldn't find the StarterWare version 2.00.00.07 that you are using, so I used 2.00.01.01.  I also had to use BIOS 6.52 and XDC tools 3.50 to get the project to build.  I don't have the hardware to debug your project with, so I need more information on how your program is failing.

    It looks like you started with the non-rtos usb_dev_serial example and made some modifications to it.  Were you able to get the non-rtos example to work?

    If you can provide some more information, that would be very helpful.

    Best regards,

    Janet

  • Dear Janet

    This is tomiyama from tokyo.

    thank your answers.

    I have probelm below:

    1)I try to No-os Startware of usb_dev_serial, it is OK,but using a TI RTOS, program was down in task_sleep(10), Rtos was not going. I want to know the usb initialation's where was not good for project on RTOS?

    2) I want to know the vector of intrrupt setting in main routine? there are no intrrupts in main routine.

    need your help.

    3)and what you modify in my code ,so it can go on RTOS?

    best Regards

    Tomiyama
  • Hi Tomiyama,

    When I try to run your program on an A3359, I get an exception in usb_init().  You can see the details in this ROV screen shot (CCS -> Tools -> RTOS Object View):

    It looks like some peripheral was not powered on?  Here is your project that I modified to get it to build.  I did not modify your source code, only the project settings.

    2570.Copy of Task_Usb_02_23_03.zip

    If you can get your program running, ROV may help to debug.

    Best regards,

    Janet

  • Did this get resolved?
  • Janet

    This is Tomiyama from Tokyo.
    Thank you very much, It resolved problems.
    best regards
    tomyama