Skip to main content
Explorer
February 22, 2022
Solved

STM32MP157C qspi nand flas w25n512 using

  • February 22, 2022
  • 1 reply
  • 1657 views

Hi,

I am using stm32mp157c and working initialize mtd nand flash w25n512. I am following the

https://wiki.st.com/stm32mpu/wiki/MTD_overview .

I don't have choise "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)" in chapter 3.1.2 in my kernel menuconfig.

Did I not open a section that I should have opened or is there a different problem?

Best Regards,

Ali Mesut Ince

    This topic has been closed for replies.
    Best answer by Kevin HUBER

    Hello @aliMesut​ ,

    Nice catch, this choice doesn't exist anymore. We updated the wiki page, the modification must be visible.

    https://wiki.st.com/stm32mpu/wiki/MTD_overview#SPI_NOR-2FNAND_Flash_memory

    By default, these choices must be enabled:

    [*] Device Drivers --->
     <*>Memory Technology Device (MTD) support ---> 
     <*>NAND --->
     <*>SPI NAND device Support
     <*>SPI-NOR device support

    They enable the SPI NAND and SPI-NOR support, you don't need to enable something else in the make menuconfig.

    Do you encounter an error?

    Regards,

    Kevin

    1 reply

    Technical Moderator
    February 24, 2022

    Hello @aliMesut​ ,

    Nice catch, this choice doesn't exist anymore. We updated the wiki page, the modification must be visible.

    https://wiki.st.com/stm32mpu/wiki/MTD_overview#SPI_NOR-2FNAND_Flash_memory

    By default, these choices must be enabled:

    [*] Device Drivers --->
     <*>Memory Technology Device (MTD) support ---> 
     <*>NAND --->
     <*>SPI NAND device Support
     <*>SPI-NOR device support

    They enable the SPI NAND and SPI-NOR support, you don't need to enable something else in the make menuconfig.

    Do you encounter an error?

    Regards,

    Kevin

    aliMesutAuthor
    Explorer
    February 24, 2022

    Hi @Kevin HUBER​ ,

    Thank your for your suporting. No i didn't get any errors.

    Best Regards,

    Ali Mesut