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.

PROCESSOR-SDK-AM62X: About booting SBL using SD card

Part Number: PROCESSOR-SDK-AM62X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

When launching an SBL built with the AM62xx SDK's sbl_null SBL and enabling MMCSD1 in the configuration tool,
the SBL will not start unless SD media is inserted because it uses the MMCSD_open() API.
Could you please teach me how to create an SBL that enables MMCSD1 and starts even when SD media is not inserted?



  • Hello,

    You can set the Card Type to NO_DEVICE to skip MMCSD initialization.

    Regards,

    Prashant

  • Thank you for your reply.
    By skipping MMCSD initialization, it is now possible to start SBL even if no SD media is inserted.
    However, when MMCSD initialization was performed with SBL, the file system was recognized by our SD driver, but when MMCSD initialization was skipped with SBL, the file system was no longer recognized by our SD driver.
    I think that it is necessary to perform appropriate MMCSD initialization with our SD driver, so could you tell me which API of the MMCSD driver provided in the SDK is appropriate to use?
    Also, could you provide us with sample code for the above processing?

  • Hello,

    However, when MMCSD initialization was performed with SBL, the file system was recognized by our SD driver, but when MMCSD initialization was skipped with SBL, the file system was no longer recognized by our SD driver.

    If you have the SD card inserted then you should set the Card Type to SD for proper MMCSD initialization.

    Regards,

    Prashant

  • Thank you for your reply.

    Sorry if my explanation isn't very good.
    The SD card is used as storage,
    so at startup the SD card may or may not be inserted.
    I'd like the file system to be recognized in either case,
    so could you tell me how to do this?

  • Hello,

    The MMCSD_open, which initializes the MMCSD, is designed to wait forever for the SD card. So, if the SD card is not inserted and MMCSD_open is called, the execution will just be trapped in infinite loop waiting for the SD card to be detected.

    So, for your use case, you will have to keep Card Type set to SD in the Sysconfig and skip calling MMCSD_open at startup. You should call MMCSD_open when your SD driver is ready to recognize the filesystem.

    Regards,

    Prashant

  • I understand the content.
    I am using the AM64x-MCU+SDK -RTOS Ethernet driver as a reference.
    100Base-T and 1000BASE-T work, but 10BASE-T does not work.
    Could you please tell me if there are any differences between AM62x and AM64x?
    Also, please let me know if there are any precautions or know-how to use 10BASE-T.

  • The above was posted in the wrong place.
    Please ignore.
    Problem resolved.