+ Reply to Thread
Results 1 to 8 of 8

Thread: SX-Key debugger starts up in "Running" state

  1. #1

    Default SX-Key debugger starts up in "Running" state

    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?
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

  2. #2

    Default

    Corwin,

    Can you post your schematic? There might be something about the design that will jog some ideas/solutions loose.
    • Thanks,
      PeterM
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

  3. #3

    Default

    Here is the schematic for our problem board.
    Attached Files Attached Files
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

  4. #4

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

  5. #5

    Default

    No, I'm using the internal RC oscillator at 4 mhz (give or take).
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

  6. #6

    Bean's Avatar
    Location
    Near Harrisburg PA
    Posts
    7,621
    Blog Entries
    4

    Default

    Can you show your DEVICE and FREQ lines ?
    Bean.
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

  7. #7

    Default

    No problemo. Attached is the entire program.
    Attached Files Attached Files
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

  8. #8

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 07:10 AM. Reason: Forum Migration

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts