Unexpected behaviour access mini flex bus Memory mapped IO.

Discussion created by netra on May 19, 2013
Latest reply on May 21, 2013 by RICK BOURGEOIS

I a using MCF52259 custom board where I  am using memory mapped I/O. Using mini flex address bus and chip select 1, i am selecting D Latches. My mini flexbus data lines are connect to input of D latches and Output of D latches are connected to LEDs. 


       When i run my application continuously , I am not getting expected behavior.


       When I put a break point after writing to  address and step through . I am getting expected behavior.


i have introduced sleep after updating to address. it is of no use.

I have changed wait states but nothing  working.


Please let me know what i have missed.