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.
DSP为C6748,EMIFA上挂接nand flash,
问题1:由于nand flash存在坏块,DSP在读写数据时怎么样避免将数据存储到nand flash的坏块上?
问题2:DSP运行sysbios系统,系统程序存储到nand flash(从nandflash启动),这种情况下可以将数据存储到nand flash上吗?如果可以的话,如何避免存储的数据覆盖sysbios系统程序?
1、建议您下载nandwriter的例程看一下,其中有对坏块的处理。
3.1.2 Obtaining the Software
https://www.ti.com.cn/cn/lit/an/spracm8a/spracm8a.pdf
2、跟是否使用操作系统没有关系。
烧写程序是可以获取程序需要占用的block数的,你可以将数据保存到不重叠的区域。可参考nandwriter.c。
// Get total number of blocks needed
numBlks = 0;
while ( (numBlks*hNandInfo->pagesPerBlock) < totalPageCnt )
{
numBlks++;
}