PDA

View Full Version : Using Debug without Downloading



Jeff91
05-05-2006, 08:29 AM
Lets say I want to use debug to monitor my basic stamp. Now I don't want to download the program to the stamp everytime I want to use the debug window. How do I get the debug window to start accepting to stamp's signal without downloading the program to the stamp and waiting for the window to pop-up?

~Jeff

Jon Williams
05-05-2006, 08:32 AM
No problem, just manually open a Debug Terminal and set it to the COM port that your Stamp is connected to. The baud rate for DEBUG is 9600.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax

Jeff91
05-05-2006, 08:42 AM
I do this but nothing happens. I check DTR and RTS boxes and still nothing happens. When I click "Identification" the editor says my BS1 is connected so I know there is no connection problem.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jeff Stevens

http://www.angelfire.com/linux/jeffs_christmas

Jeff91
05-05-2006, 10:13 AM
I tried this again but with no results.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jeff Stevens

http://www.angelfire.com/linux/jeffs_christmas

Jon Williams
05-05-2006, 10:19 AM
Uh-oh, problem; the BS1 DEBUG packet is not a simple serial stream as with the BS2, it will only work properly after a download. The reason for this is that with the very small size of the BS1 EEPROM (256 bytes), a lot of the DEBUG information is stored in the editor and it takes care of proper display. The BS1 DEBUG statement actually sends everything, including the current program address; the IDE uses the program address to format the BS1 DEBUG output per the code. It seems a bit convoluted I'm sure, but this was done to preserve the small BS1 memory.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax