Exact match. Not showing close matches.
PICList
Thread
'[SX] SX52 Won't Program'
2005\06\23@204705
by
ForumAdmin
|
|
I finally installed my first sx52 on a custom board. Unfortunately it is failing to program. I have checked checked and rechecked all connections and wiring. Especially care has been taken to connect the osc1, osc2 and rails appropriately to the SX-KEY; the MCLR is being pulled high with a 10K + I have tried holding reset upon power up and/or depressing following power-up. There has been no error that I can find so far. The SXkey initially seemed to be programming the chip, with the write progress bar reaching completion. But the very simple flash an led program did not work, I was able to reprogram another couple of times and now nothing! The SX-KEY is okay as I have retested it on an SX28. Does anyone have any ideas? I oriented the chip according to the indented mark rather than the text orientation. Has there been any know orientation issues with these parts? Please let me know if you have any ideas.
JT
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\23@205809 by ForumAdmin
|
|
Are you running your SX52 board at 5 volts?
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78298
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\23@210008 by ForumAdmin
|
|
Yes, I took a reading @ 4.98V with expected polarity
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78301
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\23@212556 by ForumAdmin
|
|
Just a thought, but how careful were you with static/shock considerations when putting the chip in the protoboard? While handling it? I find that when I'm working on a new setup that I'm not sure is functioning I tend to handle things more than normal (checking, rechecking, etc)- so possibly it *was* working then the troubleshooting steps introduced problems?
Ryan
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78307
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
I don't think it's the SX-Key. Perhaps you have a bad solder joint in the connections associated with the programming connections. I know, I know, I know ... we all build our own boards perfectly (me too!) -- but the culprit is probably somewhere in the construction.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78308
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\23@220603 by ForumAdmin
|
|
Jon, wise words...for everyone but me! I will definately be on the lookout for mistakes, I tend to make alot of those the first time around. I rarely write code that works the first time around and I doubt my board soldering/design skills would be any different.
I doubt it is static related, I was and have been pretty cautious, I even had a 10 Mohm resistor handy to touch to the soldering iron/ground on the board. I am typically tend to be a bit overkill with those kinds of things. Additionally I have an SX28 that I have put through some really really nast shocks and even a few latch-ups. It works like a charm (of course it has been marked as: for experimental use only).
I have been following the traces and reheating solder joints. I have even electrically verified continuity between the SX_KEY header and the upper portion of the pins (right were they disappear into the IC casing). I am really curious what happened. I don't want to desolder this chip as they are easier going in than out. I have other boards and I may load another chip on one of those to answer the question of design versus chip/fab error.
Thanks
P.S. I am still open to ideas
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78313
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\23@220933 by ForumAdmin
|
|
What are you using for the oscillator while not using the SX-key?
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78314
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\23@225643 by ForumAdmin
|
|
I am the proud owner of two flashing LEDs!!! It appears that the first write was a little tricky on this chip. I have a very short wire interface between the SX-KEY and the target board. This has NEVER been a problem! I use this interface to reduce wear and tear on the SX-KEY, as it does get ALOT of use. Its easier just to change the wires out, which I haven't had to yet. I removed this wire and used the SX-KEY straight . It failed the first three times but showed promise, then it programmed. I wrote a couple of programs to the chip and now I am back to using the wire with no problems. This was just a freak event which may be either inherent to the part or induced by my interface adaptation...My confidence in this particular IC (not all SX52s) is reduced. I will be monitoring it closely. Thanks for your input!
JT
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78317
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\23@225939 by ForumAdmin
|
|
I am using a parallax resonator @ 50 Mhz. I do have some oscillator work to do for stability, good point. But I found the main problem, sort of. See above
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78318
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@052652 by ForumAdmin
|
|
Glad to see you figured it out.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78322
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@091128 by ForumAdmin
|
|
Miner_with_a_PIC,
I'm curious about the wires you use to connect the key to the board. I know things have all worked out for you, but I'm confused as to why you do this. You say the key gets "A LOT" of use, but I'm not even sure what that means. Are you constantly plugging and un-plugging the key from your board or just leaving it on a board for days or weeks at time while working on a project?
If you are concerned about the strain of the key with a serial cable attached, just make a short ribbon cable connector to put between the SX-Key and the much heavier serial cable. Use a pair of IDC style D-Sub 9 connectors. You can get them anywhere, but here's Digikey's part numbers as a starter:
CMP09T-ND
CFP09T-ND
This is the catalog page online:
[list]Thanks,
Make the ribbon cable about a foot long or so. It weighs so little that it won't put any strain on the key as long as you rest the heavier serial cable on the desk and not hanging over the side, which would defeat the whole purpose.
PeterM[/list]
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78350
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@112528 by ForumAdmin
|
|
Hang on now... You didn't specifically say this so it's worth asking: Are you removing the resonator when you program the chip? There seems to have been some bad information / habits about this in the past. You MUST remove the resonator from the circuit when you use the SX Key.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78363
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@122406 by ForumAdmin
|
|
PJMonty, That is pretty much what I do. The wire length between the sx-key and the target board is about 6 inches and I actually have the key enclosed in a box. The box has a Serial connector attached to the enclosure and takes all the abuse of the regular serial cable. A bit excessive? I say YES! The SX-KEY is great, but I noted when I first recieved it that the connection between the target board and the key recieves excessive physical stress. This is typically due to the key wanting to go one way and the target board the other, connectors like the one provided are not designed specifically for this and will show wear as a result. If your work space is tidy and have strapped everything down plus you don't connect and disconnect often you should have no problems. But I am notoriously messy and tend to be on occasion clumsy, known for example to trip on wires and bump my head. I typically do leave the two connected about 50% of the time but the other 50% I am connecting and disconnecting. I have for example over the past week connected and disconnected around 20-30 or so times. This is alot I know.
I think that the use of the hardware that you suggested PJ along with a dedicated, anchored board/sx-key pair would ensure years of reliable use.
James, sometimes I program with the resonator in place due to laziness. Yesterday I was programming without the resonator connected. I know not following protocol can cause issues and even damage (mostly to the resonator), but living life dangerously can often be exhilarating!
JT
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78368
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@125537 by ForumAdmin
|
|
Wait wait wait, that is your problem. The SX-Key acts as your oscillator when plugged into the board, as such you SX-Key placement and use must conform with the requirements of oscillator placement. The suggested maximum length for an OSC line when actively driven @ 50MHz (as the SX-Key does) is less than 3", your length is _twice_ that! As such, the parasitic capacitance and inductance of your extra long leads messes with the slew rate attainable (and therefore the maximum clock rate achievable). If this occurs you will experience problems like you were having, even though your setup now works, setting the assembly down and picking it back up (ie leads are moved around) can cause the problems to reappear.
Peter's discussion is regarding the strain relief on the _serial_ side of your SX-Key (the end your computer is connected to), extension of the lines the way you are doing is strongly discouraged for the reasons listed above.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78370
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@140011 by ForumAdmin
|
|
You make a good point, but this is valid true for two situations: 1) when your designing your board layout 2) for using the SX-KEY as the clock source @ 50 Mhz.
I had problems loading the program in to the SX52's memory, this is a low speed operation and the cable lengths used probably would be less of an issue. I do however feel that the extra cable length did stress a marginality with the chip. I say this because I am now able to program with the extension. So there may be something I am missing. I have used this set-up several hundred times @ 50Mhz on numerous sx28s without failure to load or sustain the 50 Mhz clock. But you do get those occasional chips/board layouts that stress this 3" rule, so yes this is a good rule-of-thumb (and one I wasn't actually aware of, thanks for the information!).
This whole discussion thread does point out the importantance of locating your resonator and programming header adjacent to the chip really is. Not doing so can cause headaches. I fortunately did not break this rule, but do have a little bit of a loop (inductance related to area) between the oscillator pins which is undesirable. I can always wire this out but I seem to be up and running. I have found that using a feedback resistor in parallel with the resonator is very handy at stabilizing the higher frequency crystals. Use them!!!
JT
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78376
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@152755 by ForumAdmin
|
|
No many people have expressed problems with programing an SX with extended leads, I know for a fact Jim McCorrison (Jim you still alive? haven't seen you in a few) had this exact same issue (SX wouldn't program), he solved it by shortening the board side leads and extending the serial side.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78385
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@184453 by ForumAdmin
|
|
Believe it or not, I have never had a problem programming an sx in the manner shown.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78396
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@201452 by ForumAdmin
|
|
KenM, Thank you for sending along that image; It really does help to put things into perspective. If that set up does work then I am certain even with SX-KEY extension wires I must have had a wacked out chip that needed special attention during the first few programmings. The chip is running just fine now and I am just making tweeks to the oscillator circuit.
KenM, are you able to use that set-up without a resonator, using a 50Mhz driving frequency from the Key?
JT
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78399
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@203123 by ForumAdmin
|
|
I have only programed with that cluge of wires, never attempted to run a program.
This weekend I will try to run a program with the SXkey and the set up shown in my previous post, then submit my results to this forum...
Ken
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78400
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@220813 by ForumAdmin
|
|
The aforemention SX52 was a pain to program, I must have tried 30 or so times before I tried the direct connect approach. I agree 10% is just a nusiance. The strange thing was that I programmed the sx28 with the same set-up during my programming issue, so I don't think it was a loose wire in my case. I look forward to hearing about your results.
JT
P.S. Gunther what did you do? And which capacitor?
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78406
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@224633 by ForumAdmin
|
|
I think Gunther soldered a 22uF electrolytic capacitor in parallel with the 1uF Tantalum capacitor (on the output side of the 5V regulator) for more repeatable SX28 programming. I recently picked-up some 22uF Tantalums at a good price (10 for $1) at www.bgmicro.com and it's destined from my SXTech board.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78408
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@225653 by ForumAdmin
|
|
FYI here's the thread concerning changing the capacitor on the output side of the regulator - see Guenther's comments on page 2
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78409
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\06\24@234109 by ForumAdmin
|
|
Thanks Forrest, I did have a 100 uF electrolytic capacitor on the output side of my regulator. I didn't and don't have a tantalum type capacitor in parallel with it, although I do have the surface mount pad already connected in parallel with the large capacitor on my board + tantalums handy! I may add one for good measure, thanks for the info.
JT
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78295#m78414
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2005
, 2006 only
- Today
- New search...