# FPGA MPS Link Node startup script

chdir("../..")
# how-to reprogram FPGA image
ld("bin/RTEMS-uC5282/mpsLinkNodeFPGA.obj")
mpsFPGAInitialise()
chdir("../MpsLinkNodeFirmware")
#download("mpsnode_xV2B.xsvf")
# ...takes several minutes...

#mpsFPGASetupToReadVersion() #only once

# version is in hex, is in LSbyte and should match the number in the name of xsvf file
#mpsFPGAReadVersion()


