Shop OBEX P1 Docs P2 Docs Learn Events
What have I done wrong to fry my SX ? — Parallax Forums

What have I done wrong to fry my SX ?

EWo_GeEWo_Ge Posts: 20
edited 2007-07-13 01:09 in General Discussion
I'm working on a small project to generate a coupple of PULSOUT signals.
I have a SX28 on a small board, some connectors and a LED with 230 Ohm to +5V.
The LED is more or less just as pulsing indicator for the function of the controller.
After soldering the circuit, I took the usual precautins like measuring for shorts and right voltage on the right pins etc.
I downloaded first a small test programm, which is doing nothing but a pulsing output to the LED. I'm·using·the internal oscillatar with 4 MHz.
So far everything worked fine. After·disconnecting SX Key and power I reconnected only the power and the LED started pulsing as planned and expected.

When I then reconnected the SX Key to download another programm, the LED stayed on, the chip got warm and is not talking to me since.

What went wrong ???

Thanks for any help,
EWo

Comments

  • BeanBean Posts: 8,129
    edited 2007-07-06 12:41
    Did you disconnect the power before connecting the SX-Key ?

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never argue with an idiot.· They'll drag you down to their level then beat you with experience.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • EWo_GeEWo_Ge Posts: 20
    edited 2007-07-06 16:19
    Thanks Bean -

    I have to admit, that I'm not sure about that. Is there a specific sort of order to I should dis- and reconnect power and SX-Key?

    After I removed the toasted chip and soldered in a socket (which I tried to prevent at first) I made a second attempt. The result were unfortunatly the same...

    To my defense, that was before I read your reply... At least, now I can change the chip without soldering.

    Looks like I'm making a systematic error here. Please advise about a save way, to connect power and key, once the chip is programmed. It seems to me, that it only happens, once the chip programmed.

    Thanks for the help,

    EWo
  • BeanBean Posts: 8,129
    edited 2007-07-06 16:35
    Does the new chip program at all ?
    Can you try the SX-Key on something else (like the SX Tech board) ?

    You need to determine if the SX-Key is damaged. If it's not, then there is probably something wrong with your board.

    You do have the 10K pullup on the /MCLR pin right...

    I connect and disconnect the SX-Key pretty often. It's not a smart thing to do, but in all the times I've done it I've only ever had 1 SX-Key get damaged. Maybe you were just unlucky...

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never argue with an idiot.· They'll drag you down to their level then beat you with experience.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • EWo_GeEWo_Ge Posts: 20
    edited 2007-07-06 16:47
    The /MCLR is directly connected to +5V as shown in the SX-Key Manual page 13.
    The Key is OK, I tried on my SX28 Proto Board. That is the strange thing, on the Proto Board I never experienced any problems like this.before (and now...)

    EWo
  • JonnyMacJonnyMac Posts: 9,215
    edited 2007-07-06 16:55
    You need to put a 10K resistor between /MCLR and Vdd -- there is a weird race-condition that can cause a problem without this resistor.
  • BeanBean Posts: 8,129
    edited 2007-07-06 17:00
    Yeah use a 10K, AND a 0.1uF or 0.01uF cap across Vdd and Vss as close to the SX chip as you can get.
    If you have these two things you should be golden. I usually put a 0.1uF cap right at the programming header too.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never argue with an idiot.· They'll drag you down to their level then beat you with experience.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • EWo_GeEWo_Ge Posts: 20
    edited 2007-07-06 17:34
    Thanks so far for this information.
    I will go ahead and ad the 10K resistor. A cap is already in from the start. It is probalbly something, what should be mentioned in the manual. I'm a little disapointed, that I lost two chips because of a missing/wrong information in the manual... (see page 13)
    I just hope, that UPS will hurry up, since I fried even my spare chip, I'm grounded for now...

    Thanks again,
    EWo
  • DosManDanDosManDan Posts: 179
    edited 2007-07-06 17:40
    If you want to see what the wiring is on a small prototype board, you might want to refer to the pictures I put on my completed project page. The board is shown from the top and bottom, flipped left to right. So, you shouldn't have any trouble figuring out the wiring.

    What you see in the picture is about the absolute minimum you need to connect the SX-28 chip. You can use a jumper to supply the power, and if you want a crystal, I made a little module that plugs into the place where the SX-Key goes so I can easily change between the two.

    http://forums.parallax.com/showthread.php?p=659734

    Hope it helps,
    Dan

    Post Edited (DosManDan) : 7/6/2007 6:05:49 PM GMT
  • BeanBean Posts: 8,129
    edited 2007-07-06 17:44
    You had better check out your board really well.
    I find it hard to believe that you toasted two chips just because you didn't use the resistor. I have connected /MCLR directly to +5 without damage.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never argue with an idiot.· They'll drag you down to their level then beat you with experience.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • EWo_GeEWo_Ge Posts: 20
    edited 2007-07-06 21:45
    Hmmm very strange...
    I put in the 10K between /MCLR and +5V and checked the whole board really through and throug.
    No shorts or other bad connections to be found. Since I consider myself pretty experienced with that kind small boards (even if not with the SX) I'm sure: it's OK.
    Then, just for the hack of it, I put in the chip again and connected the power. No abnormal heat so far. When I open the dialog for the device I can read and programm the device options. Ups... chip still alive???
    I open my programm and want to download it... to bad: I get the message that the programming failed.
    How sad, the chip seems not completely dad but is damaged.
    The fact, that in both cases I were able to programm and run the chip, when it was "virgin" let me beleve, that the wiring were OK to begin with. Looks like the 10K made the diference.

    Thank you all for your help,
    EWo
  • EWo_GeEWo_Ge Posts: 20
    edited 2007-07-06 21:55
    Here some additional info's about my project... I want to use this board in a RC-Helicopter, where I want to use some additional functions without the need of more channels of my radio.

    Due to the fact, that it will (hopefully) be airborne weight and size are essential as well as·being inert against vibrations.

    EWo



    Post Edited (EWo_Ge) : 7/6/2007 10:05:27 PM GMT
    1535 x 1147 - 92K
  • EWo_GeEWo_Ge Posts: 20
    edited 2007-07-13 01:09
    OK, I learned my lesson!

    I just got the new SX-28 chips from Parallax. In the meanwhile I had·the 10K resistor installed. NO OTHER CHANGES. The wiring around it were not touched since measuring and checking again showed all in the green.

    With the 10K resistor: NO SMOKING CHIPS ANYMORE.

    Thank you all for your help.

    Good luck and don't forget your 10K's,

    EWo
Sign In or Register to comment.