I am using Freescale's 32-bit ColdFire® microprocessor 52277 with CodeWarrior. For USB file transfer I would like to create a single (.tar like) archive of 3 concatenated files that can be uploaded to a Web server as a single file.
Can anyone suggest a library or package that will help me do it?
Thanks,
med_device
Is tar supported on microprocessor 52277 with C language interface? I would like to write a C routine that can archive the 3 files present on the USB into a single one with filename supplied as parameter. Can you point me to tar's package or library that I can include in my C code and use it's commands?
Thanks.
Sorry, I must have misunderstood your requirements. I thought you were going to run tar on the PC and I was going to point you to the win32 version of tar. Instead, you want to run it on the MCU.
Surely, it's trivial to write a simple file concatenation program. You probably don't even have to do it. You could modify your file upload routine to upload a simple header (describing the files that follow) followed by the files one-by-one.