[Yaaarc] Binary serial upload?

Paul Haas paulh at hamjudo.com
Mon Jun 4 12:45:10 EDT 2007


On 6/4/07, Rick Green <rtg at aapsc.com> wrote:
> Dear lazyweb:
>    Is there a terminal program for Linux which allows for the uploading of
> binary files directly, with no molesting or modification by a 'protocol'?
> Essentially, I'd like it to dd a file to the serial port upon command.
>
> Minicom has several upload protocols available, and its setup script seems
> to allow for the addition of others, but I've so far been unsuccessful in
> trying to declare 'cat' or 'dd' as the helper app...

My serial port is /dev/ttyUSB0.  While minicom was running, I used
another window
and typed
   cat /home/paulh/junk > /dev/ttyUSB0
and the contents of /home/paulh/junk came out unmolested from the serial port.
minicom's own "ASCII" transfer adds a <CR> after every <LF>, and I
haven't figured out how to turn that off.  I hate it when software
does me favors.

> This is for loading firmware to an Atmel project, and needs to support
> binary uploads in the same way that the TeraTerm Pro application does
> under Windows.
>
> --
> Rick Green
>
> "Those who would give up essential Liberty, to purchase a little
> temporary Safety, deserve neither Liberty nor Safety."
>                                    -Benjamin Franklin
> _______________________________________________
> Yaaarc mailing list
> Yaaarc at stilyagi.org
> http://stilyagi.org/mailman/listinfo/yaaarc
>


More information about the Yaaarc mailing list