Hi!
Do you "upload" or "download" a firmware to a device? I've seen both usages. What about copying files to and from the device's file system? Are there better terms for these operations?
best regards,
Aivar
Terminology: upload vs download
- aivarannamaa
- Posts: 171
- Joined: Fri Sep 22, 2017 3:19 pm
- Location: Estonia
- Contact:
Terminology: upload vs download
Aivar Annamaa
https://thonny.org
https://thonny.org
Re: Terminology: upload vs download
I generally say flashing which means programming the flash memory on the device. The micropython makefile uses the terminology "deploy".
Upload/download is relative to the host or the device so either can be used depending on the context.
Upload/download is relative to the host or the device so either can be used depending on the context.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Terminology: upload vs download
I think upload/download belong to an era of fairly dumb devices connecting to mainframes. These days the terms are too ambiguous to mean much. Git uses push and pull (push from and pull to the device you're using), terms which make sense. If I ssh into a Raspberry Pi from a Core i7 machine and pull a file from the box to the Pi is it up or down? Who knows. Or cares
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Terminology: upload vs download
The most consistent use is on the Internet where upload and download are with respect to yourself. You always download a movie (to yourself) and upload a web page (from yourself) to a web server.
So you would download a log file from a pyboard and upload a new main.py to it.
So you would download a log file from a pyboard and upload a new main.py to it.
Re: Terminology: upload vs download
Except dfu-util decided to use the terminology from the device's perspective. So you download new firmware to the board and upload firmware to the host if you want to read the firmware from the device. Excerpt from dfu-util --help:
Code: Select all
-U --upload <file> Read firmware from device into <file>
-Z --upload-size <bytes> Specify the expected upload size in bytes
-D --download <file> Write firmware from <file> into device