Unable to step through progam with debugger.
joe.mckibben
Posts: 14
Hello,
I just got a 28 pin·SX microcontroller and the SX-Key programmer. And I have been going through the Exploring the SX w/ Assembly book from the Parallax website.
My problem is that whenever·I run the debugger the·step, walk, run·buttons are·un-selectable, the text on the buttons·is grey and will not let me press them.
Has any one else had this problem and know of the·solution.·
I just got a 28 pin·SX microcontroller and the SX-Key programmer. And I have been going through the Exploring the SX w/ Assembly book from the Parallax website.
My problem is that whenever·I run the debugger the·step, walk, run·buttons are·un-selectable, the text on the buttons·is grey and will not let me press them.
Has any one else had this problem and know of the·solution.·
Comments
Do you have the SX-Key or the SX-Blitz ? The SX-Blitz does not support debugging.
Do you have a resonator inserted ? You cannot debug with a resonator connected.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"
Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
The SX-Key can only debug down to 300KHz (I think).
Can you post the program that is giving you the trouble ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"
Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"
Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
You didn't mention the type of board you are testing this on. I ran into a similar problem debugging at low voltage, and it turned out to be a capcitance problem when using a breadboard. I was able to solve the problem by building a small board with just an SX Chip and connectors.
Here is a link to the thread in case it might help you:
http://forums.parallax.com/showthread.php?p=644066
Let me know if you have any questions,
Dan
Joe McKibben
jesse
Joe McKibben
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I want to request clarification between the damage potential differences of having an eternal resonator versus an external TTL oscillator connected in conjuction with the SX-Key.
- Sparks
Resonators and Xtals connected to the SX-Key in parallel are passive components - IOW, they will not impose any signals on the OSC1/OSC2 pins that might kill the SX-Key/SX-Blitz. A TTL Oscillator - on the other hand - is an active component, i.e. it generates an output signal, fed into the OSC1 pin. When an SX-Blitz/Key is attached in parallel, this might possibly kill the SX-Blitz/Key, or the TTL Oscillator, or - at least - prevent the SX-Blitz/Key from doing proper communications with the SX chip for programming, or debugging (this is also true in most cases when a resonator/Xtal is connected in parallel).
Therefore - whenever possible - it is a good idea to either socket the resonator/Xtal/TTL Oscillator so that it can be removed during programming/debugging sessions with the SX-Blitz/SX-Key, or to place a jumper allowing to isolate the OSC1 pin from any other components while programming/debugging the SX chip with an SX-Blitz/Key.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G