What program is needed to program propeller using Raspberry Pi?
Don M
Posts: 1,652
I want to set up a test jig to program some boards. I will already have made the binary or eeprom file. Just want to be able to upload it to the Prop using a Raspberry Pi with usb cable to Prop Plug. Trying to make a simple setup using Raspberry Pi with their 7" touch screen. Thanks.
Comments
You would need to use PropLoader (from ParallaxInc GitHub: https://github.com/parallaxinc/PropLoader)
I would copy proploader to a directory that is within your Raspberrypi's $PATH, in order to just exec it with "$ proploader"... Load binaries onto your propeller boards with:
dgately
Thank you for that. I am so used to using Propeller Tool. Is there anything that operates similar to that (IDE) for the Raspberry Pi? Where you could edit the program but also program the Prop with some clicks on the IDE?
If it is too "involved" to edit/program using a Pi then I will just continue to use Propeller Tool to edit/save my programs on my laptop and just use your suggestion above to just download the file to the Prop using the Pi.
Had you asked for an IDE (you stated " I will already have made the binary or eeprom file. Just want to be able to upload it to the Prop using a Raspberry Pi with usb cable to Prop Plug"), I would have pointed you to: https://www.parallax.com/download/propeller-c-software/ And, you would have been able to download SimpleIDE (which will actually let you program in C or Spin in this Raspberry Pi version of the IDE).
Look for the link that lets you download "SimpleIDE Software for Raspberry Pi (Propeller C)". Don't be afraid of the "C" as the RPi variant allows Spin coding as well.
Unpack the downloaded SimpleIDE_0-9-45_armv6l-RaspberryPi-Linux.tar.bz2 file:
Read the INSTALL.txt instructions to install simpleide into a known location.
At some point in executing simpleide the first time, you will probably see an error:
which you can remedy with:
[https://forums.parallax.com/discussion/comment/1518128/#Comment_1518128]
.
SimpleIDE also contains the propeller-load loader, which is basically an earlier version of proploader
Thanks for your help.
@ersmith ‘s FlexProp should also run on RPi but AFAIK it’s only a compiler but you can use VSCode to edit. FlexProp can compile the P1 spin code to pasm too.
FlexProp has a GUI that runs fine on Raspberry Pi. You need to install Tcl/Tk on the Pi. The default FlexProp Spin compiler produces PASM rather than bytcode, so for large Spin programs it's not a great choice; OTOH the code runs much faster. You could use the FlexProp IDE with openspin to do more traditional Spin bytecodes, you'd just need to change the command line (the GUI offers an option to do this).