I'm using mdk 4.70, i can use finit & fformat normally, but cannot use fcheck normally. I'm sure if some configurations are nor correct.(fcheck returns 1 in any circumstance)
fcheck() function only works for drives which use Embedded File System.
In the RL-ARM User's Guide for fcheck (http://www.keil.com/support/man/docs/rlarm/rlarm_fcheck.htm), this is not stated explicitly, but you can see that only EFS drives are allowed as input parameter and attempt to check the FAT media will result in error.
you mean we can only use fcheck("S:"), fcheck("R:"), fcheck("F:") but it's impossible to use fcheck("N0")?
Correct, fcheck() only works on drives which use Embedded File System.