Here's my project
1) Save a small file to a kl25z using USB MSD Ram ( I've managed to get the device working and recognisable and readable but I can't write to it yet)
2) The device then does a bit of processing on that file (which is basically signing a transaction with a key on the device).
3) Device generates an output file which the user can then copy off the device.
Are there any fat fs experts out there who can help me do this? The files themselves are quite small (1-2k at most) but I just can't seem to be able to get my head around creating a data structure that can be viewed as a fat file (as the usbmsd demos don't have anything beyond a pre-created byte array).
Here's my project
1) Save a small file to a kl25z using USB MSD Ram ( I've managed to get the device working and recognisable and readable but I can't write to it yet)
2) The device then does a bit of processing on that file (which is basically signing a transaction with a key on the device).
3) Device generates an output file which the user can then copy off the device.
Are there any fat fs experts out there who can help me do this? The files themselves are quite small (1-2k at most) but I just can't seem to be able to get my head around creating a data structure that can be viewed as a fat file (as the usbmsd demos don't have anything beyond a pre-created byte array).