Shop OBEX P1 Docs P2 Docs Learn Events
My SX Tech Board Quit working!!! — Parallax Forums

My SX Tech Board Quit working!!!

Lmiller1708Lmiller1708 Posts: 12
edited 2007-02-16 17:53 in General Discussion
Hey all,
Could some one help me out...
My SX Tech Bord quit working, It's not the SX chip, or the power supply. I know this because I tried them both in the Brofessional Development Board. I also get power to the board like it should but will not run or program with the SX Key that is also working.

Has this happened to anyone else before?
Any help would be great!!!
Thanks,
Lance Miller

Comments

  • Sparks-R-FunSparks-R-Fun Posts: 388
    edited 2007-02-16 02:07
    Lance,

    What happens when you try to program it? If you can report an error message, that will be helpful.


    - Sparks
  • Lmiller1708Lmiller1708 Posts: 12
    edited 2007-02-16 02:10
    Sparks,

    It does nothing different.
    It says it has downloaded successfully.
    It will also run for a split second and thats when it turns off.
    Thanks,
    Lance
  • Sparks-R-FunSparks-R-Fun Posts: 388
    edited 2007-02-16 02:39
    Hmmm…

    If you go to Device --> Verify does it verify ok?

    Is there anything else connected to the SX Tech board?

    What do you mean when you say it “turns off?” I assume the green power LED is still lit. Correct?

    What happens if you try to debug and step through the program?


    I wish I could be more helpful, but I can only think of questions to ask at the moment. confused.gif

    - Sparks
  • Lmiller1708Lmiller1708 Posts: 12
    edited 2007-02-16 04:21
    Yes I have two IR sensors, two parallax servo's, and a 2200uF 35volt capacitor placed across the VSS and VDD conections.
    The green LED is still on...

    I will try the Other things you mentioned tomorrow Morning.
    Thanks,
    Lance
  • Ken GraceyKen Gracey Posts: 7,386
    edited 2007-02-16 06:11
    Lance,

    My suggestion is to remove the circuit. I bet there's a short or excessive current draw somewhere. I've had exactly this problem in the past.

    Ken Gracey
    Parallax, Inc.
  • PARPAR Posts: 285
    edited 2007-02-16 07:51
    Lmiller1708 said...
    ....It will also run for a split second and thats when it turns off.

    ....
    A peek at your program might help.

    A description of what you mean by "turns off" would help.

    And, adding a DEBUG statement at the very beginning of your program saying "Running" might help understand whether the program executes anything before "turning off".

    PAR
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2007-02-16 09:11
    Lance,

    even with the 2200uF capacitor across Vss and Vdd, the two servos may cause an initial load when you power up the board that causes the SX and/or the SX-Key do a reset, or enter into some unknown state. The same is true when the servos start moving. To my experience, it is always better to use a separate 5V regulator for the servos.

    What happens when you temporarily disconnecte the sercos? Does the system work in this case?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
  • Lmiller1708Lmiller1708 Posts: 12
    edited 2007-02-16 15:05
    To All,
    I removed everything... Still not working.
    When I go to Debug it, it just goes to sleep mode.

    I Hooked up a new SX chip to the board it worked....Until I turned off the power. Then it is doing the same thing as before.
    I'm using the 6-7.5 Vdc power supply, that can with the PDB.

    Really confused, is thier a spec sheet for the board. So I could make sure the voltages are all correct?

    Thanks,
    Lance
  • Lmiller1708Lmiller1708 Posts: 12
    edited 2007-02-16 15:35
    To all,
    After playing around with it alittle bit longer I put another program into it and it worked great!!!
    I'm just learning how to use the SX for I have only used the BS2 before.
    I will attach my program that is not working...
    Thank again for the help,
    Lance
  • BeanBean Posts: 8,129
    edited 2007-02-16 15:46
    Lance,
    You are enabling interrupts, but you don't have an interrupt handler.

    Remove this line "OPTION = $88 ' interrupt, no prescaler"

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com
    Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1

    "USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
  • Lmiller1708Lmiller1708 Posts: 12
    edited 2007-02-16 15:50
    Right On BEAN!!
    Thanks TO ALL for the help!!
    Lance
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2007-02-16 17:53
    This nicely shows how a small failure can create a great disaster smile.gif -

    In all my assembly code programs, I always place a RETI instruction at address 0 - just in case...

    Maybe, a future version of SX/B could generate this instruction in place automatically as long as no other interrupt code is specified in the SX/B source code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
Sign In or Register to comment.