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.

AM3352: send NAND command in the linux

Part Number: AM3352


Dear Champs,

Is there any method to send NAND command in the linux application?

My customer wants to send NAND PROTECT command as below to protect NAND, but could not find a way to send PROTEC command to NAND.

they are using Processor Linux SDK v4.0.

Thanks and Best Regards,

SI.

  • Hello SI,

    Please note that Processor Linux SDK v4.0 is too old for us to support on the forums. So the assistance we can offer will be limited.

    I assume you got that above screenshot from the NAND chip's documentation? What is that document & part?

    Regards,

    Nick

  • Hi Nick,

    The part name is  MT29F2G08ABAGAWP of Micron.

    Thanks and Best Regards,

    SI.

  • Hi SI,

    Is this NAND PROTECT about the OTP register bits? What is the scenario in which the customer wants to send the command in user space application? Can they use the OTP support in the kernel driver instead?

  • Hi Bin,

    No. I think you mean OTP region of NAND, but this is not related with OTP of NAND. 

    As I know, there are few NAND devices having 'PROTECT' command to protect specific region as below.

      

    The protection commands were as below.

    My customer's target is only to protect the region of NAND from unexpected issues and is looking for the method to protect NAND contents.

    It was recommended from NAND company to use 'PROTECT' command to protect specific region of NAND, and my customer wants to know how they can command to NAND in the linux OS.

    Please let me know how NAND command can be sent to NAND in the linux OS.

    Thanks and Best Regards,

    SI.

  • Hi SI,

    This NAND device is not a TI product, it is not supported on this forum. Please ask the NAND vendor or Linux community for support.

  • Hi Bin,

    I'm not ask about NAND and NAND command, but I'm asking how send command to NAND from AM3352 in linux SDK.

    I don't care how NAND protect works. I just want to know if there is a method to send a command to NAND in Linux SDK.

    Thanks and Best Regards,

    SI.

  • Hi SI,

    The kernel NAND driver framework exposes NAND devices as a block or char device for access in user space applications, but it is not possible to access NAND low level operations from user space applications with the current Linux kernel. And I quickly glanced the kernel NAND drivers but it seems this Micron PROTECT is not implemented.

    I understand what you are asking, but it is not related to TI devices, rather than a general or vendor specific. So please get the support from the NAND vendor or Linux community.