AnsweredAssumed Answered

How to write / read data to a USB memory stick by using KSDK and Processor Expert

Question asked by Marco Aurelio P. Coelho on Aug 11, 2015
Latest reply on Aug 12, 2015 by Jorge_Gonzalez



I'm starting a new project and I need to implement a data logger in a USB memory stick with K22, but I'm not very experienced in this area, I found the documentation of the KSDK drivers API, but I don't know which function to use to correctly do it.


I found an interesting document posted in this Community, explaining step by step how to quickly create a RAM disk demo with KSDK and Processor Expert, that can be used as reference and adapt to my application needs, but this demo only formats the memory stick.


I still don't know how to create, open, close and manipulate files into the USB memory stick, and write and read data to / from USB memory stick, by using the available KSDK API functions.


Can anybody guide me on that or provide me with some examples?



Thanks and best regards,



Marco Coelho