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.

[参考译文] [AM3715]:&'flash_erase'or 'MTD_DEBUG'can not erase nand flash =>always show 'bad block'

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1098893/am3715-flash_erase-or-mtd_debug-can-not-erase-nand-flash-always-show-bad-block

主题中讨论的其他部件:AM3715

您好,先生,

当我使用任何'TD_debug erase /dev/mtd4 0 0x2万'或'flash_erase /dev/mtd4 0 0x2万'来擦除nand flash时,它将报告"nand_erase_nand:Attempt to erase a bad block at page 0x000xxxxxx"(所有区域"/dev/mtd4 0 0x2万"中的每个块的"nand_erase_erase_nand:尝试在0x000xxxxxx"页上擦除错误块)。
没有块被擦除(全部跳过)!
但是,在uBoot命令行下,我可以从mtd4的偏移位置开始清除nand块,没有任何问题。
我发现的一个提示是,当内核的MTD模块尝试读取块的nand oB字节时,指示的回调函数指示OOB字节为0x30,0x30,0x30...
这就是 为什么"nand_erase_nand:Attempt to erase a bad block at page 0x000xxxxxx"(nand_erase_nand:尝试在0x000xxxxxx页上擦除坏块)发生的原因。

我们的模块是AM3715。
SDK 如下所示:  
https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-1TFCAJw7jR/06.00 00.00 00.00 .06.00 linux/ti-sdk-AM37x-EVM-EVM-VM-Linux.Linux-x86-Install

如果有任何遗漏,请帮我更正。

非常感谢!
金华

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

    您好Jinhua:

    AM37x及其软件太旧,我们无法在论坛上提供设计支持。 您可以通过在论坛中搜索以前关于AM37x的主题来找到有用的信息。

    此致,

    尼克