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.

TMS320F28P650DH: SysCtl_delay() Crashing with ESTOP0

Part Number: TMS320F28P650DH
Other Parts Discussed in Thread: LAUNCHXL-F28P65X, C2000WARE

Tool/software:

Hi,

My Goal:  To port the "Live Firmware Update With Device Reset on C2000 MCUs" (spruiu8) example to the LAUNCHXL-F28P65X.

Background: 

I started with the working example project "Serial Flash Programming of C2000 Microcontrollers" (sprabv4)

            F28P65x SCI Flash kernel C2000Ware:  driverlib\f28p65x\examples\c28x_dual\flash_kernel 

The [CPU1_RAM] config is building and running great.  Then added Flash build configurations (BANK0_LDFU, Bank1_LDFU) to it. 

Current Issue: The BANK0_LDFU and Bank1_LDFU are both crashing with an ESTOP when stepping into or over the "SysCtl_delay(23U)" in Device_init().

Below are pictures and the project files.  I found this post that seems to be similar, but so far it has not helped me to solve the issue.

LAUNCHXL-F28379D: Issue with Missing SysCtl_delay() Function in TMS320F28379D Project

Any help would be greatly appreciated.

Thanks,

Rob McCullough

CPU1_RAM_works.png

BANK0_LDFU_before_stepping_into_SysCtl_delay.png

BANK0_LDFU_after_stepping_into_SysCtl_delay.png

Project:

