micropython如何验证flash

想问一下现在要写个代码,代码需要读写flash指定的位置