PDA

View Full Version : Bs2 debug command ACTUAL output



sumdawgy
04-14-2010, 10:02 PM
Ok so....the Bs1 Debug stream carries all of the current Ram memory data.
(Information taken from Wading the BS1 Debug Stream (http://www.parallax.com/dl/docs/cols/nv/vol7/col/NV131.pdf).)

Using the source code I found HERE (http://forums.parallax.com/showthread.php?p=567110)·on the forum...
it was·very easy to draft·a custom VB5 powered debug terminal.

Just·one debug command at end of loop...
Allows me to look at a properly green/red lighted status screen indicating active·modes & statuses
This is really handy for just plugging in laptop to debug port & checking on unit details.

Having been spoiled by this & NOT having a Bs2 avail for testing...

I am asking if anyone could point me to a reference on the bs2's debug output.

[Edited to correct VB source link]

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown

Post Edited (sumdawgy) : 4/14/2010 3:14:15 PM GMT

Mike Green
04-14-2010, 10:23 PM
Unlike the BS1, the BS2 DEBUG statement is just a special form of the SEROUT statement. The chapter in the Stamp Manual on the DEBUG (and DEBUGIN) statement is pretty thorough.

sumdawgy
04-14-2010, 10:35 PM
AHA...
I now remember what confused me origionally on the use of debugin (bs1..impossible)
And that also pointed me to the Quick Facts in the Programing enviormnet's help!

Which defines all BSx protocols.......ty mike!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown