EMC hang after software reset in LPC1788

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by shweta.kosamkar on Tue Aug 27 22:24:59 MST 2013


            I am using LPC1788 in one of our project. There we are interfacing external flash M29W640FB using EMC. we have develped secondary bootloader based on USB stick.
            Bootloader firmware is downloading the application image stored on USB stick and then after downloading it jumps to application image. If I repeat the same procedure continuously  i.e get the image from usb and flah the code into internal and external flash then after some 6-7 retries, flashing the code into external flash is failed. That instance I observed that chip select of the EMC is not going low. it permanently ties to high level. Only after power cycle it gets recover.
           Before jump to application code I have de-initialize the EMC by disabling the power of EMC in PCOCNP register. and in application image, EMC is again re-initializing.
          Please guide me on tha same.
          Thanx in advance.

With Regards,