flash_kernel_c28x_dual_ex1_c28x1.zip

  • Robert,

    1. I haven't looked at your project files. Can you explain your design of the Flash build configurations? What is the entry point into the BANK0_LDFU configuration - what is expected set of steps from that point onwards - device initialization, check for valid application, branch to application?

    2. And then what is the actual behavior? Where is SysCtl_delay in the .map file for the RAM vs Flash configuration? Do you get any build warnings when building the Flash build config projects?

    3. And how are you programming the Flash build configuration to the device? CCS?

    Thanks,

    Sira

  • Sira,

    1. I am following the Live Firmware Update With Device Reset on C2000 MCUs document and copying/porting the BANK0_LDFU and Bank1_LDFU configurations from the example
    C2000Ware_5_04_00_00\driverlib\f28004x\examples\flash\CCS\flashapi_ex2_sciKernel.projectspec
    to my working version of the C2000Ware_5_04_00_00\driverlib\f28p65x\examples\c28x_dual\flash_kernel\CCS\flash_kernel_ex1_sci_flash_kernel.projectspec.
    The flash entry point is 0x80000 for BANK0_LDFU build and 0x0A0000 for BANK1_LDFU build.
    The steps from there are shown here in main():

    // Main
    //
    uint32_t main(void)
    {
    //
    // flush SCIA TX port by waiting while it is busy, driverlib.
    //
    sciaFlush();
    
    //
    // initialize device and GPIO, driverlib.
    //
    Device_init();
    Device_initGPIO();
    
    ....

    The following function call sequence happens which results in an ESTOP.

    Device_init(void) (calls)-> SysCtl_setClock(DEVICE_SETCLOCK_CFG) (calls)-> SysCtl_delay(23U) -> ESTOP

    2.
    For the CPU1_RAM build, SysCtl_delay is located here in the .map file. Which seems to be GS1 RAM.
    page   address      name
    ----       -------          ----
    0         000120ed   SysCtl_delay


    For the BANK0_LDFU build, SysCtl_delay is located here in the .map file. Which seems to be LS0 RAM.
    page   address       name
    ----       -------           ----
    0          00008000   Flash_initModule
    0          000080e7   exampleError
    0          000080ed   SysCtl_delay

    Not getting any warning.

    CPU1_RAM build output:

    [0]**** Build of configuration CPU1_RAM for project flash_kernel_c28x_dual_ex1_c28x1 ****
    [1]"C:\\ti\\ccs2002\\ccs\\utils\\bin\\gmake" -k -j 22 all -O 
     
    [2]Building file: "../f28p65x_codestartbranch_cpu1.asm"
    [3]Invoking: C2000 Compiler
    [4]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="f28p65x_codestartbranch_cpu1.d_raw"  "../f28p65x_codestartbranch_cpu1.asm"
    [5]Finished building: "../f28p65x_codestartbranch_cpu1.asm"
     
    [6]Building file: "../flash_kernel_c28x_dual_ex1_erase_cpu1.c"
    [7]Invoking: C2000 Compiler
    [8]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_erase_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_erase_cpu1.c"
    [9]Finished building: "../flash_kernel_c28x_dual_ex1_erase_cpu1.c"
     
    [10]Building file: "../flash_kernel_c28x_dual_ex1_sci_boot_cpu1.c"
    [11]Invoking: C2000 Compiler
    [12]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_sci_boot_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_sci_boot_cpu1.c"
    [13]Finished building: "../flash_kernel_c28x_dual_ex1_sci_boot_cpu1.c"
     
    [14]Building file: "../flash_kernel_c28x_dual_ex1_boot_cpu1.c"
    [15]Invoking: C2000 Compiler
    [16]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_boot_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_boot_cpu1.c"
    [17]Finished building: "../flash_kernel_c28x_dual_ex1_boot_cpu1.c"
     
    [18]Building file: "../flash_kernel_c28x_dual_ex1_verify_cpu1.c"
    [19]Invoking: C2000 Compiler
    [20]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_verify_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_verify_cpu1.c"
    [21]Finished building: "../flash_kernel_c28x_dual_ex1_verify_cpu1.c"
     
    [22]Building file: "../flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.c"
    [23]Invoking: C2000 Compiler
    [24]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.c"
    [25]Finished building: "../flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.c"
     
    [26]Building file: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/interrupt.c"
    [27]Invoking: C2000 Compiler
    [28]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="interrupt.d_raw"  "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/interrupt.c"
    [29]Finished building: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/interrupt.c"
     
    [30]Building file: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/gpio.c"
    [31]Invoking: C2000 Compiler
    [32]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="gpio.d_raw"  "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/gpio.c"
    [33]Finished building: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/gpio.c"
     
    [34]Building file: "../sysctl.c"
    [35]Invoking: C2000 Compiler
    [36]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="sysctl.d_raw"  "../sysctl.c"
    [37]"../sysctl.c", line 1347 (col. 33): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    [38]Finished building: "../sysctl.c"
     
    [39]Building file: "../flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.c"
    [40]Invoking: C2000 Compiler
    [41]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.c"
    [42]Finished building: "../flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.c"
     
    [43]Building file: "../flashapi_ex2_ldfu.c"
    [44]Invoking: C2000 Compiler
    [45]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flashapi_ex2_ldfu.d_raw"  "../flashapi_ex2_ldfu.c"
    [46]"../flashapi_ex2_ldfu.c", line 631: warning #551-D: variable "beginAddress" is used before its value is set
    [47]"../flashapi_ex2_ldfu.c", line 631: warning #551-D: variable "endAddress" is used before its value is set
    [48]"../flashapi_ex2_ldfu.c", line 701: warning #551-D: variable "startAdd" is used before its value is set
    [49]Finished building: "../flashapi_ex2_ldfu.c"
     
    [50]Building file: "../device/device.c"
    [51]Invoking: C2000 Compiler
    [52]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --obj_directory="device"  "../device/device.c"
    [53]Finished building: "../device/device.c"
     
    [54]Building target: "flash_kernel_c28x_dual_ex1_c28x1.out"
    [55]Invoking: C2000 Linker
    [56]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"flash_kernel_c28x_dual_ex1_c28x1.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib" -i"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="flash_kernel_c28x_dual_ex1_c28x1_linkInfo.xml" --entry_point=code_start --rom_model -o "flash_kernel_c28x_dual_ex1_c28x1.out" "./f28p65x_codestartbranch_cpu1.obj" "./flash_kernel_c28x_dual_ex1_boot_cpu1.obj" "./flash_kernel_c28x_dual_ex1_erase_cpu1.obj" "./flash_kernel_c28x_dual_ex1_sci_boot_cpu1.obj" "./flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.obj" "./flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.obj" "./flash_kernel_c28x_dual_ex1_verify_cpu1.obj" "./flashapi_ex2_ldfu.obj" "./gpio.obj" "./interrupt.obj" "./sysctl.obj" "./device/device.obj" "../28p65x_flash_programming_cpu1tocpu2_RAM_28p65.cmd" "C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/lib/FAPI_F28P65x_EABI_v3.00.02.lib" "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/ccs/Debug/driverlib.lib" "C:/ti/c2000/C2000Ware_5_04_00_00/libraries/boot_rom/f28P65x/rev0/rom_symbol_libs/cpu1/bootROM/lib/f28P65x_CPU1_BootROM_Symbols.lib"  -llibc.a 
    [57]<Linking>
    [58]Finished building target: "flash_kernel_c28x_dual_ex1_c28x1.out"
     
    [59]Building secondary target: "flash_kernel_c28x_dual_ex1_c28x1.txt"
    [60]Invoking: C2000 Hex Utility
    [61]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/hex2000" --diag_wrap=off --boot --sci8 --ascii -o "flash_kernel_c28x_dual_ex1_c28x1.txt"  "flash_kernel_c28x_dual_ex1_c28x1.out" 
    [62]Translating to ASCII-Hex format...
    [63]   "flash_kernel_c28x_dual_ex1_c28x1.out" codestart ==> (BOOT TABLE)
    [64]   "flash_kernel_c28x_dual_ex1_c28x1.out" .cinit ==> (BOOT TABLE)
    [65]   "flash_kernel_c28x_dual_ex1_c28x1.out" .const ==> (BOOT TABLE)
    [66]   "flash_kernel_c28x_dual_ex1_c28x1.out" .TI.ramfunc ==> (BOOT TABLE)
    [67]   "flash_kernel_c28x_dual_ex1_c28x1.out" MSGRAM_CPU1_TO_CPU2_COPY_TO_M1_RAM ==> (BOOT TABLE)
    [68]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.1 ==> (BOOT TABLE)
    [69]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.2 ==> (BOOT TABLE)
    [70]Finished building secondary target: "flash_kernel_c28x_dual_ex1_c28x1.txt"
     
    [71]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/hex2000" "flash_kernel_c28x_dual_ex1_c28x1.out" -boot -sci8 -a -o "flash_kernel_c28x_dual_ex1_c28x1.txt"
    [72]Translating to ASCII-Hex format...
    [73]   "flash_kernel_c28x_dual_ex1_c28x1.out" codestart ==> (BOOT TABLE)
    [74]   "flash_kernel_c28x_dual_ex1_c28x1.out" .cinit ==> (BOOT TABLE)
    [75]   "flash_kernel_c28x_dual_ex1_c28x1.out" .const ==> (BOOT TABLE)
    [76]   "flash_kernel_c28x_dual_ex1_c28x1.out" .TI.ramfunc ==> (BOOT TABLE)
    [77]   "flash_kernel_c28x_dual_ex1_c28x1.out" MSGRAM_CPU1_TO_CPU2_COPY_TO_M1_RAM ==> (BOOT TABLE)
    [78]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.1 ==> (BOOT TABLE)
    [79]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.2 ==> (BOOT TABLE)
     
    [80]**** Build Finished 

    BANK0_LDFU build output:

    [0]**** Build of configuration BANK0_LDFU for project flash_kernel_c28x_dual_ex1_c28x1 ****
    [1]"C:\\ti\\ccs2002\\ccs\\utils\\bin\\gmake" -k -j 22 all -O 
     
    [2]Building file: "../f28p65x_codestartbranch_cpu1.asm"
    [3]Invoking: C2000 Compiler
    [4]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="f28p65x_codestartbranch_cpu1.d_raw"  "../f28p65x_codestartbranch_cpu1.asm"
    [5]Finished building: "../f28p65x_codestartbranch_cpu1.asm"
     
    [6]Building file: "../flash_kernel_c28x_dual_ex1_erase_cpu1.c"
    [7]Invoking: C2000 Compiler
    [8]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_erase_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_erase_cpu1.c"
    [9]Finished building: "../flash_kernel_c28x_dual_ex1_erase_cpu1.c"
     
    [10]Building file: "../flash_kernel_c28x_dual_ex1_sci_boot_cpu1.c"
    [11]Invoking: C2000 Compiler
    [12]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_sci_boot_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_sci_boot_cpu1.c"
    [13]Finished building: "../flash_kernel_c28x_dual_ex1_sci_boot_cpu1.c"
     
    [14]Building file: "../flash_kernel_c28x_dual_ex1_verify_cpu1.c"
    [15]Invoking: C2000 Compiler
    [16]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_verify_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_verify_cpu1.c"
    [17]Finished building: "../flash_kernel_c28x_dual_ex1_verify_cpu1.c"
     
    [18]Building file: "../flash_kernel_c28x_dual_ex1_boot_cpu1.c"
    [19]Invoking: C2000 Compiler
    [20]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_boot_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_boot_cpu1.c"
    [21]Finished building: "../flash_kernel_c28x_dual_ex1_boot_cpu1.c"
     
    [22]Building file: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/interrupt.c"
    [23]Invoking: C2000 Compiler
    [24]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="interrupt.d_raw"  "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/interrupt.c"
    [25]Finished building: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/interrupt.c"
     
    [26]Building file: "../flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.c"
    [27]Invoking: C2000 Compiler
    [28]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.c"
    [29]Finished building: "../flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.c"
     
    [30]Building file: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/gpio.c"
    [31]Invoking: C2000 Compiler
    [32]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="gpio.d_raw"  "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/gpio.c"
    [33]Finished building: "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/gpio.c"
     
    [34]Building file: "../flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.c"
    [35]Invoking: C2000 Compiler
    [36]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.d_raw"  "../flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.c"
    [37]Finished building: "../flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.c"
     
    [38]Building file: "../flashapi_ex2_ldfu.c"
    [39]Invoking: C2000 Compiler
    [40]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="flashapi_ex2_ldfu.d_raw"  "../flashapi_ex2_ldfu.c"
    [41]Finished building: "../flashapi_ex2_ldfu.c"
     
    [42]Building file: "../sysctl.c"
    [43]Invoking: C2000 Compiler
    [44]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="sysctl.d_raw"  "../sysctl.c"
    [45]"../sysctl.c", line 1347 (col. 33): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    [46]Finished building: "../sysctl.c"
     
    [47]Building file: "../device/device.c"
    [48]Invoking: C2000 Compiler
    [49]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/inc" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x/flash" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/include/FlashAPI" --include_path="C:/DevOps_SW/gei_amp/Workspace_Bootloader/flash_kernel_c28x_dual_ex1_c28x1/device" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --obj_directory="device"  "../device/device.c"
    [50]Finished building: "../device/device.c"
     
    [51]Building target: "flash_kernel_c28x_dual_ex1_c28x1.out"
    [52]Invoking: C2000 Linker
    [53]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --idiv_support=none --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --define=CPU1 --define=SCI_KERNEL --define=_LAUNCHXL_F28P65X --define=BANK0 --define=LIVE_UPDATE --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"flash_kernel_c28x_dual_ex1_c28x1.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib" -i"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="flash_kernel_c28x_dual_ex1_c28x1_linkInfo.xml" --entry_point=code_start --rom_model -o "flash_kernel_c28x_dual_ex1_c28x1.out" "./f28p65x_codestartbranch_cpu1.obj" "./flash_kernel_c28x_dual_ex1_boot_cpu1.obj" "./flash_kernel_c28x_dual_ex1_erase_cpu1.obj" "./flash_kernel_c28x_dual_ex1_sci_boot_cpu1.obj" "./flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.obj" "./flash_kernel_c28x_dual_ex1_sci_get_function_cpu1.obj" "./flash_kernel_c28x_dual_ex1_verify_cpu1.obj" "./flashapi_ex2_ldfu.obj" "./gpio.obj" "./interrupt.obj" "./sysctl.obj" "./device/device.obj" "../28p65x_flash_bank0_LDFU_lnk.cmd" "C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f28p65x/lib/FAPI_F28P65x_EABI_v3.00.02.lib" "C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p65x/driverlib/ccs/Debug/driverlib.lib" "C:/ti/c2000/C2000Ware_5_04_00_00/libraries/boot_rom/f28P65x/rev0/rom_symbol_libs/cpu1/bootROM/lib/f28P65x_CPU1_BootROM_Symbols.lib"  -llibc.a 
    [54]<Linking>
    [55]Finished building target: "flash_kernel_c28x_dual_ex1_c28x1.out"
     
    [56]Building secondary target: "flash_kernel_c28x_dual_ex1_c28x1.txt"
    [57]Invoking: C2000 Hex Utility
    [58]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/hex2000" --diag_wrap=off --boot --sci8 --ascii -o "flash_kernel_c28x_dual_ex1_c28x1.txt"  "flash_kernel_c28x_dual_ex1_c28x1.out" 
    [59]Translating to ASCII-Hex format...
    [60]   "flash_kernel_c28x_dual_ex1_c28x1.out" codestart ==> (BOOT TABLE)
    [61]   "flash_kernel_c28x_dual_ex1_c28x1.out" .cinit ==> (BOOT TABLE)
    [62]   "flash_kernel_c28x_dual_ex1_c28x1.out" .const ==> (BOOT TABLE)
    [63]   "flash_kernel_c28x_dual_ex1_c28x1.out" .TI.ramfunc ==> (BOOT TABLE)
    [64]   "flash_kernel_c28x_dual_ex1_c28x1.out" MSGRAM_CPU1_TO_CPU2_COPY_TO_M1_RAM ==> (BOOT TABLE)
    [65]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.1 ==> (BOOT TABLE)
    [66]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.2 ==> (BOOT TABLE)
    [67]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.3 ==> (BOOT TABLE)
    [68]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.4 ==> (BOOT TABLE)
    [69]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.5 ==> (BOOT TABLE)
    [70]Finished building secondary target: "flash_kernel_c28x_dual_ex1_c28x1.txt"
     
    [71]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/hex2000" "flash_kernel_c28x_dual_ex1_c28x1.out" -boot -sci8 -a -o "flash_kernel_c28x_dual_ex1_c28x1.txt"
    [72]Translating to ASCII-Hex format...
    [73]   "flash_kernel_c28x_dual_ex1_c28x1.out" codestart ==> (BOOT TABLE)
    [74]   "flash_kernel_c28x_dual_ex1_c28x1.out" .cinit ==> (BOOT TABLE)
    [75]   "flash_kernel_c28x_dual_ex1_c28x1.out" .const ==> (BOOT TABLE)
    [76]   "flash_kernel_c28x_dual_ex1_c28x1.out" .TI.ramfunc ==> (BOOT TABLE)
    [77]   "flash_kernel_c28x_dual_ex1_c28x1.out" MSGRAM_CPU1_TO_CPU2_COPY_TO_M1_RAM ==> (BOOT TABLE)
    [78]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.1 ==> (BOOT TABLE)
    [79]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.2 ==> (BOOT TABLE)
    [80]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.3 ==> (BOOT TABLE)
    [81]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.4 ==> (BOOT TABLE)
    [82]   "flash_kernel_c28x_dual_ex1_c28x1.out" .text.5 ==> (BOOT TABLE)
     
    
    [83]**** Build Finished 



    3. Programming the Flash with CSS using the TI XDS110 USB Debug Probe on the LaunchXL-F28P65X.

    4. Where is "SysCtl_delay()" implemented? Is it in the driverlib.lib?

    Thanks,

    Rob

  • Hi Sira,

    I solved my issue.

    I forgot to add _FLASH to the Compiler Pre-define list when porting the example to my F28P55x project.  So, the following memcpy() and 

    Flash_initModule() was not being called.

    void Device_init(void)
    {
        //
        // Disable the watchdog
        //
        SysCtl_disableWatchdog();
    #ifdef CMDTOOL
        CMD_init();
    #endif
    
    #ifdef _FLASH
    #ifndef CMDTOOL
        //
        // Copy time critical code and flash setup code to RAM. This includes the
        // following functions: InitFlash();
        //
        // The RamfuncsLoadStart, RamfuncsLoadSize, and RamfuncsRunStart symbols
        // are created by the linker. Refer to the device .cmd file.
        //
        memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
    #endif
        //
        // Call Flash Initialization to setup flash waitstates. This function must
        // reside in RAM.
        //
        Flash_initModule(FLASH0CTRL_BASE, FLASH0ECC_BASE, DEVICE_FLASH_WAITSTATES);
    #endif
    
    #ifdef CPU1
    
        //
        // Set up PLL control and clock dividers
        //
        SysCtl_setClock(DEVICE_SETCLOCK_CFG);

    Thanks again for your help,

    Rob