BS2PX and Linux
terry_bear
Posts: 84
Hello to all,
I have several BS2PXs that I wisht to program using Linux. Sourceforge provides several tools that work on other bstamps, but not the 2px... I think that I can hack the source code for loading the tokens, but I don't know if there are any differences other than the baud rate for the programming port. I know that there are some commands that are unique to the 2px, but I don't expect to use them.
Any help would be appreciated...
Terry
I have several BS2PXs that I wisht to program using Linux. Sourceforge provides several tools that work on other bstamps, but not the 2px... I think that I can hack the source code for loading the tokens, but I don't know if there are any differences other than the baud rate for the programming port. I know that there are some commands that are unique to the 2px, but I don't expect to use them.
Any help would be appreciated...
Terry
Comments
There is limited and experimental support for the 2px in
http://forums.parallax.com/showthread.php?p=536320
Limited means that it doesn't support the new commands of the 2px stamp.
Experimental means that it is a hack and·not extensively used and tested.
Regards
Adrian
I know that each Stamp acknowledges with a unique character, to a unique request, and that I will have some trouble there, unless someone from Parallax chooses to help out...
Without the tokenizer, though, it would appear that I'll have to resign myself to using windoze...
If I can resolve the handshaking issues, I can tokenize it in windoze and load it into the Stamp via Linux (C++, or bash, or perl, or something else!)
Thanks for the prompt response
Terry
I followed your link, and see that you have a "showtty" tool. Does that mean that you already know what the "interogate" and "ack" characters are for the 2px?
Terry
SORRY! I just noticed the attachment in your post on the other thread, and see that you have already covered the same ground...
I will play with that for awhile...
Thanks again,
Terry
-dan
Post Edited (icepuck) : 2/5/2008 3:51:16 AM GMT
Actually, I have tried to use the Parallax program with Wine. The program appears to be running under Wine, but I cannot get Wine to recognize my serial port. I loaded a terminal program, and it acts as if the port parameters are waaaay out of whack (highly technical term). The terminal program provides results that lools as if the baud rate is way off. A web search for serial problems with Wine gets all sorts of conflicting "info". People can't seem to agree on whether Wine still looks for a wine.conf file, or not.
Anyway, Parallax seems to communicate with Wine; now if I can get Wine to communicate with port...
Even if I get all of this to work, the solution suffers from a basic issue; the chaining together of several applications causes reliability issues, just as they do in hardware. I used to have engineers that would string together several adapters (either too rushed or too lazy to get the correct one) and then wonder why everything was intermittant...
Oh, well, I have more time than money to play with <grin>
Terry
-dan