+
+def remount_yaffs():
+ ##this isn't working. somethihg need to be changed in the config of the simulator to release the handle of the emfile
+ print "remounting yaffs"
+ print"unmounting yaffs:", yaffs_unmount("yaffs2/")
+ print "mounting yaffs", yaffs_mount("/yaffs2/")
+ load_dir()
+