SX ISP protocol ??
Hi,
I must program the sx trought a pld. The the data sheets, are obsolete and the command list is not complete. I try·to log the sxkey and find much more commands. For example is possible read/write sequential .
Where can i find this command list or an update sheet??
Please help me!!![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
Regards
Goffi
·
I must program the sx trought a pld. The the data sheets, are obsolete and the command list is not complete. I try·to log the sxkey and find much more commands. For example is possible read/write sequential .
Where can i find this command list or an update sheet??
Please help me!!
![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
![cry.gif](http://forums.parallax.com/images/smilies/cry.gif)
Regards
Goffi
·
Comments
Have you seen the attached in-system programming specification? This document should help you achieve ISP.
Ken Gracey
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
in the list, you have the commands from 0 to 7 + 0xf (above are for future expansion).
sxkey use command like 0x8 0x9 0xa 0xb 0xc 0xd 0xe , what are it? some of it is like read/write sequential, but i'm not sure.
no one has this complete list??
I must not make other skey, but i must put the routine in my pld and program in circuit more components.
sorry for my lame english.
Regards
Goffi
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
There are a number of secret SX instructions directly pertaning to the in circuit debugging capability, and as of 1 year ago, you could only get them through a NDA with ubicom. Those instructions are laid out in detail in this thread: http://forums.parallax.com/showthread.php?p=519814
Now if I were Parallax, I wouldn't disclose how exactly the secret instructions are used to implement the degugging used in the SX-Key. Why? because the SX-Key represents years of development and refinement, costing alot of resources, and its the only commercial SX-programmer that does this additional functionality. That doesn't mean you can't reverse engineer a debugging solution using the instructions in the above thread, but it still raises the question: Why? A CPLD wouldn't need to debug the SX, just program it.
And the SX does not support an encrypted program stream.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
I'm only programming (ctrl-p) a little program. What it sent to sx is completly different from the 'standard' commands. Sx has a 'secret' instructions and now pheraps also also a 'secret' isp protocol .
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Other tool providers (such as Nurve) have successfully implemented the ISP protocol from the document I provided to you. If you have a production programming problem and need to support a manufacturing issue then we can provide further assistance. If you are simply trying to get an inexpensive tool built for your own use I can't be of much help as managing these requests is not cost effective. It would be much easier for me to send you a batch of programming tools.
Thanks,
Ken Gracey
I'm positive the ISP programming protocol works EXACTLY as described in the document indicated by Ken. I can't understand why you're so insistent that it's different, because i't NOT.
As indicated by Paul, the DEBUG protocol is different, and THAT one is not in the public domain.
Cheers from Maui, Hawaii,
Peter (pjv)
1110:110011101000<-CE8
1110:110010111011<-CBB
0001:110000100001<-C21
0101:011100110011<-733
0011:011011100100<-6E4
0010:110111110010<-DF2
0110:010111110010<-5F2
0101:010011111110<-4FE
0011:001110100101<-3A5
1000:110100000110<-D06
0110:000111111000<-1F8
1111:000010101111<-AF
0010:011011110101<-6F5
1001:010010010000<-490
1100:111111101101<-FED
1101:101010000100<-A84
0000:100101001001<-949
1000:010101001000<-548
1001:111100010010<-F12
1000:000011100010<-E2
0111:110000010101<-C15
0011:010001101111<-46F
1111:000000010100<-14
1001:100101110101<-975
0000:000110101101<-1AD
1101:011100011001<-719
1111:101010001000<-A88
1011:111101001011<-F4B
1010:100011001001<-8C9
1100:110101101101<-D6D
1100:001001010111<-257
1101:101110110110<-BB6
i don't understand why parallax use a secret way to program sx and others persons must to use a 'free' way. i can understand they pay and spent money to develop sxkey but why they use other way? is it better? is it too fast?
http://www.sxlist.com/techref/ubicom/devprogs.htm
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
Those that would give up freedom for security will have neither.
·
Post Edited (goffi) : 12/5/2005 1:35:57 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
As I indicated above, if you're a tool manufacturer we'll help you. If you have a production programming problem we can help you. If you are a hobbyist who needs help implementing the ISP to save some expense you'll be on your own with our published documentation. I will assume you are the latter by lack of positive reply to my prior post and will advise our main SX engineering staff not to assist unless you contact me off-line. If this is the case we can't cost effectively support your needs. I've got to be honest and straightforward with our position and your request.
There are no secrets of which I'm aware, only some tricks in regards to implementing the debug portion of the SX-Key which are not published (because we don't want to support such requests as evidenced by this thread). Again, if you are a tool manufacturer then there's even a way to help you in this regard.
Ken Gracey
Parallax, Inc.
i know you want protect your interest. is not my intection make a similar sxkey programmer.
i'm not interested in your debug routine.
sx is not a secure chip... if some one wanna clone your programmer, you know... it is very easy. but i repeat, i only ask about this strange protocol. not other.
you can advise your staff now, no problem for me.
The data stream between the SXKey IDE and the SXKey is encrypted. Why? I don't know and I don't care. It just is. However, the documentation for programming the chip is available. If you want to do create your own programmer then why do you even care how the SX-Key and the SX IDE communicate? You won't be using them, so don't waste your time trying to figure them out. Spend your time on getting your own programming system working since that is what you want to accomplish.
Thanks, PeterM
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 12/5/2005 8:17:03 PM GMT
Paul Baker: i continue to investigate. i find some good trick here http://www.sxlist.com/techref/parallax/sxkey/SXBLITX_SXKEY.htm and in the source code gsxprog. but these are related to pc<>sxkey.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
other: "SX-Blitz protocol is open" mhhh....· the code is open, the protocol is make reversing your sxkey.· so the protocol is not really open.
Post Edited (goffi) : 12/6/2005 2:35:28 PM GMT
I know exactly what you mean. Yesterday I called Microsoft and they wouldn't provide me with the source code for Microsoft Office. Then today I called Coke, and they wouldn't provide me with their formula for Coke. I cannot believe the rudeness of these companies. I mean I'm just curious...
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
Those that would give up freedom for security will have neither.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
seems as if some are messing up two protocols: The one between the SX-Key IDE, and the SX-Key or SX-Blitz, and the protocol between the SX-Key/Blitz and the SX to be programmed.
The IDE-SX-Key/Blitz protocol is Parallax proprietary stuff, and in case of the SX-Key it is encrypted. Nevertheless, If you want so set up your own SX programmer, it does not help monitoring the data exchanged between the IDE, and the SX-Key/Blitz, as this has nothing directly to do with programming the chip.
Instead, follow the instructions given in the DeviceProgramming.pdf document. This describes the "official" methods how to communicate with an SX chip for programming/verifying. In the end, the SX-Key/Blitz devices do nothing else. They receive commands from the IDE (via the "Parallax" protocol), and convert them into the required serial sequences for communicating with the SX chip via the OSC pins, and they also provide the required programming voltage Vpp when necessary.
So, my suggestion is to study the DeviceProgramming document in detail instead of trying to analyze the internal IDE-SX-Key/Bliz communication.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G