Skip to main content
Graduate
May 22, 2024
Question

unable to program an external nand flash memory

  • May 22, 2024
  • 2 replies
  • 1342 views

hi guys,

I hope this message finds you well.

I am currently working with the STM32H743Eval2 evaluation board with an external nand flash memory "Micron MT29F2G16ABAEAWP" , and i'm trying to run the code provided in the firmware  on the same memory but i get an I/O error. the same error when i debuged it without connecting the memory to the board. is there any way to verify if the the memory is connected to the board ? or is there anything else messing ?

 

 

/* Determine if the I/O driver initialized successfully. */

if (media_ptr -> fx_media_driver_status != FX_SUCCESS)

{

 

/* Return the driver error status. */

return(FX_IO_ERROR);

}

  

- PG9 ------> FMC_NCE//

- PD0 ------> FMC_D2//

- PD1 ------> FMC_D3//

- PD4 ------> FMC_NOE//

- PD5 ------> FMC_NWE//

- PD6 ------> FMC_NWAIT//

- PD8 ------> FMC_D13//

- PD9 ------> FMC_D14//

- PD10 ------> FMC_D15//

- PD11 ------> FMC_CLE (FMC_A16)

- PD12 ------> FMC_ALE (FMC_A17)

- PD13 ------> FMC_A18

- PD14 ------> FMC_D0//

- PD15 ------> FMC_D1//

- PE7 ------> FMC_D4//

- PE8 ------> FMC_D5//

- PE9 ------> FMC_D6//

- PE10 ------> FMC_D7//

- PE11 ------> FMC_D8//

- PE12 ------> FMC_D9//

- PE13 ------> FMC_D10//

- PE14 ------> FMC_D11//

- PE15 ------> FMC_D12 //

Hamxa10_0-1716415940943.pngHamxa10_1-1716416002982.png

 

Messenger_creation_f45f8ea7-0fb3-4f3d-94bd-897e01a21d92.jpegMessenger_creation_4e3905d7-bd75-4c15-9503-340e8db34fee.jpeg

Messenger_creation_5f5d8537-7bb3-4fac-90bf-6597a1006dad.jpegMessenger_creation_cfe3e845-3f5b-47f1-813e-bc64eafa29e2.jpegtsop.jpeg

    This topic has been closed for replies.

    2 replies

    Graduate II
    May 23, 2024

    Probably going to want to start at the bus level, and interact with the memory more directly.

    Use READ ID and READ PARAMETER PAGE

     

    Super User
    May 24, 2024

    On the STM32H743 eval board, the FMC is already connected to a flash chip on the board. Won't there be a conflict?

    The flying wires for high-freq signals look frightening.