PDA

View Full Version : SX-Key debugger starts up in "Running" state



Corwin
01-14-2005, 03:50 AM
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?

PJMonty
01-14-2005, 04:08 AM
Corwin,

Can you post your schematic? There might be something about the design that will jog some ideas/solutions loose.

Thanks,
PeterM

Corwin
01-14-2005, 04:13 AM
Here is the schematic for our problem board.

KenM
01-14-2005, 04:33 AM
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

Corwin
01-14-2005, 04:42 AM
No, I'm using the internal RC oscillator at 4 mhz (give or take).

Bean
01-14-2005, 06:51 AM
Can you show your DEVICE and FREQ lines ?
Bean.

Corwin
01-14-2005, 07:05 AM
No problemo. Attached is the entire program.

PJMonty
01-14-2005, 07:09 AM
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