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.

AM620-Q1: MCU Only 3 minute reset after TIFS timeout

Other Parts Discussed in Thread: SK-AM62-LP, AM620

Hi Gibbs,

May I ask about the problem that the EVB board cannot wake up

after entering mcu only mode and automatically reset after 3 minutes?

Do you have the E2E bill of lading? Please share the link if you have.

Thanks

  • Hi Walter, Gibbs,

    The ROM configures a watchdog timer for the system. The TIFS will pet the watchdog timer periodically. If the watchdog timer expires after 3 minutes without a pet, then SoC will reset itself. When this occurs, it could possibly indicate that the TIFS has crashed at somepoint.

    This mechanism will exist when the SoC is in any state.

    What we noticed is when we have a USB A device connected to the TI EVM, then attempt to suspend, it will run into this behavior.

    We fixed this on the SK-AM62-LP board by removing the pull down resistor to keep the USB1_DRVVBUS signal high:

      

    After removing this pull down resistor in the SK-AM62-LP board, we are able to suspend and resume without any issues.

    Best Regards,

    Anshu

  • Hi, Anshu

    I think there is no relationship with USB device A, because there is no USB device on EVM. 

    Because we use this function (SOC_triggerMcuLpmWakeup()) trigger A53 (Linux) wake up cycling & repeat without any real GPIO trigger, it still happen.

    each cycle around ~ 10 sec.

    	vTaskDelay(1000);
    	SOC_triggerMcuLpmWakeup();
    	SemaphoreP_pend(&gLpmResumeSem, SystemP_WAIT_FOREVER);

    The only thing that we know, TIFS should be crash, so it caused  watchdog reset.

    Do we have any mechanism or log to track this issue?

    What's the reason caused watchdog reset?

    We record the video, download link as below.

    https://tidrive.ext.ti.com/u/_VQTrChUE8PvVBOj/19f349ad-cf0f-48e2-a7a2-27da2fa89a16?l

    password : 2b}5bWja 

    When we execute 7348 times (wakeup from LPM), system reboot.

    record 00:03:10

     

    Thank You.

    Gibbs

  • Hi Gibbs,

    I'm working running a similar iterative test on my EVM to try to replicate this issue. It will takes sometime and will run over night. 

    I'll update this thread when the results occur.

    Thanks,

    Anshu

  • Thank You, Anshu

    I also duplicate the test on my side, and wait error happens.

    Gibbs

  • Hi Gibbs,

    Can you please re-run the same test but enable the SYSFW trace logs? Follow the instructions here: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1323581/faq-processor-sdk-am62x-a-p-how-can-we-debug-deep-sleep-on-am62x-am62a-am62p-using-sysfw-trace

    This will allow us to see the last executed step of low power mode sequence before failure which can give us information.

    You might need to skip the step about modifying ti_sci.c.

    Thanks,

    Anshu

  • Hi Gibbs,Anshu,

    After removing ADB from our product, the probability of wake-up failure followed by automatic reset
    after 3 minutes has been significantly reduced, basically consistent with the failure rate of the EVB board.
    1.We need to understand the root cause of TIFS crash caused by USB, as our USB_DRWBUS is floating (not grounded).
    2.Please resolve the issue of EVB failure during sleep wake-up and automatic reset after 3 minutes as soon as possible.

    Thanks
  • Hi Walter,

    Please let us know when you have recent logs with the SYSFW trace enabled.

    If you have any issues getting the SYSFW trace enabled, please let us know.

    Thanks,

    Anshu

  • Hi Anshu,

      How is the result of your reproduction with GIBBS? If you need me to reproduce it,

    please directly provide the firmware that can be written to the SD card.

    The firmware we are currently using is downloaded from the TI official website.

    Thanks,

  • Hi, Anshu

    Thanks you help.

    This is a double check.

    If we follow steps in "SYSFW TRACE LOG FAQ", and rebuild u-boot only

    because we may not need to not mofiy ti_sci.c, so it means we do not need to replace linux kernel

    I think "k3-am62x-sk-lpm-wkup-sources.dtbo" just an option, if we do not use real gpio trigger for wakeup, we do not need to use it.

    Hi, Walter

    share my test binary first, it works for me. 

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/3022.tiboot3_2D00_am62x_2D00_hs_2D00_fs_2D00_evm.bin

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/3022.tispl.bin

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/8712.u_2D00_boot.img

    Gibbs

  • Hi Gibbs,

    Yes, only U-Boot board-cfg file needs to be updated and the linux device tree needs to have the wakeup source overlay added.

    The ti_sci.c might not be required since it depends on the wake up source.

    The most important part of the logs contains the DEVICE_OFF(Device has been Turned OFF) & PM_LPM_SEQ(Low power mode sequence). So when sharing the logs, please make sure these are included.


    Thanks,

    Anshu

  • Hi Gibbs,

      I have received the document you shared. May I ask about your pressure test results?

    Have you reproduced this issue and captured the log?

    Thanks,

  • Hi, Walter

    I have reproduced this issue on EVB one time before, but it happen around > 4 day.

     After follow Anshu's debug suggestion, I try to capture the log again, so far it runs well on my side,  wait it happens.

    Walter,

    I think you should also duplicate the same test on your side.

    Gibbs

  • Hi Gibbs,Anshu,

     I have reproduced the issue using EVB, and the log is attached.

    It seems that there is no difference between the log when the exception occurs and the normal log.

    Thanks,

    wake soc,cnt = 5956
    wake soc,cnt = 5957
    wake soc,cnt = 5958
    wake soc,cnt = 5959
    wake soc,cnt = 5960
    [IPC RPMSG ECHO] Version: REL.MCUSDK.K3.10.00.00.14+ (Jul 10 2025 15:28:23):
    [IPC RPMSG ECHO] Remote Core waiting s
                                          for messages at end point 13 ... !!!
    
    Sciserver Testapp Built On: Nov 14 2024 14:00:38
    Sciserver Version: v2024.11.0.0-REL.MCUSDK.K3.10.01.00.10+
    RM_PM_HAL Version: v10.01.08
    Starting Sciserver..... PASSED
    [IPC RPMSG ECHO] Version: REL.MCUSDK.K3.10.01.00.10+ (Nov 14 2024 14:02:25):
    [IPC RPMSG ECHO] Remote Core waiting for messages at end point 13 ... !!!
    [IPC RPMSG ECHO] Remote Core waiting for messages at end point 14 ... !!!
    [IPC RPMSG ECHO] Message exchange started with RTOS cores !!!
    [IPC RPMSG ECHO] All echoed messages received by main core from 1 remote cores !!!
    [IPC RPMSG ECHO] Messages sent to each core = 100000
    [IPC RPMSG ECHO] Number of remote cores = 1
    [IPC RPMSG ECHO] Total execution time = 4920775 usecs
    [IPC RPMSG ECHO] One way message latency = 24603 nsec
    Sciserver Testapp Built On: Nov 14 2024 14:00:38
    Sciserver Version: v2024.11.0.0-REL.MCUSDK.K3.10.01.00.10+
    RM_PM_HAL Version: v10.01.08
    Starting Sciserver..... PASSED
    [IPC RPMSG ECHO] Version: REL.MCUSDK.K3.10.01.00.10+ (Nov 14 2024 14:02:25):
    [IPC RPMSG ECHO] Message exchange started with RTOS cores !!!
    [IPC RPMSG ECHO] Remote Core waiting for messages at end point 14 ... !!!
    [IPC RPMSG ECHO] Remote Core waiting for messages at end point 13 ... !!!
    [IPC RPMSG ECHO] All echoed messages received by main core from 1 remote cores !!!
    [IPC RPMSG ECHO] Messages sent to each core = 100000
    [IPC RPMSG ECHO] Number of remote cores = 1
    [IPC RPMSG ECHO] Total execution time = 5272839 usecs
    [IPC RPMSG ECHO] One way message latency = 26364 nsec
    Sciserver Testapp Built On: Nov 14 2024 14:00:38
    Sciserver Version: v2024.11.0.0-REL.MCUSDK.K3.10.01.00.10+
    RM_PM_HAL Version: v10.01.08
    Starting Sciserver..... PASSED
    [IPC RPMSG ECHO] Version: REL.MCUSDK.K3.10.01.00.10+ (Nov 14 2024 14:02:25):
    [IPC RPMSG ECHO] Message exchange started with RTOS cores !!!
    [IPC RPMSG ECHO] Remote Core waiting for messages at end point 14 ... !!!
    [IPC RPMSG ECHO] Remote Core waiting for messages at end point 13 ... !!!
    [IPC RPMSG ECHO] All echoed messages received by main core from 1 remote cores !!!
    [IPC RPMSG ECHO] Messages sent to each core = 100000
    [IPC RPMSG ECHO] Number of remote cores = 1
    [IPC RPMSG ECHO] Total execution time = 5384757 usecs
    [IPC RPMSG ECHO] One way message latency = 26923 nsec
    
    A53_log.txt

  • Hi, Anshu

    Short update,

    (1) I already dump SYSFW trace, I can see "DEVICE_OFF()" or "DEVICE_ON()" from PM, but I can not see "PM_LPM_SEQ()" in log, Do I miss anyrthing?

    download linl as below.

    https://tidrive.ext.ti.com/u/q9QPGX7UD3e51A8W/d5afe620-f0a2-435b-85ae-29e000db95fb?l

    password : 1x7|twFz

    (2) Before system is going to reboot, I found PM try to Power ON/OFF GPU (AM62X_DEV_GPU0) many times repeatly, but our device is AM620_Q1.

    I am not sure this is normal case.

    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000002: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000002
    0x62D10000: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 0
    0x62D0006A: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 106
    0x64162000: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 49 Module Retention Count: 0
    0x6414402C: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 34 Module Retention Count: 44
    0x62D10001: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x600000BB: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 187
    0x63962000: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 49 Module Use Count: 0
    0x6394402C: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 34 Module Use Count: 44
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x604000BB: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 187
    0x63D62001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 49 Module Use Count: 1
    0x63D4402D: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 45
    0x64562001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 49 Module Retention Count: 1
    0x63110002: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 2
    0x6454402D: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 45
    0x63110001: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x6310006B: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 107
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000002: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000002
    0x62D10000: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 0
    0x62D0006A: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 106
    0x64162000: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 49 Module Retention Count: 0
    0x6414402C: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 34 Module Retention Count: 44
    0x62D10001: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x600000BB: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 187
    0x63962000: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 49 Module Use Count: 0
    0x6394402C: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 34 Module Use Count: 44
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x604000BB: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 187
    0x63D62001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 49 Module Use Count: 1
    0x63D4402D: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 45
    0x64562001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 49 Module Retention Count: 1
    0x63110002: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 2
    0x6454402D: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 45
    0x63110001: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x6310006B: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 107
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000002: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000002
    0x62D10000: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 0
    0x62D0006A: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 106
    0x64162000: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 49 Module Retention Count: 0
    0x6414402C: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 34 Module Retention Count: 44
    0x62D10001: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x600000BB: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 187
    0x63962000: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 49 Module Use Count: 0
    0x6394402C: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 34 Module Use Count: 44
    0x61800100: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000100
    0x61C01C4B: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 75 Clock ID: 7
    0x62000001: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000001
    0x61800100: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000100
    0x61C0204B: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 75 Clock ID: 8
    0x62000001: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000001
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0004B: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 75 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040004B: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 75
    0x63D38002: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 28 Module Use Count: 2
    0x60C000C0: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 192
    0x60C0008A: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 138
    0x64538002: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 28 Module Retention Count: 2
    0x6310006B: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 107
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x604000BB: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 187
    0x63D62001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 49 Module Use Count: 1
    0x63D4402D: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 45
    0x64562001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 49 Module Retention Count: 1
    0x63110002: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 2
    0x6454402D: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 45
    0x63110001: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x6310006A: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 106
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000002: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000002
    0x62D10000: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 0
    0x62D00069: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 105
    0x64162000: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 49 Module Retention Count: 0
    0x6414402C: Power Management:             RETENTION_GET(Retention Get): PSC ID: 1 LPSC ID: 34 Module Retention Count: 44
    0x62D10001: Power Management:                 PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x600000BB: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 187
    0x63962000: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 49 Module Use Count: 0
    0x6394402C: Power Management:                   MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 34 Module Use Count: 44
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BB: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 187 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x604000BB: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 187
    0x63D62001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 49 Module Use Count: 1
    0x63D4402D: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 45
    0x64562001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 49 Module Retention Count: 1
    0x63110002: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 2
    0x6454402D: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 45
    0x63110001: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 8 PD Usage Count: 1
    0x6310006A: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 106

    Thanks

    Gibbs

  • Hi, Anshu

    Need your help.

    Because the log file is very large (>>700MB), I try to filter some useful key word to analysis why trigger WDT reset

    Do you have any suggedtion "key word" for searching?

    Thank You.

    Gibbs

  • Updata status.

    (1) How to check DM R5 (sysfw) reset ?

    sysfw = dm + pm

    If sysfw reboot, it will show some boot string like "Sciserver", example like below.

    Search key word "Sciserver" to label (find) rebot time slot in log.

    gibbs@gibbs-HP-ZBook-15-G5:~/work/am62_lp/ti-processor-sdk-linux-am62xx-evm-10.01.10.04/bin$ grep Sciserver am62x_deepsleep_9.1_0716.txt 
    Sciserver Testapp Built On: Nov 14 2024 14:00:38
    Sciserver Version: v2024.11.0.0-REL.MCUSDK.K3.10.01.00.10+
    Starting Sciserver..... PASSED

    (2) What's happen before board reboot?

    I believe root cause "should be" sysfw R5 reset first, and then it caused (board) system reboot

    I try to capture two log file, both of them have reboot issue, and I saw both of them seem have similar failed pattern, capture as below.

    Follow what I observated, when AM62 start to go to MCU LPM, it will try to power off MMCSD1 first, so it should be an landmark w/ LPM starting procedure in log file.

    DEVICE_OFF(Device has been Turned OFF): Device ID: 58

    0x6180030E: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x0000030E
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0003A: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 58 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040003A: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 58
    0x63D2A001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 21 Module Use Count: 1
    0x63D4402A: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 42
    0x60C000B9: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 185
    0x60C00088: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 136
    0x6452A001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 21 Module Retention Count: 1
    0x6310005F: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 95
    0x6454402A: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 42
    0x6310005E: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 94
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0004E: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 78 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040004E: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 78
    0x63D00015: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 21
    0x64500014: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 20
    0x6310005D: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 93
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0004D: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 77 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040004D: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 77
    0x63D00014: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 20
    0x64500013: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 19
    0x6310005C: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 92
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00039: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 57 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400039: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 57
    0x63D28001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 20 Module Use Count: 1
    0x63D44029: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 41
    0x60C000B8: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 184
    0x60C00087: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 135
    0x64528001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 20 Module Retention Count: 1
    0x6310005B: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 91
    0x64544029: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 41
    0x6310005A: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 90
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000B3: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 179 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x604000B3: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 179
    0x63D1A001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 13 Module Use Count: 1
    0x6451A001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 13 Module Retention Count: 1
    0x63100059: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 89
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000B2: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 178 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x604000B2: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 178
    0x63D18001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 12 Module Use Count: 1
    0x64518001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 12 Module Retention Count: 1
    0x63100058: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 88
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0000D: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 13 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040000D: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 13
    0x63D52001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 41 Module Use Count: 1
    0x63D44028: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 40
    0x60C000B6: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 182
    0x60C00037: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 55
    0x60C00036: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 54
    0x64552001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 41 Module Retention Count: 1
    0x63104002: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 2 PD Usage Count: 2
    0x64544028: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 40
    0x63104001: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 2 PD Usage Count: 1
    0x63100057: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 87
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0004B: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 75 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040004B: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 75
    0x63D38002: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 28 Module Use Count: 2
    0x60C000C0: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 192
    0x60C0008A: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 138
    0x64538002: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 28 Module Retention Count: 2
    0x63100056: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 86
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00092: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 146 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400092: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 146
    0x63D44027: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 39
    0x60C000D9: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 217
    0x60C000CF: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 207
    0x64544027: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 39
    0x63100055: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 85
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C000BA: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 186 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x604000BA: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 186
    0x63D66001: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 51 Module Use Count: 1
    0x63D44026: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 38
    0x60C000B7: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 183
    0x64566001: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 51 Module Retention Count: 1
    0x63112002: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 9 PD Usage Count: 2
    0x64544026: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 38
    0x63112001: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 9 PD Usage Count: 1
    0x63100054: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 84
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00068: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 104 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400068: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 104
    0x63D44025: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 37
    0x64544025: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 37
    0x63100053: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 83
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00067: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 103 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400067: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 103
    0x63D44024: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 36
    0x64544024: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 36
    0x63100052: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 82
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00066: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 102 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400066: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 102
    0x63D44023: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 35
    0x64544023: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 35
    0x63100051: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 81
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00075: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 117 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400075: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 117
    0x63D00013: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 19
    0x60C000FB: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 251
    0x64500012: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 18
    0x63100050: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 80
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00077: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 119 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400077: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 119
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0005F: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 95 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040005F: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 95
    0x63D00012: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 18
    0x64500011: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 17
    0x6310004F: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 79
    0x61800307: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000307
    Sciserver Testapp Built On: Nov 14 2024 14:00:38
    Sciserver Version: v2024.11.0.0-REL.MCUSDK.K3.10.01.00.10+
    RM_PM_HAL Version: v10.01.08
    Starting Sciserver..... PASSED
     

    We found : 

    (1) I guess device off "AM62X_DEV_WKUP_VTM0" should be the "final step" when swaps INTO MCU LPM

    (2) AM62 should be already in MCU LPM succefssful, but failed to wakeup. it caused sysfw reset.

    (2) sysfw reset happens when R5 gets message ID 0x00000307, what's mean this TISCI message ID?

    * Failed log pattern

    0x60400066: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 102
    0x63D44023: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 35
    0x64544023: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 35
    0x63100051: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 81
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00075: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 117 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400075: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 117
    0x63D00013: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 19
    0x60C000FB: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 251
    0x64500012: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 18
    0x63100050: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 80
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00077: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 119 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400077: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 119
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0005F: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 95 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040005F: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 95
    0x63D00012: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 18
    0x64500011: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 17
    0x6310004F: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 79
    0x61800307: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000307
    Sciserver Testapp Built On: Nov 14 2024 14:00:38
    Sciserver Version: v2024.11.0.0-REL.MCUSDK.K3.10.01.00.10+
    RM_PM_HAL Version: v10.01.08
    Starting Sciserver..... PASSED

    * Good log pattern

    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00068: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 104 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400068: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 104
    0x63D44027: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 39
    0x64544027: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 39
    0x6310005C: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 92
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00067: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 103 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400067: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 103
    0x63D44026: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 38
    0x64544026: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 38
    0x6310005B: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 91
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00066: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 102 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400066: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 102
    0x63D44025: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 34 Module Use Count: 37
    0x64544025: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 34 Module Retention Count: 37
    0x6310005A: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 90
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00075: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 117 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400075: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 117
    0x63D00012: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 18
    0x60C000FB: Power Management: CLOCK_DISABLE(Clock has been Turned OFF): Clock ID: 251
    0x64500012: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 18
    0x63100059: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 89
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C00077: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 119 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x60400077: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 119
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200
    0x61C0005F: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 95 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x6040005F: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 95
    0x63D00011: Power Management:                   MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 17
    0x64500011: Power Management:             RETENTION_PUT(Retention Put): PSC ID: 1 LPSC ID: 0 Module Retention Count: 17
    0x63100058: Power Management:                 PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 88
    0x61800307: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000307
    0x61800306: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000306
    0x61800200: Power Management:    MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000200

    part of error_0714.txt part of error_0716.txt

    (3) Summarize sysfw Enter/EXIT procedure for MCU LPM

    10	0x60000067: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 103  AM62X_DEV_I2C1
    857	0x60000068: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 104  AM62X_DEV_I2C2
    1336	0x6040003A: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 58   AM62X_DEV_MMCSD1
    1348	0x6040004E: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 78   AM62X_DEV_GPIO1
    1355	0x6040004D: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 77   AM62X_DEV_GPIO0
    1362	0x60400039: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 57   AM62X_DEV_MMCSD0
    
    
    wait in wakeup event -> console suspend
    
    
    1378	0x604000B3: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 179  AM62X_DEV_MAIN_USB1_ISO_VD
    1385	0x604000B2: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 178  AM62X_DEV_MAIN_USB0_ISO_VD
    1392	0x6040000D: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 13   AM62X_DEV_CPSW0
    1406	0x60400092: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 146  AM62X_DEV_UART0
    1415	0x604000BA: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 186  AM62X_DEV_DSS0
    1427	0x60400068: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 104  AM62X_DEV_I2C2
    1434	0x60400067: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 103  AM62X_DEV_I2C1
    1441	0x60400066: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 102  AM62X_DEV_I2C0
    1448	0x60400075: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 117  AM62X_DEV_WKUP_RTCSS0
    1456	0x60400077: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 119  AM62X_DEV_WKUP_R5FSS0
    1460	0x6040005F: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 95   AM62X_DEV_WKUP_VTM0
    
    but I think suspend should be happen here, because I found DM seems quee some message
    
    1471	0x6000005F: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 95   AM62X_DEV_WKUP_VTM0
    1476	0x60000077: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 119  AM62X_DEV_WKUP_R5FSS0
    1489	0x600000BF: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 191  AM62X_DEV_MCASP1
    1501	0x60000082: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 130  AM62X_DEV_RTI15
    1510	0x60000080: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 128  AM62X_DEV_RTI3
    1518	0x6000007F: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 127  AM62X_DEV_RTI2
    1526	0x6000007E: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 126  AM62X_DEV_RTI1
    1534	0x6000007D: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 125  AM62X_DEV_RTI0
    1541	0x600000BB: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 187  AM62X_DEV_GPU0
    1548	0x60000074: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 116  AM62X_DEV_MCRC64_0
    1556	0x60000075: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 117  AM62X_DEV_WKUP_RTCSS0
    1564	0x60000024: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 36   AM62X_DEV_TIMER0
    1572	0x60000025: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 37   AM62X_DEV_TIMER1
    1580	0x60000026: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 38   AM62X_DEV_TIMER2
    1588	0x60000027: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 39   AM62X_DEV_TIMER3
    1596	0x60000028: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 40   AM62X_DEV_TIMER4
    1604	0x60000029: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 41   AM62X_DEV_TIMER5
    1612	0x6000002A: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 42   AM62X_DEV_TIMER6
    1620	0x6000002B: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 43   AM62X_DEV_TIMER7
    1627	0x60000066: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 102  AM62X_DEV_I2C0
    1634	0x60000067: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 103  AM62X_DEV_I2C1
    1641	0x60000068: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 104  AM62X_DEV_I2C2
    1652	0x600000BA: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 186  AM62X_DEV_DSS0
    1662	0x60000092: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 146  AM62X_DEV_UART0
    1671	0x6000004B: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 75   AM62X_DEV_FSS0_OSPI_0
    1684	0x6000000D: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 13   AM62X_DEV_CPSW0
    1698	0x600000B2: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 178  AM62X_DEV_MAIN_USB0_ISO_VD
    1711	0x600000B3: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 179  AM62X_DEV_MAIN_USB1_ISO_VD
    1722	0x60000039: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 57   AM62X_DEV_MMCSD0
    1730	0x6000004D: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 77   AM62X_DEV_GPIO0
    1737	0x6000004E: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 78   AM62X_DEV_GPIO1
    1748	0x6000003A: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 58   AM62X_DEV_MMCSD1
    1756	0x60000072: Power Management:     DEVICE_ON(Device has been Turned ON): Device ID: 114  AM62X_DEV_WKUP_UART0
    
    
    
    3306	0x60400072: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 114
    3313	0x60400068: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 104
    3320	0x6040002B: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 43
    3328	0x6040002A: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 42
    3336	0x60400029: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 41
    3344	0x60400028: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 40
    3352	0x60400027: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 39
    3360	0x60400026: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 38
    3368	0x60400025: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 37
    3376	0x60400024: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 36
    3384	0x60400074: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 116
    3391	0x604000BB: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 187
    3398	0x6040007D: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 125
    3406	0x6040007E: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 126
    3414	0x6040007F: Power Management:   DEVICE_OFF(Device has been Turned OFF): Device ID: 127
    
    return to normal operation

    Hello, Anshu

    Do you have any suggestion?

    How do I know sysfw reset reason? Do we have any register to check it after reset happen?

    Thank You.

    Gibbs

  • Hi Gibbs,

    There are a lot of logs to review. I'll need sometime to review all the data and I'll get back to you.

    Thanks,

    Anshu

  • Status Update.

    (1) Why do you not see the label for "PM_LPM_SEQ"?

    Because you need to dump it from CCS w/ JTAG

    a) Follow FAQ, select memory dump format.

    b) check START & END address, 0x7800~0x7FF8

    c) Dump test file as below,

    0
    x
    6
    C
    0
    0
    2
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    7
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    8
    3
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    0
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    3
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    7
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    8
    3
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    0
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    3
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    7
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    8
    3
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    0
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    3
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    7
    0
    0
    .
    .
    0
    0
    0
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    8
    9
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    0
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    3
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    4
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    7
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    6
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    8
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    A
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    B
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    C
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    D
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    0
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    1
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    2
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    7
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    8
    3
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    9
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    E
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    1
    F
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    0
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    2
    5
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    3
    0
    0
    .
    .
    0
    x
    6
    C
    0
    0
    3
    4
    

    d) You need to write code to parser it. sampe code as below

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    
    int fileLength(const char filePath[]);
    void readFile_c(const char filePath[], char* outString);
    
    
    int fileLength(const char filePath[])
    {
        //Open the file
        FILE* file;
        
        if ((file = fopen(filePath, "r")) == NULL)
        {
            printf("ERROR: File (%s) cannot be opened.\n", filePath);
            return -1;
        }
        
        //Find the length
        fseek(file, 0, SEEK_END);
        int length = ftell(file);
        fclose(file);
        return length;
    }
    
    
    void readFile_c(const char filePath[], char* outString)
    {
        FILE* file;
        char c;
        char str1[10000];
        
        bzero(str1, sizeof(str1));
        
        //File reading
        if ((file = fopen(filePath, "r")) == NULL)
        {
            printf("ERROR: File (%s) cannot be opened.\n", filePath);
            exit(1);
        }
        
        //Get length of file and allocate the according amount of memory
        fseek(file, 0, SEEK_END);
        int fileLength = ftell(file);
        rewind(file);
        
        //Read file to string
        for (int i = 0; i < fileLength; i++){
            outString[i] = fgetc(file);  
        } //printf("fileLength = %d\n", fileLength);
        
        
        for (int i = 0; i < fileLength; i++){
                if(outString[i] !='\n')
                str1[i] = outString[i];
        }
    
        
        for (int i = 0; i < fileLength; i++){
                
             if(str1[i] != '.')
                printf("%c", str1[i]);
                
             if((str1[i] == '.') /*&& (str1[i+1] == '.')*/){
                printf("\n");
                i = i+2;
             }
                
        }    
        
        fclose(file);
    }
    
    int main()
    {
        char fileContents[fileLength("memory_dump_9.txt")];
        readFile_c("memory_dump_9.txt", &fileContents);
        
        return 0;
    }
    
    

    e) Assume buind binary is "a.out", execute

    a.out > result.txt

    Error log show as below, system can not auto reboot once RPMsg failed in this case.

    So this test case is different what I mention before. it should be another case.

    Configuring trace data version to: 0x03007
    0x6C002700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received continue resume  Value: 0
    0x6C002800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main IO isolation  Value: 0
    0x6C002900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled remaining PLL  Value: 0
    0x6C002A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DDR reset isolation  Value: 0
    0x6C002B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Exited DDR self reset  Value: 0
    0x6C002C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled USB reset isolation  Value: 0
    0x6C002D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Sent continue resume to TFS  Value: 0
    0x6C002E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received sync resume message  Value: 0
    0x6C003700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unload CAN magic words in MMR  Value: 0
    0x6C000100: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM stub started  Value: 0
    0x6C000200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unlocked MMRs  Value: 0
    0x6C003800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Load CAN magic words in MMR  Value: 0
    0x6C000400: Power Management:      PM_LPM_SEQ(Low power mode sequence): DDR in reset isolation  Value: 0
    0x6C007700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unknown Sub Message: 0x77  Value: 0
    0x6C000500: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled USB reset isolation  Value: 0
    0x6C000600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main LPSC  Value: 0
    0x6C000700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Bypassed main PLL  Value: 0
    0x6C000800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured wake-up sources  Value: 0
    0x6C000900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled Main IO isolation  Value: 0
    0x6C000A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled second set of main LPSC  Value: 0
    0x6C000B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Switched from MAIN PLL to MCU PLL  Value: 0
    0x6C000C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured clock muxes  Value: 0
    0x6C000D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled Main PLL  Value: 0
    0x6C000E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled DM reset mask  Value: 0
    0x6C000F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Kept main domain in reset  Value: 0
    0x6C001100: Power Management:      PM_LPM_SEQ(Low power mode sequence): Masked main domain reset  Value: 0
    0x6C001200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Gated WWD clock  Value: 0
    0x6C001700: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM in WFI  Value: 0
    0x6C001830: Power Management:      PM_LPM_SEQ(Low power mode sequence): LPM wake event  Value: 48
    0x6C001900: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM exited WFI  Value: 0
    0x6C001E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): unmasked WWD clock  Value: 0
    0x6C001F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabling MCU IO isolation  Value: 0
    0x6C002000: Power Management:      PM_LPM_SEQ(Low power mode sequence): Wrote stub magic word  Value: 0
    0x6C002500: Power Management:      PM_LPM_SEQ(Low power mode sequence): TIFS core is ready  Value: 0
    0x6C003300: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DM reset mask  Value: 0
    0x6C003400: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed main domain reset isolation  Value: 0
    0x6C002600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Loaded FS stub  Value: 0
    0x6C002700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received continue resume  Value: 0
    0x6C002800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main IO isolation  Value: 0
    0x6C002900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled remaining PLL  Value: 0
    0x6C002A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DDR reset isolation  Value: 0
    0x6C002B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Exited DDR self reset  Value: 0
    0x6C002C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled USB reset isolation  Value: 0
    0x6C002D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Sent continue resume to TFS  Value: 0
    0x6C002E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received sync resume message  Value: 0
    0x6C003700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unload CAN magic words in MMR  Value: 0
    0x6C000100: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM stub started  Value: 0
    0x6C000200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unlocked MMRs  Value: 0
    0x6C003800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Load CAN magic words in MMR  Value: 0
    0x6C000400: Power Management:      PM_LPM_SEQ(Low power mode sequence): DDR in reset isolation  Value: 0
    0x6C007700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unknown Sub Message: 0x77  Value: 0
    0x6C000500: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled USB reset isolation  Value: 0
    0x6C000600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main LPSC  Value: 0
    0x6C000700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Bypassed main PLL  Value: 0
    0x6C000800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured wake-up sources  Value: 0
    0x6C000900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled Main IO isolation  Value: 0
    0x6C000A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled second set of main LPSC  Value: 0
    0x6C000B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Switched from MAIN PLL to MCU PLL  Value: 0
    0x6C000C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured clock muxes  Value: 0
    0x6C000D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled Main PLL  Value: 0
    0x6C000E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled DM reset mask  Value: 0
    0x6C000F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Kept main domain in reset  Value: 0
    0x6C001100: Power Management:      PM_LPM_SEQ(Low power mode sequence): Masked main domain reset  Value: 0
    0x6C001200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Gated WWD clock  Value: 0
    0x6C001700: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM in WFI  Value: 0
    0x6C001830: Power Management:      PM_LPM_SEQ(Low power mode sequence): LPM wake event  Value: 48
    0x6C001900: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM exited WFI  Value: 0
    0x6C001E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): unmasked WWD clock  Value: 0
    0x6C001F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabling MCU IO isolation  Value: 0
    0x6C002000: Power Management:      PM_LPM_SEQ(Low power mode sequence): Wrote stub magic word  Value: 0
    0x6C002500: Power Management:      PM_LPM_SEQ(Low power mode sequence): TIFS core is ready  Value: 0
    0x6C003300: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DM reset mask  Value: 0
    0x6C003400: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed main domain reset isolation  Value: 0
    0x6C002600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Loaded FS stub  Value: 0
    0x6C002700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received continue resume  Value: 0
    0x6C002800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main IO isolation  Value: 0
    0x6C002900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled remaining PLL  Value: 0
    0x6C002A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DDR reset isolation  Value: 0
    0x6C002B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Exited DDR self reset  Value: 0
    0x6C002C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled USB reset isolation  Value: 0
    0x6C002D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Sent continue resume to TFS  Value: 0
    0x6C002E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received sync resume message  Value: 0
    0x6C003700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unload CAN magic words in MMR  Value: 0
    0x6C000100: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM stub started  Value: 0
    0x6C000200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unlocked MMRs  Value: 0
    0x6C003800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Load CAN magic words in MMR  Value: 0
    0x6C000400: Power Management:      PM_LPM_SEQ(Low power mode sequence): DDR in reset isolation  Value: 0
    0x6C007700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unknown Sub Message: 0x77  Value: 0
    0x6C000500: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled USB reset isolation  Value: 0
    0x6C000600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main LPSC  Value: 0
    0x6C000700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Bypassed main PLL  Value: 0
    0x6C000800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured wake-up sources  Value: 0
    0x6C000900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled Main IO isolation  Value: 0
    0x6C000A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled second set of main LPSC  Value: 0
    0x6C000B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Switched from MAIN PLL to MCU PLL  Value: 0
    0x6C000C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured clock muxes  Value: 0
    0x6C000D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled Main PLL  Value: 0
    0x6C000E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled DM reset mask  Value: 0
    0x6C000F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Kept main domain in reset  Value: 0
    0x6C001100: Power Management:      PM_LPM_SEQ(Low power mode sequence): Masked main domain reset  Value: 0
    0x6C001200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Gated WWD clock  Value: 0
    0x6C001700: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM in WFI  Value: 0
    0x6C001830: Power Management:      PM_LPM_SEQ(Low power mode sequence): LPM wake event  Value: 48
    0x6C001900: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM exited WFI  Value: 0
    0x6C001E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): unmasked WWD clock  Value: 0
    0x6C001F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabling MCU IO isolation  Value: 0
    0x6C002000: Power Management:      PM_LPM_SEQ(Low power mode sequence): Wrote stub magic word  Value: 0
    0x6C002500: Power Management:      PM_LPM_SEQ(Low power mode sequence): TIFS core is ready  Value: 0
    0x6C003300: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DM reset mask  Value: 0
    0x6C003400: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed main domain reset isolation  Value: 0
    0x6C002600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Loaded FS stub  Value: 0
    0x6C002700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received continue resume  Value: 0
    0x6C002800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main IO isolation  Value: 0
    0x6C002900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled remaining PLL  Value: 0
    0x6C002A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DDR reset isolation  Value: 0
    0x6C002B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Exited DDR self reset  Value: 0
    0x6C002C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled USB reset isolation  Value: 0
    0x6C002D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Sent continue resume to TFS  Value: 0
    0x6C002E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received sync resume message  Value: 0
    0x6C003700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unload CAN magic words in MMR  Value: 0
    0x6C000F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Kept main domain in reset  Value: 0
    0x6C001100: Power Management:      PM_LPM_SEQ(Low power mode sequence): Masked main domain reset  Value: 0
    0x6C001200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Gated WWD clock  Value: 0
    0x6C001700: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM in WFI  Value: 0
    0x6C001890: Power Management:      PM_LPM_SEQ(Low power mode sequence): LPM wake event  Value: 144
    0x6C001900: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM exited WFI  Value: 0
    0x6C001E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): unmasked WWD clock  Value: 0
    0x6C001F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabling MCU IO isolation  Value: 0
    0x6C002000: Power Management:      PM_LPM_SEQ(Low power mode sequence): Wrote stub magic word  Value: 0
    0x6C002500: Power Management:      PM_LPM_SEQ(Low power mode sequence): TIFS core is ready  Value: 0
    0x6C003300: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DM reset mask  Value: 0
    0x6C003400: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed main domain reset isolation  Value: 0
    0x6C002600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Loaded FS stub  Value: 0
    0x6C002700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received continue resume  Value: 0
    0x6C002800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main IO isolation  Value: 0
    0x6C002900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled remaining PLL  Value: 0
    0x6C002A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DDR reset isolation  Value: 0
    0x6C002B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Exited DDR self reset  Value: 0
    0x6C002C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled USB reset isolation  Value: 0
    0x6C002D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Sent continue resume to TFS  Value: 0
    0x6C002E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Received sync resume message  Value: 0
    0x6C003700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unload CAN magic words in MMR  Value: 0
    0x6C000100: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM stub started  Value: 0
    0x6C000200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unlocked MMRs  Value: 0
    0x6C003800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Load CAN magic words in MMR  Value: 0
    0x6C000400: Power Management:      PM_LPM_SEQ(Low power mode sequence): DDR in reset isolation  Value: 0
    0x6C007700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Unknown Sub Message: 0x77  Value: 0
    0x6C000500: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled USB reset isolation  Value: 0
    0x6C000600: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled main LPSC  Value: 0
    0x6C000700: Power Management:      PM_LPM_SEQ(Low power mode sequence): Bypassed main PLL  Value: 0
    0x6C000800: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured wake-up sources  Value: 0
    0x6C000900: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled Main IO isolation  Value: 0
    0x6C000A00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled second set of main LPSC  Value: 0
    0x6C000B00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Switched from MAIN PLL to MCU PLL  Value: 0
    0x6C000C00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Configured clock muxes  Value: 0
    0x6C000D00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabled Main PLL  Value: 0
    0x6C000E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Enabled DM reset mask  Value: 0
    0x6C000F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Kept main domain in reset  Value: 0
    0x6C001100: Power Management:      PM_LPM_SEQ(Low power mode sequence): Masked main domain reset  Value: 0
    0x6C001200: Power Management:      PM_LPM_SEQ(Low power mode sequence): Gated WWD clock  Value: 0
    0x6C001700: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM in WFI  Value: 0
    0x6C001830: Power Management:      PM_LPM_SEQ(Low power mode sequence): LPM wake event  Value: 48
    0x6C001900: Power Management:      PM_LPM_SEQ(Low power mode sequence): DM exited WFI  Value: 0
    0x6C001E00: Power Management:      PM_LPM_SEQ(Low power mode sequence): unmasked WWD clock  Value: 0
    0x6C001F00: Power Management:      PM_LPM_SEQ(Low power mode sequence): Disabling MCU IO isolation  Value: 0
    0x6C002000: Power Management:      PM_LPM_SEQ(Low power mode sequence): Wrote stub magic word  Value: 0
    0x6C002500: Power Management:      PM_LPM_SEQ(Low power mode sequence): TIFS core is ready  Value: 0
    0x6C003300: Power Management:      PM_LPM_SEQ(Low power mode sequence): Removed DM reset mask  Value: 0
    0x006C0034:   BasePort: TISCI_MSG_RECEIVED(TISCI Message interrupt handled): Queue ID: 44 Message ID: 34
    

    error message,

    0x006C0034:   BasePort: TISCI_MSG_RECEIVED(TISCI Message interrupt handled): Queue ID: 44 Message ID: 34

    Gibbs

  • Hi Gibbs,

    We're working reviewing these logs with the software development team.


    The TI DRIVE link you provided seemed to expired. Can you refresh the link?

    Can you also capture the TIFS logs on the /dev/ttyUSB1 uart port? If this is already captured, can you please share it?

    Thanks,

    Anshu

  • Hi, Anshu

    I am out of office until next tuesday (8/5), I may re-upload it again next week.

    but you can analysis it first what we have

    Thank You.

    Gibbs

  • Thanks Gibbs, gentle reminder to update the full logs.

    Thanks,

    Anshu

  • Hi, Anshu

    Because this is issue alreay talking for a long time, so lets me reminder the whole story again, so far we have two error case.

    (Case 1) Stress test working between wakeup and MCU LPM, and we found AM62 seems face some error exception and try to reboot by itself.

    (1) DM log as below. 

    tidrive.ext.ti.com/.../d5afe620-f0a2-435b-85ae-29e000db95fb

    password : m6]ZZp1t

    (2) I think it does not meaning to dump "PM_LPM_SEQ" message, because you need to use CCS/JTAG to dump message from memory. but message will disappear when system reboots.

    (3) I found AM62 should be already in MCU LPM succefssful, but failed to wakeup. sysfw reset happens when R5 gets message ID 0x00000307.

    (Case 2) Stress test working between wakeup and MCU LPM, and I found system hanged in MCU only

    (1) Error message as below.

    0x006C0034:   BasePort: TISCI_MSG_RECEIVED(TISCI Message interrupt handled): Queue ID: 44 Message ID: 34

    (2) In this status, I already check all SW (Linux/MCU SW) crash.
    (3) Root cause should be use "strip" MCU fw. when I replace to "non-strip" MCU fw, it seems not happen

    (4) I think Case 2 error is miner, because I already know the reason

    Test Environmant : 

    * Board : AM62-SK-LP EVB

    * ti-processor-sdk-linux-am62xx-evm-10.01.10.04 / mcu_plus_sdk_am62x_10_01_00_33

    * SD Boots w/ tisdk-default-image-am62xx-lp-evm-10.01.10.04.rootfs.wic.xz

    * M4 Program :

     https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/ipc_5F00_rpmsg_5F00_echo_5F00_linux_5F00_am62x_2D00_sk_2D00_lp_5F00_m4fss0_2D00_0_5F00_freertos_5F00_ti_2D00_arm_2D00_clang_2D00_auto_5F00_timer.tgz

    Thanks

    Gibbs