PropellerIDE and Raspberry Pi Stretch
TheTech69
Posts: 51
in Propeller 1
I am using the Raspberry Pi 3 running Raspbian version Stretch. I have installed PropellerIDE 38.5 on it.
When I build the program I want to load to the propeller I get the following error in a "Build Manager" dialog window:
"/usr/bin/bstc: 1: /usr/bin/bstc: Syntax error: "(" unexpected"
The following is the program I am trying to load to the propeller:
PUB Blink
dira[6] := 1
repeat
outa[6] := 1
waitcnt(clkfreq + cnt)
outa[6] := 0
waitcnt(clkfreq +cnt)
I have absolutely no experience with Debian/Linux/any flavor of UNIX.
Everything worked fine with Raspbian version Jessie...contemplating loading version Jessie.
Thank you for any assistance,
Jason
When I build the program I want to load to the propeller I get the following error in a "Build Manager" dialog window:
"/usr/bin/bstc: 1: /usr/bin/bstc: Syntax error: "(" unexpected"
The following is the program I am trying to load to the propeller:
PUB Blink
dira[6] := 1
repeat
outa[6] := 1
waitcnt(clkfreq + cnt)
outa[6] := 0
waitcnt(clkfreq +cnt)
I have absolutely no experience with Debian/Linux/any flavor of UNIX.
Everything worked fine with Raspbian version Jessie...contemplating loading version Jessie.
Thank you for any assistance,
Jason
Comments
I'm a bit out of touch with SimpleIDE now a days. I thought Spin support was be dropped from it. Presumably you were using OpenSpin before.
Just to clarify, I'm using PropellerIDE 38.5, not SimpleIDE. I remembered that I was able to get PropellerIDE 36.5 to work on Jessie. I downloaded and installed it. I got a build error of "Could not start "." Check Preferences". All I did was confirm the path of the compiler and now the program successfully builds. Later I will upgrade to PropellerIDE 38.5 and see if I can get that to work the same way.
Either way BSTC ain't going to work.
I didn't retry since then because I prefer a shell, "normal" editors, makefiles and such stoneage hammer and chisel stuff and looking at PropellerIDE just was meant for satisfying my curiousity.
If you get PropellerIDE that far that it tries to run BSTC, you can look at this hack to let i386ish BSTC run on your ARMish system or install PI-native OpenSpin or FastSpin instead. ;-)
Or even better: All of them... \o/
However, for me the loading of the file to the board failed since the loader is looking for a ".binary.binary" file rather than a ".binary". I'm not sure how to fix this outside of running the install manually.
Ex:
1. Identify the tty port the Propeller device is connected to:
2. Run propman to load the binary from the IDE to the board attached to the tty port listed previously.
This seemed to work for me running Stretch on a RasPi.
I suppose a note should be sent to the individual supporting this (if anyone) or on the GitHub page.
I attached a patch awhile ago to that issue reported on the PropellerIDE issue tracker at github (see https://github.com/parallaxinc/PropellerIDE/issues/43).
I haven't heard from anyone as to whether it's the best way to fix it, but it worked for me, and it's not a particularly invasive change.
Cheers,
Jesse
The PropellerIDE version I used was 36.5 and NOT 38.5. I'm still going to try that version later.
Thank You
Jason