This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FATfs and WDT conflict?

Software and Softdevice: SDK 12.3.0 keil5

Platform: Windows 10

Hardware: NRF52832 DK

I am trying to combine WDT and FATfs together. But once I have both of them, there is a failure of SD card file open and write. I guess there are some kinds of conflict in config. Does anyone here have any clue what it could be? I am new to this so maybe the way I combine two samples to one is not right, can anyone offer me some help?

This is an image of the serial port output. Which may not make much sense because I just catch the open file failure and print it out.

Update:

I check the error code it returns, it is:

FR_INVALID_NAME, /* (6) The path name format is invalid */

Update2:

Problem identified. I tried a short filename as suggestion from https://stackoverflow.com/questions/38479468/f-open-returning-fr-invalid-name and problem solved.

Now the question is why the filesystem support length changed after i add wdt to it.

Related