Wirelessly program P2 using FlexGUI and Raspberry Pi Zero W!
Rayman
Posts: 14,646
in Propeller 2
I'm not sure how practical this is, but it's wicked cool (at least to me).
Set up Raspberry Pi Zero W with VNC (you don't need VNC, but let's you see a virtual desktop instead of just a terminal window..).
Figured out how to get FlexGUI going.
Now, I can program the P2 using a wifi connection and a virtual desktop.
See setup and desktop screen below.
Had to overcome a few hurdles as I'm not so good with Linux.
See steps here: http://www.rayslogic.com/Propeller2/RaspberryPiZeroW.html
Set up Raspberry Pi Zero W with VNC (you don't need VNC, but let's you see a virtual desktop instead of just a terminal window..).
Figured out how to get FlexGUI going.
Now, I can program the P2 using a wifi connection and a virtual desktop.
See setup and desktop screen below.
Had to overcome a few hurdles as I'm not so good with Linux.
See steps here: http://www.rayslogic.com/Propeller2/RaspberryPiZeroW.html
Comments
Does that also manage DTR reset, or do you need to do that manually ?
I do have a problem where plugging in the P2 Eval board resets the Pi though...
Thought was a fluke, but happened again. Maybe need to be careful about power/connection sequence..
Even better would be to write a script that replaces the regular loadp2 (with opening an SSH connection to the Pi, SCP-ing over the binary to a temp file and then running loadp2 on the Pi).
The wifi seems plenty fast... The CPU itself is on the slow side for sure... But, compiling the simple examples is plenty fast enough.
This seems to work fairly well for programs I want to run on the Pi.
My next step is to connect Pi and P2 over SPI bus...