QNX下,如何读取flash中某地址的数据呢

我想写个程序读取flash中最后1M的数据,如何读取呢

nand flash还是nor flash?
还是自己写程序吧。
要是有文件系统也不可以指定地址的。