]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/lx-rocon.git/blobdiff - Makefile
RoCoN: new mode for testlxpwrrx to capture position, PWM and current for controller...
[fpga/lx-cpu1/lx-rocon.git] / Makefile
index 0fd85df8448ff83c0a60132d50ffadf2678d8fd0..a93d897645244ac7bdd90d5fecfc6ce32293b460 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,10 @@ install-tumbl: $(BUILDDIR)/usb_sendhex $(BUILDDIR)/imem.bin $(BUILDDIR)/dmem.bin
 .PHONY: install-firmware
 install-firmware: $(BUILDDIR)/usb_sendhex $(BUILDDIR)/fw_lxmaster.bin
        usb_sendhex -w -d $(USB_APP_VID_PID) -t 1 -s 0xA1C00000 -f binary $(BUILDDIR)/fw_lxmaster.bin
-       usb_sendhex -w -d $(USB_APP_VID_PID) -c 0xF020 -a `stat -L -c %s $(BUILDDIR)/fw_lxmaster.bin`
+       usb_sendhex -d $(USB_APP_VID_PID) -c 0xF024 -a `stat -L -c %s $(BUILDDIR)/fw_lxmaster.bin` # Upload LX MASTER firmware
+       usb_sendhex -d $(USB_APP_VID_PID) -c 0xF011 -a 0 # Start IRC
+       usb_sendhex -d $(USB_APP_VID_PID) -c 0xF023 -a 0 # Setup LX Master
+       usb_sendhex -d $(USB_APP_VID_PID) -c 0xF021 -a 0 # Start LX Master
 
 .PHONY: host
 host: