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.

CCS: Launch .exe programs in post-build makefile

Tool/software: Code Composer Studio

Goodmorning to all,

This is my first post, as so far I have worked with Microchip for several years, besides I've a little experience with Linux and Qt with Raspberry. I'm using a Beaglebone Black with the sdk "ti-processor-sdk-rtos-am335x-evm-04.02.00.09". Basically once that I built the executable file ".out", I want to generate the ".bin" file and eventually the app. For accomplishing this task, I followed:

Hence, I chose Project->Proprieties->CSS Build->Steps, and I added the tasks in post-build scipt. In the makefile, the program add the following:

post-build:
	-@echo 'Transform from .out to .bin'
	-"C:\ti\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\bin\objcopy.exe" "C:/Users/brunelda/workspace_v7/test/Release/test.out" "C:/Users/brunelda/workspace_v7/test/Release/test.bin"
	-@echo 'Transform from .bin to app'
	-"C:\ti\pdk_am335x_1_0_9\packages\ti\starterware\tools\ti_image\tiimage.exe" 0x80000000 NONE "C:/Users/brunelda/workspace_v7/test/Release/test.bin" "C:/Users/brunelda/workspace_v7/test/Release/app"
	-@echo ' '

I tried to launch these programs singularly from the prompt, and they work correctly. In the makefile they don't work. Besides I don't get why the program add the minus sign in front of each row.

Can you advise me? Thank you.

  • Ok, I resolved as follow:

    -@echo 'Transform the application from .out to .bin'
    -"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/bin/objcopy.exe" "C:/Users/brunelda/workspace_v7/test/Release/test.out" "C:/Users/brunelda/workspace_v7/test/Release/test.bin"
    -@echo 'Transform the application from .bin to app'
    -"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/tools/ti_image/tiimage.exe" 0x80000000 NONE  "C:/Users/brunelda/workspace_v7/test/Release/test.bin" "C:/Users/brunelda/workspace_v7/test/Release/app"
    

    The minus signs in front of them, don't seem to bother.

    Thank you anyway.

  • Thank you for letting us know that this is resolved.