Thanks for your response! We are using our own mtd driver for at25f321 and qspi and that driver indeed returns the number of bytes read. I changed it to 0 in case of success and now it seems to work just fine! I have no idea why the "old" version of RIOT did not have that problem that I had. Regards, Bert