Shop OBEX P1 Docs P2 Docs Learn Events
No board type on SimpleIde and Raspberry pi — Parallax Forums

No board type on SimpleIde and Raspberry pi

bikejunkybikejunky Posts: 33
edited 2014-02-24 17:58 in Propeller 1
I've loaded SimpleIde on my Raspberry pi several times and I can't choose a board type.
Not sure what to do. Where to look for the file and where to put it.
I'm fairly new to linux and raspberry pi

Thank for any help

Comments

  • Heater.Heater. Posts: 21,230
    edited 2013-12-26 13:38
    Are you using one of the SimpleIDE packages I posted to drop box and mentioned here somewhere?
    What version number is it anyway?
    Are you wanting to program in Spin or C?

    I don't have a Pi here to play along with at the moment, at least not one with a screen. But on my SimpleIDE on my Debian PC I don't get any board type options when the selected language is Spin. I guess there are none.
  • jazzedjazzed Posts: 11,803
    edited 2013-12-26 14:56
    There is no board type available for SPIN programs. SPIN requires setting up the clock in the source code. Only C/C++ uses board types.
  • bikejunkybikejunky Posts: 33
    edited 2013-12-26 17:53
    I fiddled with the pi and I can now load c example programs for the quickstart board. Still having some problems with the
    loading spin programs. I will mess with it more later.
    I had to change where simpleide was looking for the folders once I found where the boards where.
    Thanks for the help
  • bikejunkybikejunky Posts: 33
    edited 2013-12-26 18:10
    While trying some of the PE kit examples I get error: failed to open 'mySpin.binary'
    I mySpin is my project name. SimpleIde would not attempt to load any of the pe kit's example with out a project.
    I probably need to read the manual more and experiment with spin in it
    Its bed time
    thanks again
  • bikejunkybikejunky Posts: 33
    edited 2013-12-28 14:15
    I am certain that the that Spin folders are wrong in the SimpleIDE Properties that I am trying to use, but don't know what to
    set them to on a RaspberryPi

    Thanks Again
  • jazzedjazzed Posts: 11,803
    edited 2013-12-28 15:27
    You likely get the error on mySpin.binary because the compile failed. May I suggest opening the Build Status, right-click in the build status window -> Select All, right-click -> Copy All, and then paste here? The forum editor advanced mode has a # button that will give you a code wrapper to make the output pretty.

    The Spin Library for Rasberry PI should be in /opt/parallax/spin.

    The most likely reason for your error according to what you have posted is that some of your spin files are not in the Spin Library folder or not in the same folder where mySpin.spin lives. That's a guess of course. Merge your library code into one folder, and point to that in Properties -> Spin tab -> Spin Library. If that doesn't fix the problem, then we may need to see your source to debug your compile failure.

    What is the date on you SimpleIDE package for Rasberry PI ?
  • bikejunkybikejunky Posts: 33
    edited 2013-12-28 16:16
    It is from Heater's post in the forums SimpleIDE-0-9-43

    I think I might have made a mistake installing it, someway, because
    this is what I have in the comand line to run simpleide

    pi@raspberrypi ~ $ ls
    Desktop python_games SimpleIDE-0-9-43
    ocr_pi.png SimpleIDE SimpleIDE-0-9-43.armv6l.raspberrypi-linux.tar.bz2
    pi@raspberrypi ~ $ cd SimpleIDE
    pi@raspberrypi ~/SimpleIDE $ ./simpleide
    bash: ./simpleide: No such file or directory
    pi@raspberrypi ~/SimpleIDE $ cd
    pi@raspberrypi ~ $ cd SimpleIDE-0-9-43
    pi@raspberrypi ~/SimpleIDE-0-9-43 $ ./simpleide

    Then the SimpleIDE window comes up.
    I thought ./simpleide should have ran under SimpleIDE
    Thanks for the help. Going to bed think I'm coming down with a cold.
  • jazzedjazzed Posts: 11,803
    edited 2013-12-28 18:22
    ~/SimpleIDE is where the Learn library and workspaces for Parallax Propeller-C get copied at first startup.
    ~/SimpleIDE-0-9-43 is where the application lives.

    bikejunky wrote: »
    It is from Heater's post in the forums SimpleIDE-0-9-43

    I think I might have made a mistake installing it, someway, because
    this is what I have in the comand line to run simpleide

    pi@raspberrypi ~ $ ls
    Desktop python_games SimpleIDE-0-9-43
    ocr_pi.png SimpleIDE SimpleIDE-0-9-43.armv6l.raspberrypi-linux.tar.bz2
    pi@raspberrypi ~ $ cd SimpleIDE
    pi@raspberrypi ~/SimpleIDE $ ./simpleide
    bash: ./simpleide: No such file or directory
    pi@raspberrypi ~/SimpleIDE $ cd
    pi@raspberrypi ~ $ cd SimpleIDE-0-9-43
    pi@raspberrypi ~/SimpleIDE-0-9-43 $ ./simpleide

    Then the SimpleIDE window comes up.
    I thought ./simpleide should have ran under SimpleIDE
    Thanks for the help. Going to bed think I'm coming down with a cold.
  • tech-mectech-mec Posts: 9
    edited 2014-02-23 16:58
    So where are the board types hiding? How to I get them to where SimpleIDE can find them?

    I am new to RPi and is OS.
  • jazzedjazzed Posts: 11,803
    edited 2014-02-23 17:23
    Hi.

    Most Parallax Propeller boards should show up in the Project Manager "Board Type" selector ... you may have to click the button on the bottom left part of the screen to show the Project Manager.
  • tech-mectech-mec Posts: 9
    edited 2014-02-24 14:46
    I have tried that and it has no effect. I do not know my way around the file system or the commands on the RPi yet (book on the way). The OP said that he found the file and moved it but didn't say more so I have no Idea where or how to do the same. This could be a minor install glitch but it is a very big problem when you don't know the system yet.

    Dale
  • jazzedjazzed Posts: 11,803
    edited 2014-02-24 15:02
    Does this picture help at all?

    attachment.php?attachmentid=107138&d=1393282878
    624 x 499 - 108K
  • tech-mectech-mec Posts: 9
    edited 2014-02-24 15:34
    No as I have tried that and it does not work. Goes from blank to blue. Never any board types showing up.

    Dale
  • jazzedjazzed Posts: 11,803
    edited 2014-02-24 15:54
    Ok, what do you have in these fields?

    The one in blue are important. They don't need to start with c:\propgcc\bin ...
    Most likely they will have C:\Program Files (x86)\SimpleIDE ... something.

    (I may not be able to follow up again for a few hours. Sorry about that in advance.)

    attachment.php?attachmentid=107141&d=1393285990

    attachment.php?attachmentid=107140&d=1393285980
    683 x 549 - 79K
    677 x 543 - 94K
  • tech-mectech-mec Posts: 9
    edited 2014-02-24 16:12
    For GCC compiler: /opt/parallaxbin/propeller-elf-gcc
    For Loader Folder: /opt/parallax/propeller-load/

    The book that I bought from Sparkfun "Getting Started with Raspberry Pi" is not really very helpful for starting out. I can not find or refind the infor I need. I have the Raspberry Pi User Guide second edition on it way (cross town snail mail = overnight).

    I have written down all that was sent to the screen from the install if you need any of that info.

    I may be old and slow but I do remember bit switches on the S100 and have messed with 8080(Z80), 6502, 6803, and 6809 asm. My older bro tried to make a programmer out of me but I was born a mechanic.

    Dale
  • bikejunkybikejunky Posts: 33
    edited 2014-02-24 17:18
    I am sorry. I figured out what I was doing wrong. A while ago, had some family issues, to deal with.
    In the SimpleIDE Properties, the WorkSpace folder defaults to "/home/pi/SimpleIDE/" as soon as I remove the last slash to make
    it "/home/pi/SimpleIDE", the boards showed up in the board type.

    As for the spin programming, once replaced bst.linux (old compliler for spin I think) with openspin. Spin programming started to w
    work. This was all on the old SimpleIDE-0-9-43. The new 45 works great. Still have to remove the last slash though.
    Thanks for the help
    Now I have to figure out how to make this post solved. LOL
    Charlie
  • tech-mectech-mec Posts: 9
    edited 2014-02-24 17:58
    Thank you. For reasons unknown the last time I turned the monitor on the board types showed up.

    I closed the program when I did not intend to so now I have to figure out how to restart it.

    I know all too well about family problems. Got lots of my own to deal with.

    Dale
Sign In or Register to comment.