Abstract
The HgNiOPt capacitor with a Hg top electrode diameter of about 35μm showed the typical bistable resistive switching characteristic. After the removal of the Hg top electrode, we directly observed the formation and removal of filaments for a high resistive state (Roff) and a low resistive state (Ron) by conducting atomic force microscope (CAFM). CAFM images for Roff and Ron states directly exhibit evidence of the formation and removal of filaments on the surface, which supports well the filament model as a switching mechanism of resistive random access memory.