Author Topic: Python Modules/Libraries?  (Read 4280 times)

0 Members and 1 Guest are viewing this topic.

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9933
  • Country: us
Re: Python Modules/Libraries?
« Reply #25 on: April 26, 2022, 03:43:42 pm »
Note the network options (instead of HelloWorld) at 1:46 of the video.  If you want to do something from a remote workstation, a TCP Server might be perfect.  The remote TCP client will interact with the ARM TCP server and the ARM will interact with the FPGA.  I find Linux (workstation) to be very useful for things like this.

The client connection probably requires less than 20 lines of code.

https://csperkins.org/teaching/2007-2008/networked-systems/lecture04.pdf

« Last Edit: April 26, 2022, 03:45:36 pm by rstofer »
 
The following users thanked this post: PerceptionArmored

Offline PerceptionArmoredTopic starter

  • Newbie
  • Posts: 6
  • Country: us
Re: Python Modules/Libraries?
« Reply #26 on: April 27, 2022, 07:39:06 am »
Note the network options (instead of HelloWorld) at 1:46 of the video.  If you want to do something from a remote workstation, a TCP Server might be perfect.  The remote TCP client will interact with the ARM TCP server and the ARM will interact with the FPGA.  I find Linux (workstation) to be very useful for things like this.

The client connection probably requires less than 20 lines of code.

https://csperkins.org/teaching/2007-2008/networked-systems/lecture04.pdf

You read my mind. I think you know where I'm going with this.
Next step would be I'm hoping to containerize this app using Podman.
Being daemonless is an attractive approach so that end user can run community driven apps on the fly.

So once I get this app running. To test my end goal theory I'll remotely send a container with this app to the Zynq board for the ARM processor to open and run the program.
IF this is all possible, next step would be further complicate the application and spit out a resultant piece of data to then put back on a pod and send back onto the TCP server...

Am I tracking or getting ahead of myself? BTW, huge huge thanks for looking that over and offering your help!
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9933
  • Country: us
Re: Python Modules/Libraries?
« Reply #27 on: April 27, 2022, 02:26:24 pm »
The ARM could have access to several .bin files to configure the FPGA as needed for the user application.  Extra credit if those configuration files are stored somewhere on a NFS or FTP/TFTP server and are reachable from the onboard ARM processor.  This would allow a workstation user somewhere on the network to create a .bin file locally and get it loaded on the Zynq FPGA.

There are many Google replies related to programming an FPGA with a microcontroller using stored images.
 
The following users thanked this post: PerceptionArmored


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf