Shop OBEX P1 Docs P2 Docs Learn Events
SX-Key debugger starts up in "Running" state — Parallax Forums

SX-Key debugger starts up in "Running" state

CorwinCorwin Posts: 4
edited 2005-01-13 23:09 in General Discussion
I've built up a new PCB with an SX18 on it. It will run simple programs just fine. But, if I load one of these programs with the debugger, the debugger always comes up in the "running" state and hence not able to do any actual debugging. The reset button is does not stop it, and the "stop" button is grayed out. I've left room at the beginning of the code for debugger. I've tried this on several boards with same result.

I have a couple of older designs with SX28 parts and they work just fine with the debugger, so I'm confident that my software environment is OK.

Any ideas out there?

Comments

  • PJMontyPJMonty Posts: 983
    edited 2005-01-13 20:08
    Corwin,

    Can you post your schematic? There might be something about the design that will jog some ideas/solutions loose.
      Thanks, PeterM
  • CorwinCorwin Posts: 4
    edited 2005-01-13 20:13
    Here is the schematic for our problem board.
  • KenMKenM Posts: 657
    edited 2005-01-13 20:33
    Are you using an external clock source on the SX?

    If so, remove the external clock, then run the debug via your SX key.

    Ken
  • CorwinCorwin Posts: 4
    edited 2005-01-13 20:42
    No, I'm using the internal RC oscillator at 4 mhz (give or take).
  • BeanBean Posts: 8,129
    edited 2005-01-13 22:51
    Can you show your DEVICE and FREQ lines ?
    Bean.
  • CorwinCorwin Posts: 4
    edited 2005-01-13 23:05
    No problemo. Attached is the entire program.
  • PJMontyPJMonty Posts: 983
    edited 2005-01-13 23:09
    Corwin,

    Check out page 13 of the SX-Key Manaul 2.0. There you'll see the following:

    The power supply to the SX-Key/Blitz must be +5 V DC.

    I notice that in your circuit, you're running at 3.3 volts. I believe that is the cause of your problem.
      Thanks, PeterM
Sign In or Register to comment.