Frank is perfectly right. If u _need_ ZMODEM. But ZMODEM is only supported in modern Systems for backwards compatibility. If your serial connection to BB-XM is USB on Win 7/8 host then much more reliable options are available. Maybe you tell us a bit more about your setup and what you call "serial".
If your connection is RS232 or similar, then ZMODEM is still a good option. On Tue, Dec 10, 2013 at 6:30 PM, Frank Hunleth <[email protected]> wrote: > On Tue, Dec 10, 2013 at 10:45 AM, Pietro Luigi Carotenuto > <[email protected]> wrote: >> Ok, but how to know if BeagleBoard can send/receive a file from my PC? > > Maybe I'm not understanding your question, but the lrz/lsz utilities > run on Linux so they'll run on the BeagleBoard once you've installed > them. They send or receive over stdout and stdin. On the PC side, you > either run lrz/lsz, or if you're running Windows, your terminal > program probably supports ZMODEM. > >> Which are the ways to do it? >> I'm using the serial as stdout. >> And then, which is the C code to do that? > > I've never tried to integrate ZMODEM code directly into a program of > mine. It seems easier to have your program start up lrz or lsz when > they're needed. > > Frank >> >> Thank you, really >> >> Il giorno martedì 10 dicembre 2013 16:29:32 UTC+1, Frank Hunleth ha scritto: >>> >>> On Tue, Dec 10, 2013 at 10:18 AM, Pietro Luigi Carotenuto >>> <[email protected]> wrote: >>> > Hi, >>> > >>> > I need to transfer files from BB to my host PC via serial. >>> > >>> > I know that usually zmodem is used, but >>> > >>> > 1) how to know if zmodem is installed? >>> >>> Take a look at the lrzsz package. I've seen the command line utilities >>> installed as "lrz" and "lsz" or just as "rz" and "sz" depending on the >>> Linux distro. >>> >>> > >>> > 2) Which is the C code in order to execute the file transfer process? >>> > >>> > Thank you in advance, >>> > Pietro >>> > >>> > -- >>> > For more options, visit http://beagleboard.org/discuss >>> > --- >>> > You received this message because you are subscribed to the Google >>> > Groups >>> > "BeagleBoard" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> > an >>> > email to [email protected]. >>> > For more options, visit https://groups.google.com/groups/opt_out. >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
