Simple IDE Setup
Shawna
Posts: 508
in Propeller 1
Hey guys, its been awhile since I've been on.
Im trying to play with the simple IDE software and C. I followed the tutorial on setting it up, but I get an error when I try to load the welcome.elf file.
ERROR: Download failed: -1
I am using the hoverfly open board. It looks like it uses pins 30 and 31 for loading the program. So I set the board type to QuickStart.
The board is showing up as COM 6, I'm not sure if that is a problem. I read in another post that higher com port numbers can mess with the program.
I am running windows 7 and I rebooted my pc after everything was installed.
It also says that the build succeeded, so I am kind of stuck.
I haven't tried another usb cable yet, but I can load a spin program into it using the Propeller Tool v1.3.2 with the same cable.
Any thoughts!
Thanks
Shawn
Im trying to play with the simple IDE software and C. I followed the tutorial on setting it up, but I get an error when I try to load the welcome.elf file.
ERROR: Download failed: -1
I am using the hoverfly open board. It looks like it uses pins 30 and 31 for loading the program. So I set the board type to QuickStart.
The board is showing up as COM 6, I'm not sure if that is a problem. I read in another post that higher com port numbers can mess with the program.
I am running windows 7 and I rebooted my pc after everything was installed.
It also says that the build succeeded, so I am kind of stuck.
I haven't tried another usb cable yet, but I can load a spin program into it using the Propeller Tool v1.3.2 with the same cable.
Any thoughts!
Thanks
Shawn
Comments
Using SimpleIDE Version 1.1.0
EDIT: BTW my COM shows up at COM17, so the higher numbers should not be a problem.
EDIT: Windows 7 Pro
Unplug USB Cable
Reboot Computer
Restart SimpleIDE
Check COM Ports
Plug in USB cable
Recheck COM Ports
With SimpleIDE running with nothing plugged in, I normally get a COM 1 showing up, (may be some internal to the mother board).
If you want to reload, you must uninstall the FTDI drivers first through the control panel.
Then install these:
https://www.parallax.com/downloads/parallax-ftdi-usb-drivers-windows
Thanks for the help, I will report back after I try another cable tonight.
Also make sure you reboot after installing the new drivers.
I'm not sure what this means exactly. The one difference I can see between the two boards is that the Propeller Proto Board requires a Prop Plug, where the hoverfly open board has the chip already on board.
Does the hoverfly open board needs powered with something other than the usb cord? I have programmed the hoverfly using the propeller program with just the usb cable.
Thanks
Shawn
Maybe the onboard chip doesn't support the high-speed download settings of SimpleIDE, the latest release sets the port speed to 960k instead of the usual 115k.
Unfortunately there isn't a simple way to change that, you need to edit the .cfg file associated with the board type you have selected, located somwhere in simpleide/parallax/propeller-load (sorry, I don't know exacly where that is on Windows).
Add or replace the following entries (some may already exist with different values, make sure to replace all):
Hope this helps.
You could be onto something. That's entirely possible for a board of that age. Are you able to apply 5v to one of the esc headers?
connected.
(See above).
I think 5v can be applied via the esc header, but it seems like this should be unnecessary since its not needed using the propeller tool.
Where there different versions of the hoverfly open board?
You do not need the 5V
If you bought the Hoverfly Open from Parallax, they only sold one version. They did sell the Hoverfly Sport at one time. Early Elev8 I believe.
Can you load to RAM from SimpleIDE? Of course you can't run the terminal, but just to check communications.
https://www.parallax.com/downloads/simpleide-propeller-c-software-windows
baudrate: 115200
So I added these two lines and saved.
loader-baud-rate: 115200
fast-loader-baud-rate: 115200
It still did not work.
So then I uninstalled the new version of simple IDE and installed the RC version from Publison's link above.
Simple IDE will now load and verify the ram and say ok, but when the terminal screen comes up it is blank. I loaded the "Hello" program.
I'm out of ideas.
This is so frustrating, its rediculous. The only thing left to do, is too laugh!
Thanks for the help guys, I appreciate it.
The "hello" program only prints out once. It does not loop. (Welcome.side)
Have you read this user guide it has a schematic on last page.
https://www.parallax.com/sites/default/files/downloads/80000-Hoverfly-OPEN-Users-Guide-v1.0.pdf
I see there is a tricolour led on ports p4,5,6 - could try flashing that rather than use the terminal- to prove it's getting programmed and running.
Dave
Actually I was looking at the hoverfly board this morning and it says "hoverfly hoverflyGIMBAL" maybe it is not the hoverfly open board. I need to do some more research.
I was looking through the Learn Tutorials and I thought I saw one for configuring the ports, it shouldn't be too hard to figure out how to turn the led on.
OK, I'm an idiot. It is not the same board. I just looked at Tritonium's link. I will see if I can find a schematic for the gimbal hoverfly board.
Thanks for your help Guys
Shawn
The Gimbal Board uses a 10Mhz Xtal. That may be why it's not working. Try the Hydra board setting in SimpleIDE. The Hydra used a 10 meg Xtal.
I will Try it
I'm going to try and load the latest Simple IDE and see if it works also.
Thank You Very Much!
Shawn
I also bought that board. I had the schematic on my hard drive. It was also easy to get by doing a search on the forum site "Hoverfly Gimbal". It brought up the thread were they were being sold. I think it was post #2 or 3 that had the schematic and firmware to bring it back to factory specs.