Shop OBEX P1 Docs P2 Docs Learn Events
Help a newb / Why can my sx fry my eggs? — Parallax Forums

Help a newb / Why can my sx fry my eggs?

wikstwikst Posts: 4
edited 2008-06-27 14:09 in General Discussion
Hello,

this is my first post here and it also concernes my first attempt to program a sx. The problem is that my sx got fried as I connected it for programming (followed Practical SXB and connected it as in sxkeyman2_0 page 13).

After my chip had gotten fried I started testing what could be wrong, and found that both on my fried chip and on a fresh one, if i connected·5V -> 470 Ohm -> led -> Vdd-pin, Vss-pin -> gnd the led was on.

So the question is: What have I missed?! I can't see that the vdd-pin and the vss-pin are supposed to be internally connected =P

The chip I have is a 28-pin sx with the text "sx28AC/DP-G 0602", (and the programming device I have is a blitz).

Regards

/Esa
·

Comments

  • BeanBean Posts: 8,129
    edited 2008-06-26 13:17
    Just because the LED is on doesn't mean that Vdd and Vss are connected inside the chip.
    The SX is going to use some amount of power, that power is going to make the LED light up.

    What is the voltage measurement between the Vdd and Vss pins when you do this experiment ? If it's zero volts, then there is a problem (short).

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Uhhhm, that was on fire when I got here...

    www.iElectronicDesigns.com

    ·
  • wikstwikst Posts: 4
    edited 2008-06-26 14:39
    A diod lights up from 10mA? That is a rather big leak current since no other cables where attached to the chip (also tried with the reset-pin high -> same result). Or is it the processor that uses the internal clock and uses the power?

    The voltage between Vdd and Vss is 2.85V with my test settup, wich means that the resistence between Vdd and Vss is about 1kOhm if you use some current laws, but when I measure the resistance between the pins without having the chip connected to anything, it shows between 0.6MOhm and 1.6MOhm, and when I connected my first (now fried) chip it melted the plastisc on my experiment before I realised what was happening.

    So it seems to me that the internal resistance decreases with increased voltage/current?

    Since both the chips I've tried with had simular responce, either both the chips came from a faild series, or more likely: The settup is for some reason wrong.

    Is it therefor possible that the misstake is in some of the following:

    * Old version of chip -> different pin assignment from sxkeyman2_0
    * Misred pin assigment (assumed chip was looked at from above for example)
    * Mistake regarding persumption of modell (I have 28 long pins.. =)
    * Lack of knowledge: do I need any futher comonents or pins assigned to make the internal resistance between Vdd and Vss high and stable to avoid short circuiting the chip?
    * The uC gods are just testing my spirit

    ?

    Thanks for the responce Bean, let me know if this told you something.

    Esa

    Post Edited (wikst) : 6/26/2008 2:48:24 PM GMT
  • BeanBean Posts: 8,129
    edited 2008-06-26 15:06
    Esa,
    Make sure your 5V is REALLY 5V and not much higher (5.5V is the max the chip can take).

    Does the chip get really hot ONLY after you try to program it ?

    Are you using one of the SX protoboards ? Or just a regular breadboard ?

    Do you have /MCLR connected to a 10K to Vdd ?

    Do you have a cap between Vss and Vdd close to the SX ?

    In my experience, as all you need to program it is Vss to ground, Vdd to +5, MCLR to a 10K to Vdd, a bypass cap between Vss and Vdd, And OSC1 and OSC2 connected to the programmer.

    Does the chip say Scenix, Ubicom, or Parallax on it ?

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Uhhhm, that was on fire when I got here...

    www.iElectronicDesigns.com

    ·
  • wikstwikst Posts: 4
    edited 2008-06-26 15:30
    Thanks, there was some things there. I use a regular breadboard and my chip say Parallax on it. I haven't tried to program my second chip and test if it gets really hot, since i didn't know what went wrong with the first one. But i will doubble check my voltage supply, add a 10k between MCLR and Vdd, add a cap and try if it works better.

    How big cap is suitable?
  • BeanBean Posts: 8,129
    edited 2008-06-26 17:30
    0.01uF to 0.1uF should work fine.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Uhhhm, that was on fire when I got here...

    www.iElectronicDesigns.com

    ·
  • wikstwikst Posts: 4
    edited 2008-06-27 14:09
    My power supply that was a little higher than the 5V I had turned it to, so after turning it down to 4.5V and adding the cap and 10kOhm it worked fine to progam my chip.

    Thx a lot Bean!

    /esa
Sign In or Register to comment.