Trouble programming the AM29F800B Flash Device

I am working with the AM29F800B Flash. I earlier struggled to get the new Flashing Algorithm but was successful in creating an algorithm with the help from this forum.
Now I am able to erase the Flash Device but I'm still having trouble in writing to the Flash device.
Kindly suggest some tips on programming the Flash.

More questions in this forum