unable to program an external nand flash memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-22 3:16 PM
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 //
    
 
- Labels:
-
Flash
-
FMC-FSMC
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-22 5:08 PM
Probably going to want to start at the bus level, and interact with the memory more directly.
Use READ ID and READ PARAMETER PAGE
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-23 5:55 PM
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.
