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.

RTOS/PROCESSOR-SDK-AM437X: Watchdog Timer drivers

Part Number: PROCESSOR-SDK-AM437X

Tool/software: TI-RTOS

Hi,
The example in c:\ti\pdk_am437x_1_0_7\packages\ti\csl\example\wdtimer\wdtimer_reset_app\ uses the CSL watchdog timer APIs in c:\ti\pdk_am437x_1_0_7\packages\ti\csl\src\ip\wd_timer\, but it does not have a compiler switch for the AM437x.

Do these APIs can be used for AM437x watchdog?

Are they included in "ti.csl.aa9fg"? If I try to use them I get "undefined reference" error.

Installed itens:
CCS 7.2
GCC ARM Compiler 4.9.3
processor_sdk_rtos_am437x  4.00.00.04
am437x PDK v1.0.7
bios 6.46.05.55
xdctools 3.32.02.25_core
Board: AM437x Starter Kit

regards,
Marcio.

  • The RTOS team have been notified. They will respond here.
  • Hi,

    That CSL watch dog timer example doesn't apply to AM437x. You can refer to the one under pdk_am437x_1_0_x\packages\ti\starterware\examples\wdt

    Regards, Eric
  • Hi Eric,

    The example uses code from the "startware". Is it ocorrect to use the "startware" instead of the CSL?

    wtd.h include files which the compiler cannot find because the path is not configured in CCS.

    In the other hand, CSL has watchdog timer APIs in c:\ti\pdk_am437x_1_0_7\packages\ti\csl\src\ip\wd_timer\. They seem to apply to any ARM device, but they seem to not be included in "ti.csl.aa9fg".

    regards,
    Marcio.

  • Hi,

    For the CSL one, pdk_am437x_1_0_7\packages\ti\csl\src\ip\wd_timer, if you look at src_files_wd_timer.mk, it doesn't have AM437x, so the library "ti.csl.aa9fg" doesn't have those WDT functions.

    "The example uses code from the "startware". Is it ocorrect to use the "startware" instead of the CSL?
    wtd.h include files which the compiler cannot find because the path is not configured in CCS."=======> You can add the include path like "../../../../../include/" in CCS to have wdt.h, which is under ti/starterware/include.

    Regards, Eric
  • Thanks Eric.
    I think it would be a good improvement to add APIs to deal with the AM437x watchdog timer in a future revision of CSL, so applications would not have to refer to the startware.
    regards,