Flash memory interfacing LPC1788 does not exit busy state

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash memory interfacing LPC1788 does not exit busy state

609 Views
erickim
Contributor I

Hi

I am working on a project using LPC1788 micro-controller. I should mention that this micro has external memory controller and the micro interfacing flash using its own controller.

I'm trying to make an external flash memory work, but the problem is after erasing one block, the flash does not exit from the busy state. I use an oscilloscope to see the R/B signal and it never returns to its ready state. I have provided some time after the erase operation to create enough time for flash, but it does not work.

I initialized the memory controller's timing registers but I am not definitely sure whether they are correct.

Another issue which may contribute to this problem is that, for every command or every address i provide, my chip select signal changes its state. What I mean is that for every command/address it becomes low and then returns to high. But the diagram in the flash datasheet shows that it should becomes active, just once for the whole operation.

every suggestion would be greatly appreciated,

Eric

Labels (1)
0 Kudos
1 Reply

407 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Eric,

What type of flash are you using? Ire you using the EMC interface? If yes, I would recommend you to use the norflash_prog or nandflash_prog examples that come with LPCopen as reference, these examples show how to use external NOR/NAND Flash using EMC.


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos