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: AM6442: LED23 on TMDS64EVM EvalKit

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi Nick,

Concerning this topic AM6442: LED23 on TMDS64EVM EvalKit - Processors forum - Processors - TI E2E support forums, I've found what's wrong.

I hope my answer will help others in my situation. 

My issue : When R5F core started my application to blinking LED23 from U-boot (with remoteproc command) or from boot via SBL, the R5F application crashed during the first few seconds of Linux startup.

After debugging via CCS, I noticed that the module generating the delay had crashed and was runnig in an infinite loop.

Solution :  In sysconfig tool, I use TIMER 11 for the clock of my R5F application. See below 

But, in k3-am64-main.dtsi file, timer 11 is already used by Linux. So it's important to disable it (or the one you have selected in syconfig) like this and run again  "make linux-dtbs" from ti-processor-sdk-linux-am64xx-evm-10.00.07.04 directory to generate a new k3-am642-evm.dtb. Replace it in /boot/dtb/ti directory on your SDcard or EMMC.    

/*
        main_timer11: timer@24b0000 {
                compatible = "ti,am654-timer";
                reg = <0x00 0x24b0000 0x00 0x400>;
                interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&k3_clks 47 1>;
                clock-names = "fck";
                assigned-clocks = <&k3_clks 47 1>;
                assigned-clock-parents = <&k3_clks 47 2>;
                power-domains = <&k3_pds 47 TI_SCI_PD_EXCLUSIVE>;
                ti,timer-pwm;
        };
*/
        main_esm: esm@420000 {
                bootph-pre-ram;
                compatible = "ti,j721e-esm";
                reg = <0x00 0x420000 0x00 0x1000>;
                ti,esm-pins = <160>, <161>;
        };

After that, R5F application works fine with Linux.