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.

AM6442: WDT on M4F

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG, TPIC2810, TCA6424, UNIFLASH

Hello,

I am trying to configure the WDT for the M4F on the AM6442. The technical reference manual says that there is a WDT for the M4F, but I can't seem to find anything on how to set this up.

The WDT for the M4F doesn't appear in sysconfig like it does for the A53 and the R5F as shown below. I also can't find any examples on how to set this up either.

How can I set up the WDT for the M4F?

Thanks for your help,

Brycen

  • Hello Brycen

    Thank you for the query.

    Let me check internally and update you.

    Regards,

    Sreenivasa

  • I am trying to configure the WDT for the M4F on the AM6442. The technical reference manual says that there is a WDT for the M4F, but I can't seem to find anything on how to set this up.

    Hello Brycen,

    As per the SOC, WDT timer can available on  M4F core.

    It is not supported in MCU+SDK. So, that's reason it is not available in system cfg.

    You can do one thing. Look  at R5F example for WDT example and in system_init the clock should be enabled for R5F WDT and next WDT the initializations done.

    So, manually you need to do two steps in your M4F example.

    The same WDT driver can be applicable  for M4F core, but you need to pass the M4F WDT base address. This way, this driver works on M4F core as well.

    Please let me know if you need any help.

    Regards,

    Anil.

  • Is there a simple way to do this? Why doesn't MCU+SDK support the WDT on the M4F?

  • Hello Brycen,

    In MCU+SDK we don't support all features and if any features are not available on MCU+SDK, users need to implement them.

    I can try to give WDT on M4F code by EOD.

    Regards,

    Anil.

  • Hello Brycen,

    I have created the code for WDT on M4F core.

    It is working partially, and the issue is that the watchdog interrupt is triggered for two times.

    I need to check why the interrupt is coming for two times.

    Please try to use this example and check further why the interrupt is triggered twice on your side .

    Meanwhile, I need to switch to other escalations and if you are not able to solve it then I can look at this issue.

    Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang.zip

    Regards,

    Anil.

  • I tried to run the project you provided and I get an undeclared identifier error. Once I get around this error, I can look into why the interrupt double triggers. Is there an easy way to modify the code so that a warm reset is triggered?

    Thanks for your dedicated work on getting the WDT to work on the M4F. I look forward to getting it completely working. 

    Brycen

  • Hello Brycen,

    Sorry for the delayed reply . I was busy with other escalations yesterday.

    You are correct, I missed sharing driver updates.

    I have updated two changes in the driver and for them, you can find the files below. 

    Path : 

    C:\ti\mcu_plus_sdk_am64x_09_02_00_50\source\drivers\watchdog\v1\soc\am64x_am243x

    File : 

    watchdog_soc.h

    Path : 

    C:\ti\mcu_plus_sdk_am64x_09_02_00_50\source\drivers

    File : 

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/makefile.am64x.m4f.ti_2D00_arm_2D00_clang

    You need to integrate above changes and do compilation for driver and after that you need to compile your application .

    Then , finally load the out file from the CCS and see you are able to get the watchdog interrupt or not .

    To build the library files link below can be helpful for you.

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/latest/exports/docs/api_guide_am64x/MAKEFILE_BUILD_PAGE.html

    Regards,

    Anil.

  • I added these files to the correct location and I tried to build the library files but I got an error for a missing file related to the R5F. I've been looking around for what may be causing this error, but I'm unsure why the R5F even needs to be built in this scenario. Do you know why this error is occurring?

  • Hello Brycen,

    You need to download the exact CCS version.

    I assume that you are not using CCS 12.5 Version if you don't use that version, try to download and do the same steps.

    Regards,

    Anil.

  • Hi Swargam,

    I use CCS 12.6.0. Do I still need version 12.5.0? Is the compilation not compatible with the newer version?

    How does the CCS version interfere with the compilation of the libraries?

    Thank you,

    Brycen

  • Hello Brycen,

    I use CCS 12.6.0. Do I still need version 12.5.0? Is the compilation not compatible with the newer version?

    When you try to compile libraries, all the tools version information is taken by the build system from imported make file.

    Please look at the image below. Here, if you change to your ccs version , you don't get above  problem.

     Please try to use the same version that is mentioned in MCU+SDK since we have tested all examples with the same version.

    Regards,

    Anil.

  • I installed version 12.5.0 and now I get a compilation error for the A53 when I try to rebuild the libraries. 

    When using CCS 12.5.0 to try to compile the project, I get these errors:

    Here is the build output:

    **** Build of configuration Debug for project empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang ****

    "C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k -j 24 all -O

    Building file: "../example.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1250/ccs/utils/sysconfig_1.18.0/sysconfig_cli.bat" -s "C:/ti/mcu_plus_sdk_am64x_09_01_00_41/.metadata/product.json" --script "C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/example.syscfg" --context "m4fss0-0" -o "syscfg" --part Default --package ALV --compiler ticlang
    Running script...
    Validating...
    info: /kernel/dpl/debug_log uartLog.baudRate: Actual Baudrate Possible: 115385 (0 % error)
    Generating Code (example.syscfg)...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_config.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_config.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_soc.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_lwipif.c...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_lwipif.h...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_pru_io_config.inc...
    Writing C:\Users\BrycenHillukka\Downloads\Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang\empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang\Debug\syscfg\linker.cmd...
    Finished building: "../example.syscfg"

    Building file: "../empty.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"empty.d_raw" -MT"empty.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"empty.o" "../empty.c"
    Finished building: "../empty.c"

    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
    Finished building: "syscfg/ti_dpl_config.c"

    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"

    Building file: "syscfg/ti_drivers_open_close.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
    Finished building: "syscfg/ti_drivers_open_close.c"

    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
    Finished building: "syscfg/ti_pinmux_config.c"

    Building file: "syscfg/ti_power_clock_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
    Finished building: "syscfg/ti_power_clock_config.c"

    Building file: "syscfg/ti_board_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
    Finished building: "syscfg/ti_board_config.c"

    Building file: "syscfg/ti_board_open_close.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
    Finished building: "syscfg/ti_board_open_close.c"

    Building file: "syscfg/ti_enet_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_config.d_raw" -MT"syscfg/ti_enet_config.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_enet_config.o" "syscfg/ti_enet_config.c"
    Finished building: "syscfg/ti_enet_config.c"

    Building file: "syscfg/ti_enet_open_close.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_open_close.d_raw" -MT"syscfg/ti_enet_open_close.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_enet_open_close.o" "syscfg/ti_enet_open_close.c"
    Finished building: "syscfg/ti_enet_open_close.c"

    Building file: "syscfg/ti_enet_soc.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_soc.d_raw" -MT"syscfg/ti_enet_soc.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_enet_soc.o" "syscfg/ti_enet_soc.c"
    Finished building: "syscfg/ti_enet_soc.c"

    Building file: "syscfg/ti_enet_lwipif.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_lwipif.d_raw" -MT"syscfg/ti_enet_lwipif.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_enet_lwipif.o" "syscfg/ti_enet_lwipif.c"
    Finished building: "syscfg/ti_enet_lwipif.c"

    Building file: "../main.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.2.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/m4f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"C:/Users/BrycenHillukka/Downloads/Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang/empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"main.o" "../main.c"
    Finished building: "../main.c"

    Building target: "empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang.out"
    Invoking: Arm Linker
    "C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"empty.Debug.map" -Wl,-i"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source/drivers/lib" -Wl,-i"C:/ti/ti-cgt-armllvm_3.2.2.LTS/lib" -Wl,--reread_libs -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang.out" "./empty.o" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./main.o" -Wl,-l"syscfg/linker.cmd" -Wl,-lfreertos.am64x.m4f.ti-arm-clang.debug.lib -Wl,-ldrivers.am64x.m4f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a
    makefile:149: recipe for target 'empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang.out' failed
    "syscfg/linker.cmd", line 57: warning #10097: memory range not found: USER_SHM_MEM on page 0
    "syscfg/linker.cmd", line 56: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss.user_shared_mem" size 0
    "syscfg/linker.cmd", line 60: warning #10097: memory range not found: LOG_SHM_MEM on page 0
    "syscfg/linker.cmd", line 59: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss.log_shared_mem" size 0
    "syscfg/linker.cmd", line 63: warning #10097: memory range not found: IPC_VRING_MEM on page 0
    "syscfg/linker.cmd", line 62: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss.ipc_vring_mem" size 0

    undefined first referenced
    symbol in file
    --------- ----------------
    Watchdog_clear ./empty.o
    Watchdog_close ./empty.o
    Watchdog_open ./empty.o

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang.out" not built
    tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
    gmake[1]: *** [empty_am64x-evm_m4fss0-0_freertos_ti-arm-clang.out] Error 1
    gmake: *** [all] Error 2
    makefile:145: recipe for target 'all' failed

    **** Build Finished ****

    Why can't the project find any of the watchdog functions? Is there a missing link to the watchdog files, or is there some other issue? Why is the watchdog project version dependent? All of my other projects work with CCS 12.6.0.

  • I installed version 12.5.0 and now I get a compilation error for the A53 when I try to rebuild the libraries. 

    Hello Brycen,

    Sorry for the delayed reply as I was on other escalations.

    The above errors for A53 is seems that you have not installed the GCC A53 compilers.

    Please install the GCC A53 compiler from the link below.

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/latest/exports/docs/api_guide_am64x/SDK_DOWNLOAD_PAGE.html

    Watchdog_clear ./empty.o
    Watchdog_close ./empty.o
    Watchdog_open ./empty.o

    The above error is due to linker issues.

    Can you please confirm have you integrate the above the make file and.h files in your project ?

    After integrating them, did you compile the m4f libraries ?

    After the compilation of M4F libraries, compile the Application with a clean build.

    Please try the above steps and see if you still have the issue.

     

    Regards,

    Anil.

  • I have the A53 compilers installed. I am able to develop for the A53. I have also integrated both the makefile and .h files, but I am unable to compile the M4F libraries. The errors for trying to compile the libraries was in my previous reply.

  • Hello Brycen,

    You are getting linker errors, which means that libraries are not properly linked to your project.

    This issue comes even if you compile the M4F libraries in two ways.

    1. Compiling M4F libraries in release mode and compiling Application in debug mode.

    To compile, M4F libraries in debug mode → after giving the gamke command,  in the last you need to give the PROFILE=debug command.

    Otherwise, you have done compilation for M4F libraries properly, then change your application in release mode 

    2. Try to do  clean build and rebuild the Application .

    If you still face the above issue, you need to share your entire project with zip, including libraries.


    Regards,

    Anil.

  • Hello Anil,

    Sorry for the late response, I got caught up doing other tasks. I have reinstalled the A53 compiler. Here is my new build output:

    C:\ti\mcu_plus_sdk_am64x_09_01_00_41>gmake -s libs PROFILE=debug
    Compiling: board.am64x.a53.gcc-aarch64.debug.lib: led/led.c
    Compiling: board.am64x.a53.gcc-aarch64.debug.lib: led/led_gpio.c
    Compiling: board.am64x.a53.gcc-aarch64.debug.lib: led/led_tpic2810.c
    Compiling: board.am64x.a53.gcc-aarch64.debug.lib: led/led_ioexp.c
    Compiling: board.am64x.a53.gcc-aarch64.debug.lib: ioexp/ioexp_tca6424.c
    .
    Archiving: board.am64x.a53.gcc-aarch64.debug.lib to lib/board.am64x.a53.gcc-aarch64.debug.lib ...
    Archiving: board.am64x.a53.gcc-aarch64.debug.lib Done !!!
    .
    Compiling: dhrystone_benchmark.am64x.a53.gcc-aarch64.debug.lib: src/dhry.c
    .
    Archiving: dhrystone_benchmark.am64x.a53.gcc-aarch64.debug.lib to lib/dhrystone_benchmark.am64x.a53.gcc-aarch64.debug.lib ...
    Archiving: dhrystone_benchmark.am64x.a53.gcc-aarch64.debug.lib Done !!!
    .
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: adc/v0/adc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader_buf_io.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader_flash.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader_mem.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader_mmcsd_raw.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/soc/am64x_am243x/bootloader_soc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader_xmodem.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader_uniflash.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/bootloader_profile.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/xmodem.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: bootloader/crc16.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: crc/v0/crc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/hw_include/csl_bcdma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ddr/v0/csl_emif.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/hw_include/csl_intaggr.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/hw_include/csl_lcdma_ringacc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/hw_include/csl_pktdma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/ringacc/V0/priv/csl_ringacc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/csl_sec_proxy.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/V1_1/csl_serdes3.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_serdes3_pcie.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_wiz16m_ct2_refclk100MHz_32b_PCIe.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_wiz16m_ct2_refclk19p2MHz_32b_PCIe.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_wiz16m_ct2_refclk20MHz_32b_PCIe.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_wiz16m_ct2_refclk24MHz_32b_PCIe.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_wiz16m_ct2_refclk25MHz_32b_PCIe.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_wiz16m_ct2_refclk26MHz_32b_PCIe.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: hw_include/serdes_cd/V1/csl_wiz16m_ct2_refclk27MHz_32b_PCIe.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ecap/v0/ecap.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: epwm/v0/epwm.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: eqep/v0/eqep.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: esm/v1/esm_v1.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: elm/v0/elm_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: firewall/v0/firewall.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: fsi/v0/fsi_rx.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: fsi/v0/fsi_tx.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: gpio/v0/gpio.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: gpmc/v0/gpmc_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: gpmc/v0/dma/gpmc_dma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: gpmc/v0/dma/udma/gpmc_dma_udma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: gtc/v0/gtc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: i2c/v0/i2c_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ipc_notify/v0/ipc_notify_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ipc_notify/v0/soc/am64x/ipc_notify_v0_cfg.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ipc_rpmsg/ipc_rpmsg.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ipc_rpmsg/ipc_rpmsg_vring.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ddr/v0/cdn_drv/src/lpddr4_16bit_ctl_regs_rw_masks.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ddr/v0/cdn_drv/src/lpddr4_obj_if.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ddr/v0/cdn_drv/src/lpddr4.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ddr/v0/cdn_drv/src/lpddr4_16bit.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ddr/v0/ddr.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ddr/v0/soc/am64x_am243x/ddr_soc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: mcan/v0/mcan.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: mcspi/v0/mcspi_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: mcspi/v0/lld/dma/udma/mcspi_dma_udma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: mcspi/v0/lld/mcspi_v0_lld.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: mdio/v0/mdio_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: mmcsd/v0/mmcsd_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: mmcsd/v0/mmcsd_priv.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ospi/v0/ospi_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ospi/v0/dma/ospi_dma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ospi/v0/dma/udma/ospi_dma_udma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ospi/v0/ospi_nor_flash.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: ospi/v0/ospi_phy.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pcie/pcie.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pcie/v0/pcie_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pcie/v0/soc/am64x_am243x/pcie_serdes.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pcie/v0/soc/am64x_am243x/pcie_soc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pinmux/am64x_am243x/pinmux.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pmu/pmu.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pruicss/g_v0/pruicss_g_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pruicss/soc/am64x_am243x/pruicss_g_v0_cfg.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/sciclient.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/sciclient_pm.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/sciclient_rm.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/sciclient_rm_irq.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/sciclient_procboot.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/sciclient_firewall.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/soc/am64x_am243x/sciclient_irq_rm.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/soc/am64x_am243x/sciclient_fmwSecureProxyMap.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/sciclient_boardcfg.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: sciclient/soc/am64x_am243x/sciclient_soc_priv.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: soc/am64x_am243x/soc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: spinlock/v0/spinlock.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: timer_mgr/v0/priv/csl_timer_mgr.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: uart/v0/uart_v0.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: uart/v0/lld/uart_v0_lld.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: uart/v0/lld/dma/udma/uart_dma_udma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma_ch.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma_event.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma_flow.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma_ring_common.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma_ring_lcdma.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma_rm.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/soc/am64x_am243x/udma_rmcfg.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/soc/udma_rmcfg_common.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/soc/am64x_am243x/udma_soc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: udma/udma_utils.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: watchdog/v1/watchdog_rti.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: watchdog/v1/soc/am64x_am243x/watchdog_soc.c
    Compiling: drivers.am64x.r5f.ti-arm-clang.debug.lib: pmu/r5f/csl_arm_r5_pmu.S
    .
    Archiving: drivers.am64x.r5f.ti-arm-clang.debug.lib to lib/drivers.am64x.r5f.ti-arm-clang.debug.lib ...
    Archiving: drivers.am64x.r5f.ti-arm-clang.debug.lib Done !!!
    .
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: adc/v0/adc.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: crc/v0/crc.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: udma/hw_include/csl_bcdma.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: ddr/v0/csl_emif.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: udma/hw_include/csl_intaggr.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: udma/hw_include/csl_lcdma_ringacc.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: udma/hw_include/csl_pktdma.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: hw_include/ringacc/V0/priv/csl_ringacc.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/csl_sec_proxy.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: ecap/v0/ecap.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: epwm/v0/epwm.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: eqep/v0/eqep.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: fsi/v0/fsi_rx.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: fsi/v0/fsi_tx.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: gpio/v0/gpio.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: gtc/v0/gtc.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: i2c/v0/i2c_v0.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: ipc_notify/v0/ipc_notify_v0.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: ipc_notify/v0/soc/am64x/ipc_notify_v0_cfg.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: ipc_rpmsg/ipc_rpmsg.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: ipc_rpmsg/ipc_rpmsg_vring.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: mcan/v0/mcan.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: mcspi/v0/mcspi_v0.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: mcspi/v0/lld/mcspi_v0_lld.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: mcspi/v0/lld/dma/dummy/mcspi_dma_dummy.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: ospi/v0/ospi_v0.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: pinmux/am64x_am243x/pinmux.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: spinlock/v0/spinlock.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/sciclient.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/sciclient_pm.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/sciclient_rm.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/sciclient_rm_irq.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/sciclient_procboot.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/sciclient_firewall.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/soc/am64x_am243x/sciclient_irq_rm.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/soc/am64x_am243x/sciclient_fmwSecureProxyMap.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/sciclient_boardcfg.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: sciclient/soc/am64x_am243x/sciclient_soc_priv.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: soc/am64x_am243x/soc.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: uart/v0/uart_v0.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: uart/v0/lld/uart_v0_lld.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: uart/v0/lld/dma/dummy/uart_dma_dummy.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: watchdog/v1/watchdog_rti.c
    Compiling: drivers.am64x.m4f.ti-arm-clang.debug.lib: watchdog/v1/soc/am64x_am243x/watchdog_soc.c
    .
    Archiving: drivers.am64x.m4f.ti-arm-clang.debug.lib to lib/drivers.am64x.m4f.ti-arm-clang.debug.lib ...
    C:\ti\ccs1250\ccs\tools\compiler\ti-cgt-armllvm_3.2.0.LTS\bin\tiarmar.exe: error: obj/am64x/ti-arm-clang/debug/m4f/drivers/i2c_v0_lld.obj: no such file or directory
    makefile.am64x.m4f.ti-arm-clang:214: recipe for target 'lib/drivers.am64x.m4f.ti-arm-clang.debug.lib' failed
    gmake[2]: *** [lib/drivers.am64x.m4f.ti-arm-clang.debug.lib] Error 1
    makefile.am64x:634: recipe for target 'drivers_m4f.ti-arm-clang' failed
    gmake[1]: *** [drivers_m4f.ti-arm-clang] Error 2
    makefile:68: recipe for target 'libs' failed
    gmake: *** [libs] Error 2

    I am trying to run the watchdog example you provided in debug mode. I have also tried to do a clean build, but still run into the same errors. I have attached my M4F watchdog project and the zipped drivers directory from C:\ti\mcu_plus_sdk\source.

    Thanks for your help,

    Brycen

    0702.Watchdog_am64x-evm_m4fss0-0_freertos_ti-arm-clang.zip 0702.drivers.zip

  • Hello Brycen,

    I can check and let you know .

    Regards,

    Anil.

  • Hi Anil,

    I am following up on our M4F WDT discussion. Have you had a chance to look at the project and drivers I sent you?

    Thanks,

    Brycen

  • Hello Brycen,

    I have compared your driver folder with mine and seen the difference below.

    Still, you did not update the highlighted macro value in your application.

    Right Side - >  Your Changes 

    Left Side - >  My Changes 

    Please change WATCHDOG_INST_ID_MAX value to WATCHDOG_INST_ID_MCU_RTI0 in your Application .

    Regards,

    Anil.