Peter, don't worry about the IPL (which was wrongly spelled IPR by me): As long as your code works you are at the right IPL. However, when your code got stuck you should verify whether it is calling the TFAT api from an interrupt routine. And if so, you should delegate the file I/O access outside the interrupt routine. The finfo.fname is a 13-byte array and *finfo.fname can be rewritten as finfo.fname[0] .
↧