Shop OBEX P1 Docs P2 Docs Learn Events
Raspberry Pi For Propeller Development? - Page 2 — Parallax Forums

Raspberry Pi For Propeller Development?

2»

Comments

  • TylerSkylerTylerSkyler Posts: 72
    edited 2012-07-22 21:19
    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)
    
    
    



    Have Fun!,

    Tyler
  • Don MDon M Posts: 1,653
    edited 2012-07-23 12:16
    brianm734 wrote: »
    If you're in the US you can buy them from Newark Electronics. They have them in stock.

    http://www.newark.com/raspberry-pi/raspbrry-pcba/raspberry-pi-model-b-board-only/dp/83T1943?ref=lookahead

    Seems they are gone already.....
  • RDL2004RDL2004 Posts: 2,554
    edited 2012-07-23 13:16
    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.
  • 4x5n4x5n Posts: 745
    edited 2012-07-23 15:18
    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. :smile:
  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-07-23 20:56
    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?
  • jazzedjazzed Posts: 11,803
    edited 2012-07-23 21:36
    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
  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-07-24 18:30
    Thanks for the clarification, not to big of an issue anyways
  • TylerSkylerTylerSkyler Posts: 72
    edited 2012-07-26 00:13
    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.
  • Heater.Heater. Posts: 21,230
    edited 2012-07-26 01:51
    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.
  • Don MDon M Posts: 1,653
    edited 2012-08-06 09:20
    I ordered a PI from Newark on July 27th. It's to be delivered here today. I guess I expected it to take much longer than just a week....
  • Heater.Heater. Posts: 21,230
    edited 2012-08-06 09:43
    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.
  • Don MDon M Posts: 1,653
    edited 2012-08-06 09:52
    Just opened the package from the mailbox.... I'll be checking out the Raspian when I get some time. Thanks for all your work.
  • AribaAriba Posts: 2,690
    edited 2012-08-06 12:26
    Heater. wrote: »
    That must be a record....

    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
  • RDL2004RDL2004 Posts: 2,554
    edited 2012-08-06 13:29
    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.
  • Mike HuseltonMike Huselton Posts: 746
    edited 2012-08-06 19:36
    I ordered four boards on July 6th, 2012 from Allied Electronics. I live in Austin, Texas. Still waiting....
  • TubularTubular Posts: 4,706
    edited 2012-08-07 05:02
    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.
Sign In or Register to comment.