Programming Question
We are going into large scale production with a product based on the SX48.
Is there any way to automatically call the programming via a 3rd party application, such as Labview? Perhaps some way of calling the programming algorithm for COM1 via the command line in dos?
Regards,
Shane.
Post Edited By Moderator (Chris Savage (Parallax)) : 7/31/2005 5:11:18 AM GMT
Is there any way to automatically call the programming via a 3rd party application, such as Labview? Perhaps some way of calling the programming algorithm for COM1 via the command line in dos?
Regards,
Shane.
Post Edited By Moderator (Chris Savage (Parallax)) : 7/31/2005 5:11:18 AM GMT
Comments
Just by messing around, I found doing "sxkey filename.src" would open filename.src. I don't know of any command line options to do an automatic programming yet.
However, we dont want to release our source code to the manufacturer - is there any way to give them the object file, not the source?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
another (but much more expensive) option would be to use one of the universal programmers and testers available. More and more of them support SX chips in the meantime. I own an ALL-11 Universal Programmer & Tester from HiLo Systems, and it works nicely for mass programming. Be aware that you can't use it for in-system programming, i.e. you need to insert the SX into the programmer's ZIF socket, and then press a button to start the automatic programming and verification sequence.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I highly doubt the IDE has this functionality that Paul Baker talks about. However, it would be very easy to add, and Parallax will probably add it because it is necessary for production - a major source of profit.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SX-Key + SX52 + Proto Board + SX-Key Software + Computer + USB to Serial Adapter + LED = Blinky LED!
And thier must be 1,000 programmers that support the SX. Many of them listed on sxlist.com, but why not start with:
http://www.google.com/search?q=sx+programmer
Why do people assume that parallax is the only place for information on the SX? Parallax can't hope to keep up with all the information that is available out there... They (rightly) focus on thier own products.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james at sxlist,com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!
As for the QBasic program, I believe its not Windows XP compatible - it uses direct accesses to COM1 (port 0x3F8). It isn't compatible with the SX48, and was last updated in '99.
Why, oh why oh why dont they just add a "program now" command line option to the SXkey software? Theres already an option to specify the .hex file. You've had *six* years to sort this one out!!
(I, Shane, decided to delete the previous comment I made at this point about "sanitization", as it is incorrect)
Shane.
Post Edited (smt52) : 8/5/2005 6:44:12 AM GMT
I think there is no real reason for heating up this thread.
Let me try to nail it down to the point:
Fortunatley (for Parallax and Ubicom), there are people/companies around, intending to use SX chips for commercial (hopefully) mass projects. Maybe, I'm just a "minor player" in this area, because I have only shipped around 1000 SX-related products out of the door so far. I'm sure, there will be others selling volumes I never can compete with.
So far, I programmed all my SX chips with the SX-Key attached to an SXTech board using the SX-Key IDE, by simply hitting Ctrl-P to launch a new programming session. It's that simple.
If there were an IDE command-line option available to launch the programming cycle, you would still need some way to "tell" the batch file to start a new programming session - so why don't you just use the IDE as it is, and hit Ctrl-P, or click the "Program" shortcut for the next programming cycle?
As I had mentioned in another message, there is always an option to use one of the much more expensive universal programmers available in the market. I own an ALL-11 Programmer from HiLo Systems. Although it supports the SX devices, I prefer using the SX-Key for programming, using the ALL-11 for PICs (Shame on me), and various EPROMS.
10-1 = 1
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 8/4/2005 11:28:22 PM GMT
You're right - perhaps the wording I used was a little strong.
Scenix chips are fast, nice, cheap, and good to work with - and Parallax tech support and shipping time is excellent. If the SXkey software had console support for production programming we would consider Scenix for more than just the current product (which has preorders for 250 units, and is going to move >3000 units over the next three years).
Console support? It would be a matter of adding a "-p" switch to the SXkey software to do a "program now" on the .hex file. The SXkey software already has support for specifying the .hex file and the COM port.
Adding console support would allow integration into our existing Labview test/programming jig.
Shane.
Post Edited (smt52) : 8/5/2005 12:11:23 AM GMT
Could the kind folks at Parallax contact Peter Montgomery regarding the addition of the command line programming option?
Peter Montgomery did release the Delphi source code for v1.31 of his SXkey software (see sxlist for Peter Montgomerys home page); I do have 8 years Delphi experience, so I could do the software mod myself.
Would there be any way to get the source code for the latest version of the SXkey, given that v1.31 is a very early version?
Shane.
We're on it already. I'd like to see a command line support interface as well.
Also, the full programming specification is available for download here: http://www.parallax.com/sx/downloads.asp
Will get back to you on the command-line interface.
- Ken
Brilliant! Thankyou for the quick work (Parallax tech support is superb!), we will go ahead with the final design on our programming/test jig in Labview now.
Shane.
This is what makes Parallax so great to deal with .... even the man at the top pays attention and moves quickly when the situation calls for it!
Bravo!
cheers ... brian riley, n1bq, underhil center, vermonty
Peter is on board with a plan which includes·a simple command-line interface as you've requested. At the same time,·we are·considering a multi-part programming interface in the SX-Key software as shown below in the screen capture.·This "bigger plan"·won't derail our immediate needs for your command-line interface, so you should see it first. Or, as you mentioned, you could use the open-sourced SX-Key IDE to do this yourself. But,·in all honesty, if you let us provide you with what you need [noparse][[/noparse]along with the other customers in the same situation] you'll likely get it quicker. And, we'll pay for it while you can keep your SX chip product moving towards production.
We've·not talked about a specific schedule yet, but should have one soon.
Sincerely,
Ken Gracey
Parallax, Inc.
Brilliant! Parallax is certainly moving quickly towards an excellent solution on this one. Looking forward to the release. If we give you our Labview interface to our SXkey, you could perhaps publish it on the your website to enable other customers to easily move into production.
Shane.