SX-Key without Serial?
Eddie
Posts: 15
I recently bought a xgamestation to suppliment my Computer Architecture class, as well as learn Assembly. I am happy with the product, but I do not like the IDE that the built-in programmer uses. Lack of a debugger is my main problem with it.
It has support for the SX-Key. I would like to use this; but I have no serial port on my laptop.
Is there any way to get the SX-Key to work through a USB to Serial adapter?
I am sorry if this has been asked before; I did search first. Thanks.
It has support for the SX-Key. I would like to use this; but I have no serial port on my laptop.
Is there any way to get the SX-Key to work through a USB to Serial adapter?
I am sorry if this has been asked before; I did search first. Thanks.
Comments
This will do what I am asking?
Is there anything cheaper then this around? I also want the SX-Key kit because of the proto board and other things it comes with. I just spent $200 on the XGS, I would rather not spend another $30 if I spend $130 for the SX-Key.
edit: I didn't notice originally that the books that it comes with also came with the XGS. One came in its printed form, and the other came as an eBook. I can just get the lite kit and adapter for around the same price.
If someone can confirm that this will work, and that it will do so without too much hassle, that would be great.
Post Edited (Eddie) : 11/30/2004 5:15:39 PM GMT
Bean.
I also bought one of the cheap converters at a local store, and it only worked about a week (sometimes only after disconnecting and reconnecting the USB side) and finally, it died. Then I bought another one via eBay which - knock on wood - works fine since several months now.
Nevertheless, I think the FTDI converter is the better choice compared to some "mass-junk" around.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
So basically any USB to Serial converter will work hardware-wise? I will probably go for the FTDI unless I find something so cheap that if it broke it wouldn't be a big deal, then buy the FTDI.
The books I have that show some parts of the setup for the SX-Key IDE only show you as being able to select COM1-4. Is there a way in the software to make it use the USB, or do the drivers with the adapter handle that?
On a side note, its really nice to see Guenther reply. I'm assuming you wrote "Programming the SX Microcontroller". Even as someone who has never worked with Assembly before, I am having a good time going through this book.
There are some really cheap USB to serial converters for PDA use that *only* implement the TX and RX signals, and *will not work*. I've had good luck with the KeySpan 19W units. The 'BAFO' unit that was once sold by Parallax also worked well.
Bottom line, go for the FTDI unit, as it has the best XP support in the industry. You can spend a lot of dollars trying cheaper converters that won't work.
Do you know of any stores off hand that would sell the SX microprocessors? Mabye RadioShack? I will check their site and go to a store.
The XGS uses the Ubicom SX52: http://www.parallax.com/detail.asp?product_id=SX52BD I don't think it will fit into the proto board that they sell here. Programming wise, is the SX28AC more or less the same? I assume that they are, since the "Programming the SX Microcontroller" book they shipped with the XGS has a picture of an SX18AC on it.
Sorry for so many questions.
The SX52 is better than the SX28 -- more pins, twice the SRAM, more Flash program memory. However, it doesn't come in a DIP form factor. Otherwise, I think the assembly language is the same. The SX18 is an 18-pin narrow SX chip.
And if you need a prototyping board, AlWilliams sells a board that can be customized to use the SX28.
Does it come built with a way to get the SX-Key connected right away? How hard would it be to make a general proto board work with the SX-Key?
Thanks.
Post Edited (Eddie) : 11/30/2004 11:49:04 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
the USB/COM adapter's driver·I'm using here, allows me to·assign it to any COM port from 1 to nirvana,·so I have set it to COM1, and the SX-Key IDE has no problems·communicating with it. Too bad that such information usually is not contained on the outside of the packages.
Yep, I wrote "Programming the SX Microcontroller", together·with a lot of support from some·nice people at Parallax to launch the second edition. I hope that the book helps·you to become a bit more familiar with Assmbly, as this is the "native language" of the SX.
Bean, please don't beat me - SX/B is a great alternative, and I think some additional chapters dealing with SX/B are in order for the next edition.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
Günther
http://www.parallax.com/detail.asp?product_id=45207
Bean.
I just *assumed* the SX-Key would have similar issues -- my bad, I over-reacted. Doesn't make me wrong, of course. I'm with Guenther here -- go with what has worked for others (the FTDI solution).
And Al Williams sells a package using the GSPX with just the parts needed for an SX28 solution -- including the SX28. Yes, it has a connection for the SX-Key. I'd recommend buying that package the first time, just to insure you get all the parts needed. After that, you can buy your own parts-set, the bare-board, and get a cheaper solution.
http://www.al-williams.com/gpsx.htm
Obviously its not assembled vs assembled. Does anyone know what assembling it will entail?
edit: I looked up GPMPU40 and it seems that it doesn't have a breadboard. Am I overlooking something? Does this at least provide the proper power and grounding that I can use on a breadboard?
Thanks again.
Post Edited (Eddie) : 12/2/2004 3:54:09 AM GMT
The board does come with space on its edge for pin-connectors, which can plug in to another board or an off-the-shelf breadboard.
The 'GPSX' kit has a bare GPMU40 board, plus a complete set of parts to make it into the 'SX28' flavor of the board. These include the voltage regulator and capacitors, the MAX232 with capacitors, the DB-9, pin-connectors for signal and the SX-Key.
I believe Al sells the 'complete kit' set of parts, and the 'complete kit' without the SX28 and resonator (for people who already have those two key parts).
So right now I am looking at the following:
SX-Key
GPSX kit from AlWilliams
FTDI for USB to Serial
Few LEDs / 7-segment dispays / alarms / other little things to play around with
That should give me what I need for a little while?
Again, thank you.
I use the GPSX package when I want to embed my SX project in a nice box and deliver it to someone. If I'm just trying stuff out on the bench, I'll use the Parallax Lab board.
Although it occurs to me -- your approach could cost around $50 to $70, so you're still saving a little.
About 70% of our SX-Key purchases are for the $129 kit. For an extra 30 bucks you get two printed books that are not available for free download. Guenther's book has been a lifesaver for anybody trying to drill into how interrupts can be used, while Al's book provides you with lots of friendly getting-started types of examples.
And the SX/B on-line help file is very complete and well-designed, too.
Ken
I can get·the SX-Key for $19.99
$35 for the AlWilliams proto board which comes with the SX, and a few other necessary things
Regardless of weather I got the kit or bought things seperately, I would need·the adapter and some other spare parts to play around with.
I found some very nice boards recently that I would like to use if it isn't too hard to do this.
Thanks.
A 4-pin header, power supply and perhaps an external resonator. The SX Key manual includes a diagram.
Ken Gracey
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office