OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-bootloader/] [scripts/] [sim-download.sh] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 jlechner
#!/bin/sh
2
#
3
# Downloads an executable object file in the S-Record format to
4
# the SCARTS bootloader running in the SCARTS simulator.
5
#
6
# Author: Martin Walter, mwalter@opencores.org
7
 
8
 
9
if [ $# -ne 2 ]; then
10
  echo 1>&2 Usage: $0 FILE DEVICE
11
  echo 1>&2 Downloads an executable object file in the S-Record format in FILE to the SCARTS bootloader
12
  echo 1>&2 running in the SCARTS simulator awaiting data on the pseudo-terminal slave device in DEVICE.
13
  echo 1>&2 Example: $0 main.srec /dev/pts/1
14
  exit 1
15
fi
16
 
17
 
18
while read line; do
19
  echo "$line" > $2
20
done < $1
21
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.