Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Project Request

Return
Mel Hooper
hooper

posted on 2014/12/03 01:02:05 PM CET

Other Codes

Copy file from SD card to USB stick

hi,

I need code for copying a file from SD card to USB stick.
both devices will be formatted to FAT32.
File size might be from several bytes to 300K.
the preferred solution will be a function that will block the application until it accomplish the copying.
instead a solution that requires periodically calling a service function is also acceptable.

I can even make the story simpler: instead of reading the data from the SD (something that I succeeded to do) the service will get a pointer to a buffer containing the data that should be stored on the USB.
this means that i might be that in order to copy the whole file several adjacent calls should be launched ( depending on source file size an buffer size), but in this case the adjacent calls should append the data to the USB.

please remember that we already are using the FAT32_Init() function for accessing the SD card.

If you have such code fragment and willing to make the changes to fit my needs please contact me.
Payment for this service will be

USER Comments

dany
Dany

posted on 2014/12/28 07:38:50 PM CET

Perhaps this can be of interest to you: http://www.mikroe.com/forum/viewtopic.php?f=106&t=62920

Dany

  • Rating:
0
No Abuse Reported

Do you want to report abuse comment ID: 1381 in "Copy file from SD card to USB stick" request.