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: A problem about warm reset while booting from eMMC

Part Number: AM6442

Hi,TI team,

 

I have a new hardware design on AM6442.

When the hardware boot from SD CARD,I can test the warm reset function controlled by the RESET_REQz HW pin.When the hardware boot from eMMC,I can’t test the warm reset function by the same way.But I can test the warm reset function on TMDS64GPEVM borad whether boot from SD CARD or eMMC.

Then I test the function in u-boot,and use TI XDS200 emulator to connect the A53 core within CCS V11.When RESET_REQz HW pin is triggered while bootting from SD CARD,I found the state of A53 core within CCS like figure 1.

Figure 1

When RESET_REQz HW pin is triggered while bootting from eMMC,I found the state of A53 core within CCS like figure 2.

Figure 2

At this time,I can’t test the reset function whether triggered RESET_REQz HW or MCU_PORZ.

How can I solve this promblem by hardware debug or software debug?

Here are some informations about the new hardware design:

SoC:   XAM6442ASFGGAALV SR1.0

DRAM:  Micron MT40A1G16RC-062E IT ,2 GiB

eMMC:  Skyhigh S40FC004C1B1I00000

U-boot version: U-Boot 2021.01

 

Thank you in advance.

Best Regards,

Charles Chen

  • Hi Charles,
    You may check the two registers on reset sources
    - CTRLMMR_RST_SRC Register @0x43018178
    - CTRLMMR_MCU_RST_SRC Register @0x04518178
    I'm attaching a sample log from POR, and then issuing "reset" @u-boot from eMMC boot on AM64x EVM for your reference.
    Best,
    -Hong

    am6_8.2_emmc_reset.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:29:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Reading daughtercard EEPROM at 0x52 failed -1
    Trying to boot from MMC1
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    NOTICE: BL31: v2.5(release):08.01.00.006-dirty
    NOTICE: BL31: Built : 16:24:35, Mar 30 2022
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Reading daughtercard EEPROM at 0x52 failed -1
    Trying to boot from MMC1
    U-Boot 2021.01-g44a87e3ab8 (Mar 30 2022 - 16:28:20 +0000)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi Hong Guan64,

    Thanks for your reply.

    According to your advice,we did some tests about this problem.

    First,I tunned on the hardware booting from SD CARD.When I reseted the hareware by the RESET_REQz HW pin,
    the system reboot and then checked the register providing by your replyed.I found the value of the register like the following picture.

    Second,I tunned on the hardware booting from eMMC.When I reseted by the RESET_REQz HW pin,
    the system did not reboot,I could only get the value of the register by connecting to the core of R5 via CCS,like the following picture.

    At this time ,I could not connected to the core of A53 via CCS.

    What should I do next?

  • Hi Charles,

    I'm looping in my HW colleague to comment on RESET_REQz difference on SD and eMMC on your board.

    Best,

    -Hong

  • Hello Hiong, 

    Thank you for looping.

    Chares, would you be able to share the schematics for a quick review ?

    If not, can you please compare the EVM and the custom board you have designed for reset implementation.

    Regards,

    Sreenivasa

  • Hi,

    Here is the hardware designed for reset system,especially for the signal of RESET_REQz.

  • Hello Charles chen,

    Thank you for the schematics. The issues is with the eMMc reset during warm rese.

    Can you please make sure that the eMMC is reset during warm reset. Please refer the anding logic for eMMC reset in the EVM.

    Regards,

    Sreenivasa

  • Hi,Sreenivasa,

    Thanks for your reply.

    I have already checked that the eMMC has reseted during warm reset.

    Here is the hardware designed for eMMC,especially for the connection between RESETSTAT and eMMC.

    Can you help me to check the design?

    Best,

    Charles

  • Hello Charles, 

    Thank you for the inputs. There is a 100K resistors (R121) and the reset is being controlled through the diode. Not sure if the device is seeing a defined reset level. 

    Could you please measure the voltage at R121 terminal connected to the memory device during reset.

    Regards,

    Sreenivasa

  • Hi,Sreenivasa,

    The voltage at R121 terminal connected to the eMMC device is 0.14V during warm reset.

  • Hello Charles, 

    If i understand correctly, the eMMC interface works during power up and does not work during subsequent warm reset.

    We are anding multiple reset sources in the EVM. With the above schematics, i am not able to understand the logic completely.

    Can you please change the R121 to a lower value (10K ) and test.

    Regards,

    Sreenivasa

  • Hi,Sreenivasa

    Yes,now the eMMC interface works during power up and does not work during subsequent warm reset.

    I have alreaty change the R121 to 10K and test.But it doesn't solve the problem.

    And I also change the design like the following picture.But it doesn't solve the problem.

    Can you have another suggestion for this problem?

    Best,

    Charles

  • Hi,Sreenivasa

    I also have a test on TMDS64GPEVM board like the following picture.

    I found that the TMDS64GPEVM board can be reboot by push the SW6 button on board.

    I think there is nothing to do with the reset design of eMMC circuit.

    What do you think?

    Best,

    Charles

  • Hello Charles, 

    Thank you for the inputs.

    Reboot by push would be a validation of the logic but not confirmation that warm reset works.

    Could you please use an anding logic to test the logic on your board.

    The eMMC has requirements to be reset any time the SoC is reset.

    Regards,

    Sreenivasa

  • Hello Charles, 

    Checking if you were able to resolve the issue.

    Regards,

    Sreenivasa

  • Hi,Sreenivasa,

    Although the issue still not to be resolved,your suggestions is good for us.

    Thanks a lot.

  • Hello Charles, 

    Thanks, i will close the thread for now.

    Regards,

    Sreenivasa