Hey All! I'm still looking into creating a plugin for a open source text/code editor for the raspberry pi, but for now I created a little Shell script that will allow you to compile and load a .spin all in one go and with very little effort .
Simply copy the unzip folder to your Raspi 's Desktop the folders directory should be /home/pi/Desktop/RaspberryPi-PropLoader(put all of your Spin files inside this folder).
Then point terminal to the folders directory:
cd /home/pi/Desktop/RaspberryPi-PropLoader
Then Type:
./PropellerLoader
This will run a small shell script that will prompt you to select the file and let you choose to load to Eeprom or Ram.
Here is a sample run I did:
pi@raspberrypi ~ $ cd /home/pi/Desktop/RaspberryPi-PropLoader
pi@raspberrypi ~/Desktop/RaspberryPi-PropLoader $ ./PropellerLoader.sh
PropellerLoader Instalized....
Your Directory:
/home/pi/Desktop/PropellerLoader
Type Name of Program you want to load(without .spin)
4WDRobot
Propeller Spin/PASM Compiler (c)2012 Parallax Inc. DBA Parallax Semiconductor.
Compiled on Jul 22 2012
Compiling 4WDRobot.spin...
Done.
Program size is 556 bytes
File Compiled: Load into Ram or Eeprom(1/2)
1
Loading Ram
Ram Loaded
Done! Run Again?(y=1/n=2)
Yeah, I'm kind of annoyed because I ordered one yesterday when they claimed to have 45 in stock. However, today I got an order confirmation saying it was back-ordered with an August 6 estimated ship date.
Anybody interested in making "Prop Development on the Raspberry Pi for Dummies" ?
Initially just compile on the PC and use the RPi to load the binary to the Prop as MagIo2 has done.
Email says that my Raspberry Pi has been shipped, so I can be the test dummy, and write up all the notes.
I imagine I'll be starting at, "So I got my Raspberry Pi, now what?"
I was "allowed" to order mine almost 2 weeks ago!! Can't wait to get it.
o wow this just made running prop loader on android and zipit possible too . i was working on getting proploader to compile for arm about a month back and just got heavily sidetracked.
so you can use the -p2 switch to load the prop without a reset? that means serial bt wothout a transistor reset should work as the hardware link?
so you can use the -p2 switch to load the prop without a reset? that means serial bt wothout a transistor reset should work as the hardware link?
You still need the reset circuit. The -p2 switch just means not to reset the propeller after programming while -p3 will reset the propeller after programming. Resetting the propeller after programming makes the EEPROM program boot up. Sorry that wasn't clear.
o wow this just made running prop loader on android and zipit possible too . i was working on getting proploader to compile for arm about a month back and just got heavily sidetracked.
so you can use the -p2 switch to load the prop without a reset? that means serial bt wothout a transistor reset should work as the hardware link?
Does this mean we could use these binaries to compile and load spin programs from an android phone? That would be beast and would be much more mobile and convenient than any r-pi laptop/tablet set up.
The loader is written in C and can no doubt be compiled to run on Android. Probably by using the Android Native Development Kit (NDK) or by wrapping it up as QT application and using the QT for Android SDK.
Now, do you have an Android phone or tab with a serial port to connect it to the Prop? Or USB host mode so that a USB serial adapter can be used.
That must be a record.
Don't forget to check the SimpleIDE package for Raspian. It's in a thread on the propgcc beta forum for now.
I'll be making a new one soon that allows Prop programming from the on board UART on the GPIO header.
Sorry, No.
Mine was 2 days faster, I ordered also on July 27th (Farnell) - they shipped it 4 days later - and last saturday it was in my mailbox.
Seems to be a good moment to order a RasPi now.
My Raspberry Pi (which was "In Stock" when I ordered it on July 22) showed up today, which is actually the day they said it would ship when they informed me it was back-ordered. I suppose I should be happy.
I spoke to our element14 rep today about it. Later this week they expect to receive their first order where there will be free stock after backorders are filled. Next week they expect some free stock of the 4GB preloaded images. So it's looking better.
Comments
Simply copy the unzip folder to your Raspi 's Desktop the folders directory should be /home/pi/Desktop/RaspberryPi-PropLoader(put all of your Spin files inside this folder).
Then point terminal to the folders directory:
Then Type:
This will run a small shell script that will prompt you to select the file and let you choose to load to Eeprom or Ram.
Here is a sample run I did:
Have Fun!,
Tyler
Seems they are gone already.....
Yeah, I'm kind of annoyed because I ordered one yesterday when they claimed to have 45 in stock. However, today I got an order confirmation saying it was back-ordered with an August 6 estimated ship date.
I was "allowed" to order mine almost 2 weeks ago!! Can't wait to get it.
so you can use the -p2 switch to load the prop without a reset? that means serial bt wothout a transistor reset should work as the hardware link?
You still need the reset circuit. The -p2 switch just means not to reset the propeller after programming while -p3 will reset the propeller after programming. Resetting the propeller after programming makes the EEPROM program boot up. Sorry that wasn't clear.
--Steve
Does this mean we could use these binaries to compile and load spin programs from an android phone? That would be beast and would be much more mobile and convenient than any r-pi laptop/tablet set up.
Now, do you have an Android phone or tab with a serial port to connect it to the Prop? Or USB host mode so that a USB serial adapter can be used.
Don't forget to check the SimpleIDE package for Raspian. It's in a thread on the propgcc beta forum for now.
I'll be making a new one soon that allows Prop programming from the on board UART on the GPIO header.
Sorry, No.
Mine was 2 days faster, I ordered also on July 27th (Farnell) - they shipped it 4 days later - and last saturday it was in my mailbox.
Seems to be a good moment to order a RasPi now.
Andy