Confused about SimpleIDE and Spin, getting binary error when trying to upload
tuffstuff
Posts: 24
HI, I'm comming back to a project I stopped working on a year ago. Then, I had to work in a windows environment to upload to my Activity Board. Now it appears that SimpleIDE supports Spin and I can work in my prefered enviroment, Linux.
I've run into a couple of problems:
1. Starting a new spin project is not straight forward. I can't just open up my Spin file into the IDE. I need to start a c project, then change the .side file and the .c extention, then copy my old code over. Starting a new spin project I get a "Blank Simple Project was not found" error.
2. Once I have the spin code loaded into the ide, when trying to load to my board I get the following error:
Am I misusing SimpleIDE? Does it not support Spin? If so, what's the trick to getting this to work? What am I doing wrong?
Any help is appreciated.
Thanks!
I've run into a couple of problems:
1. Starting a new spin project is not straight forward. I can't just open up my Spin file into the IDE. I need to start a c project, then change the .side file and the .c extention, then copy my old code over. Starting a new spin project I get a "Blank Simple Project was not found" error.
2. Once I have the spin code loaded into the ide, when trying to load to my board I get the following error:
openspin -I /opt/parallax/spin/ MidiParse.spin /opt/parallax/bin/openspin error ... (1) propeller-load -S1 -Dreset=dtr -e -r MidiParse.binary -p /dev/ttyUSB0Propeller Version 1 on /dev/ttyUSB0 error: failed to open 'MidiParse.binary' error: load failed
Am I misusing SimpleIDE? Does it not support Spin? If so, what's the trick to getting this to work? What am I doing wrong?
Any help is appreciated.
Thanks!
Comments
-Phil
2. Seems that your properties are not set correctly for a spin project. Be sure to set the spin compiler path, the spin libraries directory as well as the loader directory. It's best to use a separate workspace directory for spin, as well (not the same as your C workspace)...
Always mention what versions of SimpleIDE & your OS are in these threads to aid those who are trying to help you.
EDIT: SimpleIDE has project support with its .side file and project-based features! As much as I like PropellerIDE, I think SimpleIDE still has some great features that PropellerIDE does not... Both are great development tools to have available for Spin coders!
dgately
Question: For SimpleIDE, is the spin compiler just the openspin binary?
For SimpleIDE I think the three paths are set correctly. I may not have set up my project correctly though. I'll look into that and get back.
Thanks again for all the help!
Yes.
There is a 32 bit Linux SimpleIDE package for Mint/Debian/Ubuntu here http://learn.parallax.com/propeller-c-set-simpleide/linux .