Skip to content

Feature Request - Send a file to the serial port. #85

@mdv55

Description

@mdv55

Feature Request:
Add a function to send a file to the serial port. The source of the content could be

  1. a file on the local disk
  2. a file retrieved from a network URL.

There is no protocol or handshake (except optionally honoring xon-xoff) on the serial interface.

This is equivalent to TeraTerm's File->Send or to minicom Ctrl-A -> S(send) -> ASCII.

A use case for this feature is to send an Intel .hex file to an embedded device to update firmware over a serial port via the device's bootloader. The target device only has a single USB port with an FTDI chip that implements a serial interface. For, example, a laptop/Chromebook has a network connection. The data flow is server -> laptop to retrieve the file over the network and then terminal app (like TeraTerm and potentially BeagleTerm) to send the file over the serial interface to device. Having this function in BeagleTerm would provide Chromebook users a feature similar to other terminal apps.

Thanks to @randomlyknighted for some helpful clarifying questions and feedback on the Slack channel to help better describe this request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions