trabucayre changed the topic of #openFPGALoader to: Universal utility for programming FPGA / Github: https://github.com/trabucayre/openFPGALoader/ Logs: https://libera.irclog.whitequark.org/openFPGALoader
<CarlFK1> I need to call openFPGAloader from phython - is subprocess.Popen('openFPGAloader', ... the way to go?
<CarlFK1> or are there python libs somewhere
<CarlFK1> oh... Status: SC integration WIP
<CarlFK1> er, also never mind. the python code is running on box A, the fpga Arty is on box B. I need to use ssh to run commands on B
<trabucayre> CarlFK1: it's possible to use netcat too :)
<CarlFK1> oh lord...
<CarlFK1> client = paramiko.client.SSHClient() ... client.exec_command(cmd)
<CarlFK1> that's a little better :)
<CarlFK1> cmd = '/usr/bin/openFPGALoader -b arty /home/pi/tests/counter_test/top.bit'
<CarlFK1> cmd = '/usr/bin/openFPGALoader -b arty /home/pi/tests/counter_test/top.bit'
<CarlFK1> er, delete that.
<CarlFK1> hit the "blink LEDs" button, see stdio in the status windo
CarlFK1 has quit [Ping timeout: 246 seconds]