cancel
Showing results for 
Search instead for 
Did you mean: 

unable to program an external nand flash memory

Hamxa10
Associate

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

2 REPLIES 2

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

Use READ ID and READ PARAMETER PAGE

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Pavel A.
Evangelist III

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.