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.

[参考译文] OMAP-L138:OMAP-L138

Guru**** 2553450 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1202360/omap-l138-omap-l138

器件型号:OMAP-L138
主题中讨论的其他器件:OMAPL138

您好!

我们正在使用 OMAPl138并尝试通过 EMIF 接口与 NOR 闪存 MT28EW01GABA 建立通信。

对于 EMIF、我们仅执行了以下配置、其余寄存器我们不写入任何内容。

/**EMIF 配置代码。 ***/
无符号 int ce2cfgr = 0;// CE2 -连接至 NOR 闪存
ce2cfgr =*((unsigned int *)(0x68000000 + 0x0010));
ce2cfgr |= 0x1;/*设置16位 NOR 闪存数据总线宽度*/
*((unsigned int *)(EMIF_CTL_BASE + EMIF_CTL_CE2CFG)= ce2cfgr。

对于 NOR 闪存、我们使用的是微米一直提供的驱动器。 我们所做的唯一更改是映射基址寄存器地址。
#define FLASH_BASE_ADDRESS 0x60000000

正如 Micron 提到的、在开始使用闪存之前、我们需要调用 FlashInit 函数以从闪存读取 CFI 详细信息。

当我们这么做时、我们可以看到 EMIF 存储器的位置中的数据发生了一些变化。 但该数据看起来不是有效的数据。

请提供 NOR 闪存启动的解决方案。

谢谢。

Hariprasanth Ae2e.ti.com/.../Flash_5F00_driver.txt

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Hariprasanth、

    您使用哪个内核与闪存进行通信、以及该内核上运行的是什么操作系统?

    此致、

    Nick