SX-Key Error: Chip connection failed
Has anyone come across this situation?
I was programming one of my SX chips on the SX Tech Board for the first time out and the SX-Key software first indicates an error stating that the chip connection failed.· Then after a few seconds, it generates the message SX-Key Not Found on COM1.· But the SX-key was correctly inserted into the pins on the Tech Board and the chip was inserted in the correct indexed order.· My guess is that the SX-Key is defective or the SX chip.· Please explain what I should do!
I was programming one of my SX chips on the SX Tech Board for the first time out and the SX-Key software first indicates an error stating that the chip connection failed.· Then after a few seconds, it generates the message SX-Key Not Found on COM1.· But the SX-key was correctly inserted into the pins on the Tech Board and the chip was inserted in the correct indexed order.· My guess is that the SX-Key is defective or the SX chip.· Please explain what I should do!
Comments
You mentioned programming "one of my chips". Have you programmed other chips successfully? Do you have other chips to test with now? If so, try one of them. Also, did you try the same chip again to make sure it wasn't just some transient problem?
Thanks,
PeterM
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Green Phantom
It sounds like you're on the wrong comm port. Are you sure you are on Comm. 1?
HTH, Chris
Try every com port option in Run->Configure->IDE
Try a different SX chip (I think the kit comes with two).
If you can, post a picture of your setup.
Are you using a USB to Serial adapter ? Many of them don't work properly with the SX-Key (because it needs precise timing).
Don't give up, try anything and everything. Call Parallax tech support, they are friendly and are willing to help.
Keep us up-to-date...
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"
Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
I wouldn't get discouraged quite yet. There is probably a simple explaination as to why you are not able to download the example programs to your development board. Once you get past these initial problems I think you'll find that the SX chips are pretty easy to work with and there are plenty of people on the forum that are willing to assist when you get stuck.
In order to troubleshoot the problem it would be helpful if you can provide some other details....
1. You mentioned you bought the SX Tech Tool Kit PLUS but you didn't mention what power supply you are using. Did you purchase the recommened power adapter from Parallax at the same time? If not what power source are you using?
2. The power from the SX-key should be 5v from the SX tech board or you'll have to supply the 5V if you're doing it manually on a breadboard. Can you check with a voltmeter to ensure that there is 5v getting to the SX-Key?
3. In regards to your host PC what are you using? Is it a laptop, desktop, etc? Does it have an internal modem?? If it does then it was common for the real 9-pin serial port to be disabled in the BIOS and the modem would be on COM1. The SX-key might be trying to talk to a modem instead!
4. Have you ever used the serial port on your PC to talk to any other devices? I've run into one case with the small ribbon cable going to the back of the computer was left disconnected. You'll need to confirm that the port is ok.
5. If none of the above helps then what OS and version are you using?
Let us know.
Robert
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Oh... one more thing... the $500 I mentioned is planned for purchasing a Xeltek 280U Universal Programmer. I want to program more than just SX chips and this universal programmer (and an alterlative called 'Leaper') may support SX18 and SX28 Chips. When I resolve the issues, one of the experiments I would like to work on is to take my SX/B programs and convert them to HEX formats for the universal programmers like the Xeltek.
Thank you for your support. I appreciate your replies!
G. Phantom
Mission Aborted!
G. Phantom
There are no issues with the SX-Blitz on USB that I am aware of. In fact the current version of the SX-Blitz is USB. If your SX-Key is not working you should contact us in Tech Support to arrange to have it sent in for testing. If it’s defective we’ll replace it. But we cannot determine what may have happened until we have the device. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
G. Phantom
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I also had a situation where the SX28 did not have 100 % contact on the breadboard, and that also seeemed to cause this error message.
Perhaps you should look in that direction too before sending it back...
Post Edited (Nicolai Czempin) : 5/7/2007 12:28:43 PM GMT
Amidst the confusion, I decided to go USB and purchase the SX Blitz Programmer.· Blitz saved the day!· My e-machines is capable of acquiring the USB Drivers for devices like the SX.· The USB Serial Port on this computer for the SX Blitz is recognized by the Device Manager as COM4.· It unexpectedly performed belying the "Incorrect Device Drivers" problem displayed in the www.parallax.com web pages.· I gave one of the SX/B programs (HIGH-LOW.SXB) one last shot and this time it programmed the SX Chip!
So, Mr. Savage, I don't need to send over the SX Key device for testing anymore.· I now know it was defective when I first attempted to program the SX device.· However, is it possible to return the device to replace it?· Once I installed the USB drivers for the SX Blitz, it proved that the SX Key is defective and needs replacement.· The next question is, though... what device am I going to invent with the SX chips???· From here onward, that's left to my imagination... and likely the purchase of devices like Multilabs' ezVID and ezVGA and other goodies.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Green Phantom
Please contact us via e-mail (support@parallax.com) or phone (1-888-997-8267). As for the MAX7219…Eventually someone may post some good code for it. Currently I am not aware of any for it, but with SX/B you should be able to recreate the BS2 code fairly simply. I would recommend trying it and if you have problems post what you have here (in a new thread) for assistance. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
this , of course· means that onchip debug is not avail to me
but it works
parallax tech tested my sx key... sat
yes i have the parallax power supply that was for the sx tech
and i have a large cap on it like gunther suggests..
just started programming sx's again, maybe i'll have to go with that usb key
dan
Post Edited (Sawmiller) : 5/13/2007 10:16:17 PM GMT
when testing my SX48DIP module, I came across the famous "chip connection failed" error message.
For testing, I had inserted an SX48DIP module in the breadboard area of a Parallax PDB, hooked up wires to Vdd and Vss, installed a 4-pin header for the SX-Key on the breadboard, and connected it to Vdd, Vss, OSC1, and OSC2, as usual, just to end up in a "chip connection failed" error when trying to send a program to the SX48 with the SX-Key.
The reason was simple enough but it took me a while to find out: I forgot to tie the MCLR pin to Vdd. Shame on me !!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G