In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hi Keith; I put in a 128 byte circular fifo for you; all of the non-global ram. The data is written to the buffer in the ISR, and overflow limit checking is not performed. The mainline sequentially reads the fifo contents until empty, all under handshaking from the PC as per your logic. I also added a VERY useful debug concept that I call ShowBreak. TRY IT!! It simply is a retp instruction that you call from wherever you want a break to occur. Just call the "ShowBreak", and set the real single debug break at THAT retp instruction. Effecively this permits you to "sprinkle" your code with as many breaks as you like, with the register contents displayed whenever the ShowBreak call is encounterd. A REAL good debug tool, of course still not in real-time. I still have my previous port bit assignments. Hope all works well. Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=78490#m79595 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)