From 49b4c0ec2212770036e51c883659ae69262b1865 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 10 Feb 2007 16:54:23 +0000 Subject: [PATCH] flash support --- common/xcf.batch | 8 ++++++++ heartbeat/.cvsignore | 1 + heartbeat/Makefile | 5 ++++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 common/xcf.batch diff --git a/common/xcf.batch b/common/xcf.batch new file mode 100644 index 0000000..8766b07 --- /dev/null +++ b/common/xcf.batch @@ -0,0 +1,8 @@ +setmode -bscan +setcable -p auto +identify +assignFile -p 1 -file pci1.mcs +assignFile -p 2 -file pci2.mcs +program -e -v -p 1 +program -e -v -p 2 +quit diff --git a/heartbeat/.cvsignore b/heartbeat/.cvsignore index c55d330..d3561fb 100644 --- a/heartbeat/.cvsignore +++ b/heartbeat/.cvsignore @@ -5,3 +5,4 @@ pci2.prm pci_7seg.bit timing.twr tmp +_impact* diff --git a/heartbeat/Makefile b/heartbeat/Makefile index 4c6ffc7..50db403 100644 --- a/heartbeat/Makefile +++ b/heartbeat/Makefile @@ -56,7 +56,7 @@ prom: mv $(PROJECT).bgn $(TMP) mcs: - promgen -p mcs -u 0 $(PROJECT) -o pci1 pci2 -x xcf02s xcf04s + promgen -w -p mcs -u 0 $(PROJECT) -o pci1 pci2 -x xcf02s xcf04s final: -mv $(PROJECT).unroutes *.xml $(TMP) @@ -80,3 +80,6 @@ clean: load: impact -batch xc3s1500.batch + +flash: mcs + impact -batch xcf.batch -- 2.39.5