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.

EMIF16 Config registers not accessible

Other Parts Discussed in Thread: TMS320C6678

I am running a c6678 on a custom board with Micron NOR memory attached. When I attempt to look at the "EMIF16 Config" registers located at 0x20C00000 according to the data sheet CCS shows nothing but "--------   -------- --------"

Is 0x20c00000 still the correct address for EMIF16 Config? What would cause those registers to not be accessible at all?

  • Hi John Connors,

    The config space ranges from 0x20C00000 -> 0x20C000FF. Can you check in PSC if you have powered up the EMIF16 module? If it is powered down you won't be able to access its registers.

    https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/171091/625783#625783

    Thank you.

  • Dear John,
    Try to modify the platform source code for your NOR flash access test and run the platform test project to test/check the EMIF16.

    C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform\evmc6678l\platform_lib\src
    C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform\evmc6678l\platform_test

    Which NOR flash are you using ?
    Parallel NOR or serial NOR ?

    We don't have parallel NOR on EVM board, so you may have to modify the code accordingly.
  • The PSC Module Status Register 3 (EMIF 16 and SPI) locate at 0x235080C is set to 0x1F03 which indicates that the EMIF16  is enabled, and not in rest. The PSC EMIF Control register, 0x2350A08 is set to 0x1103 which looks good to me. The 0x20C00000 EMIF16 registers are still not accessible.  Are there any other power/control register I should check to enable EMIF16?

    We are using a Micron NOR Flash (PN RC28F00AP30TFA) which I believe is Parallel.

  • Hi John Connors,

    Apologize for the delay. Even, I am unable to read the EMIF16 configuration register from CCS on EVM C6678 however able to flash the NAND flash using nandwriter utility release part of MCSDK 2.x.

    I am working with internal team and will get back to you upon receive a response.

    Thank you for your patience.
  • Raja,

    I have run the platform_test application and got the output below. I looked at the NOR test briefly but it looks to me that that test is for SPI NOR which we do not have, we're using EMIF16 instead. I also attempted to run the norwriter program, but that is failing to open the device on the line "p_device = platform_device_open(PLATFORM_DEVID_NORN25Q128, 0);"

    What does the constant PLATFORM_DEVID_NORN25Q128 signify? Is this similar to a Vendor/Device  ID on PCIe which would require updating for our specific NOR memory?

    [C66xx_0] p_info->version    = 2.00.00.14
    p_info->cpu.core_count    = 8
    p_info->cpu.name    = TMS320C6678
    p_info->cpu.id    = 21
    p_info->cpu.revision_id    = 0
    p_info->cpu.silicon_revision_major    = 0
    p_info->cpu.silicon_revision_minor    = 0
    p_info->cpu.megamodule_revision_major    = 8
    p_info->cpu.megamodule_revision_minor    = 1
    p_info->cpu.endian    = 0
    p_info->board_name    = TMDXEVM6678L
    p_info->frequency    = 700
    p_info->board_rev    = 0
    p_info->led[PLATFORM_USER_LED_CLASS].count    = 4
    p_info->led[PLATFORM_SYSTEM_LED_CLASS].count    = 0
    p_info->emac.port_count    = 2
    EMAC port 1 connected to the PHY.
    MAC Address = 20:cd:39:44:0d:fa
    Current core id is 0
    User switch 1 state is ON
    LED test start
    LED 0 ON
    LED 0 OFF
    LED 0 ON
    LED 1 ON
    LED 1 OFF
    LED 1 ON
    LED 2 ON
    LED 2 OFF
    LED 2 ON
    LED 3 ON
    LED 3 OFF
    LED 3 ON
    LED test complete
    Internal memory test start
    Internal memory test (for core 2) passed
    Internal memory test complete
    External memory test start
    External memory test passed
    External memory test complete
    Test completed

  • Hi John Connors,

    The C6678 EVM has NAND flash connected on EMIF interface and NOR flash connected on SPI interface. Please refer EVM specific documents from advantech web site.

    www2.advantech.com/.../6678le_download3.aspx

    SPI NOR Flash : NUMONYX N25Q128 A11B F40F
    EMIF NAND Flash : IC NAND512R3A2DZA6E SMD VFBGA 63P


    What does the constant PLATFORM_DEVID_NORN25Q128 signify? Is this similar to a Vendor/Device ID on PCIe which would require updating for our specific NOR memory?

    Yes. Your understanding is correct.
    NAND Flash: Manufacturer code(20h) and Device code (36h).
    NOR Flash: Device Identification, memory type (BBh) and capacity (18h).

    Thank you.