Tools for other OSs (MAC, Linux)
gardener
Posts: 5
The other day I had my tech. support question, but guy from Parallex asked me to pose the question on the forum. We are small consulting/design house and for our new client we intend to propose the solution with Propeller chip, but there is some problem. Few years ago someone decided not to replace computers with new windows computers, but replace old windows with linuxes. Regardless the reason we have no window computers available to load the tools. If we propose Parallax chip, we could end up using it. Apparently changing the computers is out of the question.
Does Parallax have a roadmap to expand their tools to other than window platform?
Just for information, most of our core software are not open source software and many packages cost real money. Parallax does not have to open their tools.
Does Parallax have a roadmap to expand their tools to other than window platform?
Just for information, most of our core software are not open source software and many packages cost real money. Parallax does not have to open their tools.
Comments
The "Good Thread Index" sticky is a good place to start http://forums.parallax.com/forums/default.aspx?f=25&m=148376
huh, the loader is a bit hard to find for some reason. going to search.parallax.com and putting in "python loader" got a good hit on the third try. this => http://forums.parallax.com/forums/default.aspx?f=25&p=2&m=150887 page, second post from the top.
Best of luck,
Marty
“I don't believe we ever made such a promise. Something I don't think many people understand is that we have a single person who develops the Propeller tool. And while this consumes the majority of his time, it is far from the only responsibility he has. If we met all our consumer demands we would have to write a Tool, C compiler, BASIC compiler and Forth compiler and have each of these working on Windows, MacOS and linux, not to mention the numerous requests for added features we get every week. To do this we would have to double the number of employees at the company, all for something we charge nothing for.”
I'm sure he knows that you do not have to hire additional person to develop good tools. Third party contract, third party partnership, release some programming info to the public, these are just some of the methods to get what people want without expanding company staff. It seems that, Parallax does not want to spend more money or resources on propeller project. So why they invested in two full page adds in recent Circuit Cellar? These adds get me interested again in the propeller chip – for a few days. It looks like a waste of money.
I remember Parallax – Microchip ~15 years ago. Than, Parallax started to offer excellent tools for PIC controller from Microchip. I do not know anyone who used the org. Microchip tools. I think, Parallax made some good $$$ selling these tools. However, the real winner was Microchip, their PIC become hugely popular. And one should remember. the propeller tools are not free: they are nothing without the device or EVB kit, you have to buy them from Parallax.
There has been a release of programming information to the public, a python based programmer has been made based on it. Two of our customers have reverse engineered the bytecodes and have freely released this information. To date no one has used this information to create a non-windows IDE.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 6/10/2007 8:25:44 PM GMT
I want one, and I am willing to do the work, I just don't want to use reverse engineered information to do it.
The back cover of the latest "Nuts and Volts" shows an add that says "Tired of playing by someone else's rules" with a picture of something chained down to a sink with "no peek" and "I agree" on it. While at the same time, when people ask for information or code, the answer is no that you will not share that information. That seems, to me, to be a bit hypocritical.
Now don't get me wrong, its your product, your intellectual property. Your under no obligation to share anything with the public. I just wish you would come right out and say that "no, we will not share code, or any of the internal workings our our system, because we don't want to"
I am sure you have your reasons but blaming lack of staff, then saying open source will lead to all types of trouble, even though other organizations have done this with success, really just masks the truth about the situation.
I appreciate the fact that you guys released the code needed to program the Propeller chip its a great first step. I just wish you would release the code to the compiler, or publish enough specs so that the folks reverse engineering the compiler don't have to reverse engineer it but can know exactly how it works.
--Chris
We have no easy answer to provide, thats why we came out with the categorical "We are not providing non-windows IDE or libraries" in another thread. Our definition of a·"long term" goal is·not the same as some of our customers, so that·statement was made·so I wouldn't have keep stating the same thing every couple of weeks. Im truely sorry, I know this is a disappointment to some of our customers.
I think you're misconstruing our ad, none of it indicated we were going to publish our code or provide exhaustive documentation on how our compiler works to enable someone to write thier·own IDE for the chip.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 6/11/2007 2:41:08 AM GMT
I don't mean to keep badgering you guys on this topic, its just that I think the Propeller is the most innovative, exciting product out there right now in this sector. The combination of features and power in such a small package is pretty unique.
Really the only thing missing is the fact that I cannot build the code on an alternative platform. I guess I will have to give the reverse engineered compiler a try.
Anyway, all I ask is that you consider opening up, eventually, enough details so that the community can create their own compiler that is mostly compatible with the official compiler, and that we can do that without having to reverse engineer anything.
I know others may want a full IDE but really all I want is a compiler.
--Chris
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I've been using the virtual machines for what I do. (Pre-sales demo, support, testing....) The VMWare player is free for all OSes. You could load win2k, the prop tool, and share files via SAMBA, NFS, FTP, etc... Once you've built up your VM image, just put it where it is needed and build from there. That does technically mean some win32 licenses, but that's it. Everything else is a no-brainer.
I've not had a chance to try this, but the VMware player would very likely handle the serial communications issues where WINE currently is a problem, due to how the prop tool communicates. Worst case, one builds an EEPROM image and uses one of the loader programs, that does run on other OSes, to put it on the chip.
Surely you have some win2K licenses left over from the older computers that could be used to get a VM up and running. If so, then it's just some work loading and configuring and you should be there.
There are two goals I have:
- To be able to use my own programming tools for writing code. I use TextMate for most of my coding on my OS X machine and I prefer that to anything out there.
- To have a tool that is open source so that, if the vendor decides they don't want to support an old platform, I can still program the chips I have around because I have the code and can always make the changes I need.
Its about choice and freedom, not about just making it work. If that was the case I wouldn't have purchased the Propeller starter kit, the Hydra and several prop chips. Yes I can program them, develop for them, I just would rather do that nativly on my OS X machine.
There are other advantages too. For example I can program my Atmel chips in C because I have gcc setup to cross-compile and create binaries for me. If the compiler was open-sourced, I realize thats not likly to happen any time soon, then who knows what might happen. Maybe someone would build a C compiler, or come up with a way of doing something no-one expected.
Also I haven't had the best luck programming the Hydra using XP running in Parallels. I have to un-plug and re-plug the USB connection about 20 times before it will recognize that the chip is there. Oddly enough I don't remember it being a huge pain with the starter kit. I just upgraded to Parallels 3 so I am hoping that this problem goes away. If I could consistently program the Hydra using Parallels I would be much happier.
--Chris
·
One other thing about VM's under Linux is they can be remoted to where ever they are needed, via the X window system. I realize this is somewhat problematic with this particular scenario, but it's totally viable for most others where you've got input and stored data. One VM, served to any number of users, running on a nice solid box will serve for a very long time without huge expense in either licenses or support, once configured.
Again I understand though. Respect it too. No worries there. IMHO, this will happen for the prop, but it's just gonna take time.
You guys hit a bulls eye, the name of the game is freedom. My company was held hostage by chipmaker, also they had to spend a lot of money to change the cpu. I will not seriously touch the chip without certain level of security. Historically only the chips with open architecture survive. There is nothing like prop., but ARM running at 280 MIPS for $11 ea. can go a long way.
I think there are a couple of things that should (my opinion) happen here, that would go a long way to resolving some of these concerns:
1. Parallax should come up with a viable long-term strategy to build cross-platform tools.
2. People should stop insisting on the tools being open sourced.
Honestly, the majority of the end users aren't concerned about having their Stamp/SX/Propeller IDE open sourced. They just want to program the chips on their favorite platform.
I think, I was misunderstood, 8051 or ARM does not mean open source. To “open architecture” I meant; instruction set & code are known, also programing protocols are published, so third party can write & make alternative tools. (It would be nice to have a second source for hardware too, but that is not up to Parallax). Prop is interesting piece of hardware, but it is classical example of closed architecture; limited information available, limited & single source for tools, single source for hardware. Using this product for a serious project is like asking for trouble. I do not think Parallax is serious marketing this device. And BTW the best ARM tools are not open source.
It would be nice for the Spin bytecodes to be well documented. The native instruction set and the download protocols are well enough documented for anyone with the resources to provide an assembler or compiler. That's already been done and there's a commercial C compiler for the modified native instruction set (large memory model) that will be available around the end of the year.
There's a fair enough document on the Spin bytecode instructions that a simulator has been written that works pretty well. It's been done by a 3rd party and not verified by Chip, but should be enough to produce some kind of compiler whether for Spin or C or some other language. Again, someone with the resources could struggle through the work needed to verify the bytecodes and produce a compiler.
Most of us can manage with the existing Windows XP-only tool until there are more tools available. I (and others) can run Parallels Desktop with Windows XP. Linux is a bit tougher, but CodeWeaver's CrossOver Mac will run the compiler and most of the IDE and I'm pretty sure their Linux version will work as well. If someone were interested enough to work with CodeWeaver and Parallax to isolate the bugs and fix both so they work together, that will take care of the cross support problem. The downloading part may not work because of the tight serial timing, but the Python downloader works fine with Linux and the Mac OS, so that's merely an inconvenience.
If you are asking about the Spin bytecodes then you will have to search around. Asterik documented all the bytecodes that he could find, unfortunately the link somehow died so you will have to beg him to repost them.
The programing protocol is not actually documented in plain text. There is a short description on bits of it written by Chip Gracey, which is supposedly all that exists document wise. The delphi communications unit that the Propeller Tool uses has been posted here many times so you can use that if you wish to implement your own programming tool. The programming protocol has also been used in a Python script.
There is no reason to say that the architecture is so closed that you cannot write your own tools. The instruction set is open enough for someone to write a cross platform assembler in java (its been done). The programming protocol is simple enough to be written in other languages (its been done). So you can use other platforms to program in assembly and load the propeller without touching any of Parallax's tools.
Harrison
Are there any limitations I would encounter?
Please let me know the best way to go about doing this.
Thanks,
Ryan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
Brad
·