Shop OBEX P1 Docs P2 Docs Learn Events
Chip Connection Failed — Parallax Forums

Chip Connection Failed

JonbJonb Posts: 146
edited 2005-04-16 18:35 in General Discussion
I am getting an error message while trying to program a SX28 on a custom board. The message I receive is "chip connection failed". The board should work but does not. What possible reasons would there be for receiving this message(I did not use sleep).

I based the programming part of the circuit on the attached image. The only difference·being that I added a 10k resistor from MCLR to Source like on the sx tech board.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


Post Edited (Jonb) : 4/16/2005 7:59:33 AM GMT

Comments

  • KenMKenM Posts: 657
    edited 2005-04-16 15:33
    Have you read the voltage Vdd to Vss as you try to program it?

    ·
  • JonbJonb Posts: 146
    edited 2005-04-16 16:17
    Do you think the voltage is dropping when I program? Perhaps the capacitors hooked up to the power regulator·are inapropriate. On the tech board there is a 10uf cap which I am not using, as I followed the spec sheet for the LM2937 which suggests a .01uf and .1uf cap. I will try to replace the .01uf cap with a 10uf cap and see if it helps.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (Jonb) : 4/16/2005 4:37:47 PM GMT
  • ForrestForrest Posts: 1,341
    edited 2005-04-16 16:46
    FYI the SX Tech board also has a 0.1uF capacitor (C3) between the Vdd and Vss conections - placed right next to the processor. I think it's important to keep this capacitor as close to the SX processor as possible.
  • JonbJonb Posts: 146
    edited 2005-04-16 16:58
    Ya I got that one in place. Thanks.

    Replaced the capacitor to be inline with the tech board, still no luck... What Am I missing confused.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (Jonb) : 4/16/2005 5:05:09 PM GMT
  • BeanBean Posts: 8,129
    edited 2005-04-16 17:09
    Is there anything else connected to OSC1 or OSC2 ?
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video Display Module" Available Now.

    www.sxvm.com

    "A problem well defined, is a problem·half solved."
    ·
  • pjvpjv Posts: 1,903
    edited 2005-04-16 17:48
    Hi Jon;

    Are you absolutely sure your supply is a SOLID 5V? You indicate it is 5 Volts, but is that with a scope or a meter?

    Only a scope can tell you whether or not there is a glitch on the line; even a short (few millisecond) dip on the power line will upset the Key.

    A meter can only tell you if the DC level of the power is bad; it cant tell you that there are no glitches.

    Peter (pjv)
  • KenMKenM Posts: 657
    edited 2005-04-16 18:03
    Jon,

    Not related to your post but, what pcb layout software are you using?
  • JonbJonb Posts: 146
    edited 2005-04-16 18:08
    ExpressPCB, because its free. I then polish the art in photoshop,
    although I am learning Cadsoft Eagle to get the gerber files.

    Peter: I do not have a scope.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (Jonb) : 4/16/2005 7:20:03 PM GMT
  • BeanBean Posts: 8,129
    edited 2005-04-16 18:16
    Looks like you have a resonator connected to osc1 and osc2, but that shouldn't prevent you from programming.
    Usually the causes are:

    Not a stable 5V supply
    MCLR not held high
    Something connected to OSC1 or OSC2
    SX-KEY plugged in backwards

    The only other thing I can suggest is if you look at my sx-video schematic, I made 50 of these and every one is programmed on the board.
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video Display Module" Available Now.

    www.sxvm.com

    "A problem well defined, is a problem·half solved."


    Post Edited (Bean) : 4/16/2005 6:19:36 PM GMT
  • JonbJonb Posts: 146
    edited 2005-04-16 18:23
    ^^ that helped alot, I spotted a problem, I am connecting VSS to pin 3 instead of pin 4. Stupid mistake·blush.gif· I need sleep i guess.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (Jonb) : 4/16/2005 6:51:02 PM GMT
  • BeanBean Posts: 8,129
    edited 2005-04-16 18:32
    That shouldn't be too hard to fix. Pin 3 is listed as No Connection (I don't know if that mean no connection INSIDE the chip, or that YOU shouldn't connect anything to that pin).
    But a little jumper should fix you right up. Let us know if that fixes the program.
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video Display Module" Available Now.

    www.sxvm.com

    "A problem well defined, is a problem·half solved."
    ·
  • JonbJonb Posts: 146
    edited 2005-04-16 18:35
    I cut the trace with a hobby blade, and placed a small piece of stripped wire to pin 4.

    As I stare at the mess around me, I thank you all for helping me analyse my problem. The power source which you guys kept stressing panned out. Now that the first is over and done, I look forward to making thousands of boards smilewinkgrin.gif


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (Jonb) : 4/17/2005 2:22:11 AM GMT
Sign In or Register to comment.