programming in linux
scooterx3
Posts: 4
The BASIC Stamp 1 Starter Kit includes a special BS1 Serial Adapter that allows you to program in the Windows environment.
That's what the description for the BASIC Stamp 1 starter kit says. I know there's software to program in linux, but that it specifically says Windows environment, I figured I'd ask before I went and bought one of these so I don't get a surprise by finding out I can't program it in Linux. Any help appreciated. Thanks.
Comments
What Distro are you useing . I use RedHat and Fedora and CentOS ..
Peter KG6LSE
I just now looked at the bug filed in Launchpad for the adapter, and it seems there's a fix (see posts 7 and 8): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/460857
My BOE-USB shows up as....
Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT
So communication is possible, just not with parallax software though.
-dan
Honestly, your best experience with the Basic Stamp will happen under Windows. If you can't or won't use Windows, you'll either need to a) get hold of the Basic Stamp kit that you are interested in and try it out, or b) forego the Basic Stamp for something more Linux friendly.
If you do decide to give the Basic Stamp a try, I suggest you consider getting a Basic Stamp 2 kit that supports USB. This is because the USB kits (Board of Education or Activity Kit w/USB2SER adapter) use the FTDI USB chipset, which is natively supported by Linux. This means that at the very minimum, you'll know that this part is supported. The BS2 would also give you more room for growth and more flexibility than the BS1. If you want to save a few bucks, you could get the "Summer Special" and a USB2SER (this is a Parallax product) and have the equivalent of the Activity Kit.
For the Propeller chip, there is a community-provided editor called BST (Brad's Spin Tool) that I believe works under Linux, although I haven't tried it. I know that the USB drivers on the Propeller Demo board are recognized under Linux, and that PropForth ( a version of the Forth language) running on the Demo Board can be accessed under Linux. But all of this assumes that you would want to use a Propeller instead of Basic Stamp.
My take on the matter is that if you're serious about Linux, then Parallax probably isn't the right choice, and if you're serious about Parallax, then Linux probably isn't the right choice.
P.S. Welcome to the forums
Perhaps you missed my post, but support for FTDI-based USB-to-serial adapters was broken in the version of the Linux kernel shipped with Ubuntu 9.10, and I haven't confirmed if there's it's been fixed for 10.04, but there is a fix on the bug page in Launchpad (see my original post above).
I recently decided to have a look at the bstamp source code because it didn't always work even with an actual serial cable, and when it did, it uploaded code very slowly in comparison to Parallax's software, and I was surprised to realize that it, though licensed under the GPL, had quite a bit of proprietary code from Parallax's examples for how to use their tokenizer library, as well as the proprietary tokenizer library itself. Personally, I don't like using Parallax's IDE because it requires that I run Windows (which I own, but does not perform as well as Linux), and because I don't like the interface -- I much prefer writing code in Vim, for which I've even written a PBASIC syntax script. This thread just might have me write an IDE or something of the sort for Linux for the BASIC Stamps from scratch to replace bstamp...
As for the IDE, I think it's probably a violation of the GPL to include non-GPLed code like the tokenizer library. If you really want to create an IDE, I suggest strting with Eclipse or NetBeans and creating the necessary plugins to round it out. You might also see about working with BradC to add Basic Stamp support to his Propeller tool, which supports Linux: http://propeller.wikispaces.com/Mac+and+Linux+native+development.
If your referring to the # 27111 . BS1 Serial adapter .
Its just a Level adapter .its RS232 in TTL Out .
If you want good Linux or mac Out of the box USB to serial support I recomend the USB-19-H from tripplight ( Keyspan) . I * think* it is FTDI based .
I have yet to find a Distro it has not worked on including DSL.
@Kevin Wood: I did begin to write something of an IDE in Java quite a while ago when I was learning the language, with the intention of disconnecting it from the tokenizer; it would merely run an external program (such as bstamp) to handle tokenization and uploading, but providing an interface with tools to help write PBASIC. Really the only thing I accomplished was to write a simple graphical interface that would allow the user to calculate SERIN/SEROUT baudrate values given the model BASIC Stamp and related variables.
As for BST, is the source code actually available or not? I've looked at the site briefly, but didn't see it anywhere.
1. Display a directory listing
2. Renaming a file
3. Removing a file
4. Display the contents of each file.
________________________________________________
Want to get-on Google's first page and loads of traffic to your website? Hire a SEO specialist from Ocean Groups seo specialist