Shop OBEX P1 Docs P2 Docs Learn Events
SX52 Debug not possible - all tries (chips, SX-keys) without success — Parallax Forums

SX52 Debug not possible - all tries (chips, SX-keys) without success

gatorgator Posts: 7
edited 2010-03-04 15:30 in General Discussion
I tried 3.3.0, 3.5BETA, 3.2.3 and SX52key.exe (yes, an old one).
I have two PCB's, same layout, two different SX52 chips.
On the PCB are just the 10k resistor and some block condensators, SMD only.
Basically I used SX-Key Rev. F in the past to flash approx. 1,000 chips.
I bought a new USB SX-Key Rev. B yesterday.
And I used several types of power supplies.
I know that
My device section is: sx52, oschs3
After programming the status shows up with "Running" and
all buttons except Reset are gray.
I have no clue what to do...
Is there any documentation about the signals I could trace with a scope?
Thanking in advance for every advice.

Comments

  • BeanBean Posts: 8,129
    edited 2010-03-04 12:31
    Gator,
    · If you have a resonator installed, you'll have to remove it to debug.
    · The chip WILL program will the resonator installed, but it will not debug.

    · Also, the older serial SX-Key is more robust in debugging, so I would use that it you have one.
    · P.S. If you do use the serial version the SX52 MUST be powered with 5 volts.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.

    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    ·
  • gatorgator Posts: 7
    edited 2010-03-04 12:43
    update:
    On the PCB are short wires to connect the SX-key.
    I removed one SX52 and replaced it with a new one.
    I used a lead-free flux dispensing pin several times
    because flux can cause malfunction.

    PS: In the first post I started a sentence with "I know that", nonsense.
  • gatorgator Posts: 7
    edited 2010-03-04 12:46
    I never used resonators in my life.
    CMOS Crystal Oscillators only.
    Surely it's not connected and missing on the newest PCB for testing.
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2010-03-04 12:59
    Do you have any other SX processors (SX28, SX48, etc) or one of the SX28 or SX48 protoboards around? If so it might help to see if you can download one of the example programs in the SX/B help file to see if you can debug one of the other chips. At least that may show if Debug is broken for all chips or an issue specifically related to your board with the SX52.

    Is there a picture of your board that you can post? What about a schematic?

    You mention a 10K resistor but there isn't anything stating how it is connected. Is that just a pull up line on the reset?
  • gatorgator Posts: 7
    edited 2010-03-04 15:30
    Problem solved.
    I shortened the distance from SX-Key to the SX52 a little bit,
    let me say 1/2 inch. The distance is very critical, I knew it
    from experience in the past. Another PCB layout for another
    design works with Debugging and it gave me the hint to keep
    the focus on the distance.
    Tipp:
    For everyone who uses own PCB's (industrial types included)
    keep the distance to the SX-Key as short as possible.

    Now I have one SX-USB-Key left, grrrml...
Sign In or Register to comment.