In SX Microcontrollers, SX/B Compiler and SX-Key Tool, George Herzog wrote: Thanks Zoot, I've looked into everything I could think off and even run the COUNT.SXB program on my own SX28 board to see if I could replicate the problem. Everything runs fine with the unmodified program. What you say indeed makes a lot of sense. Either alcohol or a aerosol product such as CONTACT may clean up the problem. Some people don't like to use alcohol as it is a bit corrosive on metals [it oxidizes the lead in solder and forms a white lead oxide]. There are oddities in the program's DEVICE directive, but none affect the operation in DEBUG. You don't need to provide both STACKX and OPTIONS as they mean the same thing. And, that OSC4MHZ designation presumes that the internal ocsillator will be used, not a resonator or crystal. One does NOT select that option when using a 4MHZ resonator or crystal. Also, the FREQ directive must say 4,000,000 HZ or you end up with 50Mhz as a default in DEBUG due to the absence of the FREQ directive. FREQ is only needed for DEBUG. It does nothing during normal operation as the resonator or crystal controls the actual frequency generated. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=252891#m253902 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)