我们用L138做一个数据采集的装置,DSP负责采集数据,ARM负责人机界面和通信。
由于DSP内部存储空间不够用,用了一片SDRAM扩展,只负责放些数据。
ARM运行Linux系统,我发现在运行时,ARM读写NAND会有问题,保存文件时出错。
由于EMFIA同时负责SDRAM和NAND,会不会是这两者同时访问时的冲突,还是程序的问题,L138内部硬件有没有解决总线冲突的机制?
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.
我们用L138做一个数据采集的装置,DSP负责采集数据,ARM负责人机界面和通信。
由于DSP内部存储空间不够用,用了一片SDRAM扩展,只负责放些数据。
ARM运行Linux系统,我发现在运行时,ARM读写NAND会有问题,保存文件时出错。
由于EMFIA同时负责SDRAM和NAND,会不会是这两者同时访问时的冲突,还是程序的问题,L138内部硬件有没有解决总线冲突的机制?
有总线仲裁机制,可以设置master priority。
http://processors.wiki.ti.com/index.php/OMAP-L1x/C674x/AM1x_SoC_Level_Optimizations
11.3 Master Priority Control
http://www.ti.com/lit/ug/spruh77c/spruh77c.pdf