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/UCD3138PFCEVM-026: Making x0 File fail after change UCD3138 to UCD3138064A

Part Number: UCD3138PFCEVM-026
Other Parts Discussed in Thread: UCD3138064A, UCD3138

Tool/software: Code Composer Studio

Hi 

    I'm using UCD3138PFCEVM-026.Making x0 File fail after I change the default IC from UCD3138 to UCD3138064A . The Log shows below:

The ".out File has been generated ,however the post-build" failed ,why could this happen ?

CCS Version :CCS 6.2

______________________________________________________________________________________________________________________________

<Linking>
'Finished building target: PWR026_PFC_UCD3138064A.out'
' '
'Tektronix Extended format'
("C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armhex.exe" -x "PWR026_PFC_UCD3138064A.out" -o "PWR026_PFC_UCD3138064A.x0" -memwidth 8)
makefile:200: recipe for target 'post-build' failed
' '
process_begin: CreateProcess(NULL, (C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armhex.exe -x PWR026_PFC_UCD3138064A.out -o PWR026_PFC_UCD3138064A.x0 -memwidth 8), ...) failed.
make (e=2): 系统找不到指定的文件。

gmake[2]: [post-build] Error 2 (ignored)

**** Build Finished ****

  • Hello,

    An engineer is looking into this for you and will get back to you soon.

    Thanks
  • The PFC codes for all devices have this issue with some versions of CCS.  You need to right click on the project name, then select Show Build Settings->Build->Steps

    In the Post=build steps window, you will see this:

    ("${CG_TOOL_HEX}.exe" -x "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.x0" -memwidth 8)

    Delete the parentheses on the outside, so it looks like this:

    "${CG_TOOL_HEX}.exe" -x "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.x0" -memwidth 8 

    Right click on the project name again, and select Rebuild Project.  You have to use rebuild project, because the normal make type options don't pick up on changes to the post-build commands for some reason.

    Here's the screen:

  • It Works ,Thanks a lot
    Benson