nf_read anf nf_wright errors

Hello everyone,

I want to develop some code that acts on the return values of the nf_read and nf_wright functions.

My problem is that there is no clear description on how to act on certain values, like:

for nf_read:
-2: Block check time out error
-4:page read time out error
-5: ECC code, for this one there are functions but only for buffers of 256 bytes, are there codes available for larger buffers

for nf_wright:
-XMEM/root memory transfer error, how can i react on this one?

Best regards,

Rabbitwatt