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: MCU+ 10.01.0.32 SDCard Issues

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG, MCU-PLUS-SDK-AM263X, TMDS64EVM

Tool/software:

Trying to get the am64x-evm board SDCard working under MCU 10.01.0.32. (Using sysconfig 1.21.2)

Originally had initial testing under the MCU+ 9.X / sysconfig 1.20.0 software, then switched to MCU+ 10 libraries.

Have issue where unit will not boot off the SDCard, when using the MCU+10.X sbl_sd boot software, all consoles output nothing. No issues when using the MCU+ 9 sbl_sd boot software.

With using the MCU+ 9, boot loader, and MCU+ 10 libraries all applications load and run.

Using the MCU+ 10 libraries, all processors are running FreeRTOS.  Would like to Added support for FreeRTOS-FAT. Using SysConfig 1.21.2 add in support for FAT and eMMC on either the A53 or r5fss0-0 on the board.  No issues.

Try to add support for the SDCard, and no matter either A53ss0-0 or r5fss0-0, multi-core application loads, and r5fss0-0 and a53ss0-0 do not seem to run.  Cannot tell the other r5fssX-X cores as have them set up to send debug logs to the r5fss0-0 core. the m4fss0-0 core does run.

I do see a large change in the mmcsd driver between MCU+ version 9 and version 10.

I did see in the Forum, a thread "MCU-PLUS-SDK-AM263X: MMCSD not working - bugged or missconfig?", but no solution was given. (I don't know if same issue?)

Any help trying to get MCU+ 10 working with the SDCard. (I tried both setting the driver to LLD and HLD modes).

I know this is kind of a ramble.

Robert

  • Hello,

    Have issue where unit will not boot off the SDCard, when using the MCU+10.X sbl_sd boot software, all consoles output nothing.

    Could you please the CCS to capture the R5F0-0 core state?

    This is to see if the SBL SD bootloader is at least booting but stuck somewhere.

    Regards,

    Prashant

  • Ok, using the debugger on r5fss0-0, I see the tiboot3.bin is booting, and from what I can tell it is being stuck in

    Sciclient_waitForBootNotification(),

    at the " while ((CSL_REG32_RD(Sciclient_secProxyThreadStatusReg(rxThread)) & CSL_SEC_PROXY_RT_THREAD_STATUS_CUR_CNT_MASK) == 0U) {;}" (line 661).

    Not sure if I have the debugger setup correctly, first time using it.

    Using the MCU+ 9 version, it stops in the same place also, when using the debugger. Otherwise without the debugger, boots normally.

  • I had a problem with trying to debug in the boot process, so I added the SD Card driver to a core. Trying to debug it from there.  Looks like MMCSD_lld_init is not returning a SUCCESS, and such an assert is going off. I don't see the assert on the console, so it might be the MMCSD is being initialized before the UART. Having problems trying to get a break point to trigger.

  • Ok, found the problem. If the SD's Auto Assign Maximum speed is checked, the software for at least our SDCards is coming up and thinking it is SDR104, then trying to AutoTune and fails the AutoTune.  If I set it for HS, all is ok.  So don't know if the Card or Software are not reporting correct type (SD/HC/etc) or wrong speed.  So will have to rebuild the sbl_sd boot loader with the change to the lower speed.

    Robert

  • If I set it for HS, all is ok.

    In this case, can we consider the issue as resolved?

    I did try the default SBL SD bootloader on TMDS64EVM & it works just fine. So, if you are also using TMDS64EVM, the original issue could have been caused by the incompatible SD card.