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.

ISSUE IN BUILDING ARM CODE

Other Parts Discussed in Thread: TPS65023

Hi

Team as mentioned in my previous post I have issue in building the ARM-UBL

My version of ccs is ccsv5 Kindly request you to get the ARM-UBL CODE THAT GETS BUILD I already have as code that gets rebuild but build command gives error

  

Request team to send a link of code that gets built CCSV5!

 

Thank you

Deepak R 

  • Please provide the version of ARM UBL that you are using or if you downloaded this as part of an SDK or serial flashing and boot utilities.
    Did you see any issues, while importing the CCS project. In CCS, did you run a Re-build or just a build.

    The issue from the log appears that the project you have was built to compile using ARM compiler 4.7.x while CCS v5 seems to contain ARM compiler version 5.x.x. There are many issues migrating from old version of compiler to new one. Old compiler using hex470.exe , cl470.exe which have been changed to hexarm and armcl respectively. Also the new compiler by default builds ELF binaries and there seems to be some COFF object files in your project.

    Please check the release notes of the package you have and check the compiler version required to build that project.

    Regards,
    Rahul
  • I'm able to build the code without any problem in CCSv5.
    Have you changed any CCS settings ?

    **** Build of configuration BOOT_NAND for project ubl-omapl1x7 ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building target: C:/ti/armubl-03.20.00.14/ccsv3.3/ubl-omapl1x7/../../ccsv3.3/ubl-nand.out'
    'Invoking: ARM Linker'
    "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv5e --abi=ti_arm9_abi -me -O3 -g --define="UBL_NAND" --define="USE_IN_ROM" --define="DEVICE_UART2_FOR_DEBUG" --display_error_number --diag_wrap=off --asm_directory="C:/ti/armubl-03.20.00.14/ccsv3.3" --obj_directory="C:/ti/armubl-03.20.00.14/ccsv3.3" -z -m"C:/ti/armubl-03.20.00.14/ccsv3.3/ubl-nand.map" -i"C:/ti/ccsv5/tools/compiler/arm_5.1.1/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" -i"C:/ti/armubl-03.20.00.14/ccsv3.3/ubl-omapl1x7" -i"C:/ti/armubl-03.20.00.14/ccsv3.3" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="ubl-omapl1x7_linkInfo.xml" -o "C:/ti/armubl-03.20.00.14/ccsv3.3/ubl-omapl1x7/../../ccsv3.3/ubl-nand.out" "C:/ti/armubl-03.20.00.14/ccsv3.3/util.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/ubl.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/uartboot.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/uart.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/tps65023.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/nandboot.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/nand.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/i2c.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/device_nand.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/device.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/debug.obj" "C:/ti/armubl-03.20.00.14/ccsv3.3/boot.obj" "C:/ti/armubl-03.20.00.14/ubl.cmd"
    <Linking>
    warning #10247-D: creating output section ".const" without a SECTIONS specification
    warning #99922: C:\Users\10607926\AppData\Local\Temp\220482: address values can only increase in an FDE entry
    warning #99922: C:\Users\10607926\AppData\Local\Temp\220482: address values can only increase in an FDE entry
    warning #99922: C:\Users\10607926\AppData\Local\Temp\220482: address values can only increase in an FDE entry
    warning #99922: C:\Users\10607926\AppData\Local\Temp\220482: address values can only increase in an FDE entry
    warning #99922: C:\Users\10607926\AppData\Local\Temp\220482: address values can only increase in an FDE entry
    warning #99922: C:\Users\10607926\AppData\Local\Temp\220482: address values can only increase in an FDE entry
    'Finished building target: C:/ti/armubl-03.20.00.14/ccsv3.3/ubl-omapl1x7/../../ccsv3.3/ubl-nand.out'
    ' '
    "C:/ti/armubl-03.20.00.14/ccsv3.3/ubl-omapl1x7/postBuildStep_BOOT_NAND.bat" PROJECT_ROOT C:/ti/armubl-03.20.00.14/ccsv3.3/ubl-omapl1x7 !
    'hex470.exe' is not recognized as an internal or external command,
    operable program or batch file.
    ' '
    **** Build Finished ****
  • Thanks titu
    I am not sure what settings is set kindly sent me the source zip that u have used to compile..... i will try on my machine!

    Thank you
    Deepak R
  • Hi Titu

    Thanks for your support

    I am able to build the code by the source provided by you

    But once I press the debug icon I get the following error should I delete the files BOOT_NAND????NOT SURE

    I tried deleting the  folder BOOT_NAND  & postBuildStep_BOOT_NAND  .but  I STILL GET ERROR

     

    Thank you

    Deepak R

  • Hi

    Titu

    Thanks for help!!!!!!!!!!!!

    Finally able to resolve the conflict I changed the optimization options to off so I don't get the error when I try to do and clean and build this

    But my end result remains same I am not able to connect to the board in inline debugging as I have done for dsp I get the following error

    Error connecting to the target:

    (Error -1063 @ 0x0)

    Device ID is not recognized or is not supported by driver. Confirm device and emulator configuration is correct, or update device driver.

    (Emulation package 5.0.747.0)

  •  Adding extra information I am trying to change these subpath_x and trying to find if any configuration is wrong!

    I don't have any debug configuration enabled

    pfa for reference

    Thank you

    Deepak R

  • Adding extra info
    As am I trying to debug should I enable any slave processot tick on subpath!!!!!!??????????????????