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.

SD/MMC starterware test

Other Parts Discussed in Thread: OMAP-L138

Hi.

In the starterware software, is there any source code for testing SD/MMC interface?? couldn't find any...

Also, we have a board that does not load, when testing under JTAG:

Scripts->OMAL L138 Memory Map->Setup Memory Map
Scripts->Frequency Settings->Core_300Mhz_mDDR_150Mhz
Load Program X....

All boards pass this test except one board, which fails at "Core_300Mhz_mDDR_150Mhz" setup.
What could be the cause for such failure on that board??? 

King Regards

MoonDrop

  • I have notified our experts, they will get back to you. Thank you.
  • I ported the Startware SD Card example from the AM335x to C6748. I post it here:
    e2e.ti.com/.../283373

  • Scripts->OMAL L138 Memory Map->Setup Memory Map
    Scripts->Frequency Settings->Core_300Mhz_mDDR_150Mhz
    Load Program X....

    All boards pass this test except one board, which fails at "Core_300Mhz_mDDR_150Mhz" setup.
    What could be the cause for such failure on that board???

    Can you please attach the screen shot of the problem ?
    Which line is causing the problem in function "Core_300Mhz_mDDR_150Mhz" ?


    In the starterware software, is there any source code for testing SD/MMC interface?? couldn't find any...


    In addition to Norman, TI has some of MMC/SD examples.

    You can get the MMC/SD example from BIOS PSP Package. (BIOS based example)
    C:\ti\biospsp_03_00_01_00\drivers\examples\evm6748\mmcsd
    C:\ti\biospsp_03_00_01_00\drivers\examples\evm6748\mmcsd_fatfs

    Refer to the user guide.
    C:\ti\biospsp_03_00_01_00\docs\C6748\C6748_BIOSPSP_Userguide.pdf

    SD/MMC write CCS project:
    C:\ti\OMAP-L138_FlashAndBootUtils_2.40\OMAP-L138\CCS\SDMMCWriter
  • ARM9_ICONT1: Output: 	Memory Map Cleared.
    ARM9_ICONT1: Output: 	---------------------------------------------
    ARM9_ICONT1: Output: 	Memory Map Setup Complete.
    ARM9_ICONT1: Output: 	---------------------------------------------
    ARM9_ICONT1: Trouble Writing Memory Block at 0x1c11100 on Page 0 of Length 0x4: (Error -2030 @ 0x384E1A73) Internal error: Access to unknown or invalid register was requested. Restart the application. If error persists, please report the error. (Emulation package 5.0.520.0) 
    Core_100MHz_mDDR_102MHz() cannot be evaluated.
    target access failedIcePick_D_0: Error: (Error -150 @ 0x0) This utility failed to operate the adapter for a custom emulator. The adapter returned an error for unknown reasons. (Emulation package 5.0.520.0) 
    ARM9_ICONT1: Trouble Reading Memory Block at 0xffff0000 on Page 0 of Length 0x7: (Error -2030 @ 0x384E1A73) Internal error: Access to unknown or invalid register was requested. Restart the application. If error persists, please report the error. (Emulation package 5.0.520.0) 
    ARM9_ICONT1: Error: Failed to get PRSC status
    
    SECOND TRY:
    
    ARM9_ICONT1: Trouble Writing Memory Block at 0x1c11100 on Page 0 of Length 0x4: (Error -2030 @ 0x6D204353) Internal error: Access to unknown or invalid register was requested. Restart the application. If error persists, please report the error. (Emulation package 5.0.520.0) 
    Core_100MHz_mDDR_102MHz() cannot be evaluated.
    target access failedIcePick_D_0: Error: (Error -150 @ 0x0) This utility failed to operate the adapter for a custom emulator. The adapter returned an error for unknown reasons. (Emulation package 5.0.520.0) 
    ARM9_ICONT1: Trouble Reading Memory Block at 0xffff0000 on Page 0 of Length 0x7: (Error -2030 @ 0x6D204353) Internal error: Access to unknown or invalid register was requested. Restart the application. If error persists, please report the error. (Emulation package 5.0.520.0) 
    ARM9_ICONT1: Error: Failed to get PRSC status
    

  • Can you please try to enable the adaptive clock in your emulator target configuration settings ?
    processors.wiki.ti.com/.../XDS100

    Looks like similar issue:
    e2e.ti.com/.../166647