In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Hollov wrote: Hi, A have written an interrupt routine in SX/B for blinking a LED in different ways (50% duty cycle or selectable LED on/off time) I will be a part of an IR gate program. This program is working fine on SX28. I can place WATCH-s for the variablesin the program and can see them in debug mode. I can start, stop, reset, etc the program in debug mode. (Is is working good.) Programming this code into the chip the LED are blinking as I wanted. (using 4MHz internal osc.) But!!! When I tried to use this code on SX48 os SX52 I run into strange problem. In debug mode I can only reset the program is is continously running. I can't stop it. (The stp button is not selectable.) I can not the WATCH changes. I programmed the code into the chip, but the LED was not blinking as I wanted. (It seems that the interupt is not working.) I tried other not interrup codes(PORT I/O and TIMER) on the SX48 and SX52 chips they was working, but the debug mode was working in the same way as with the interrupt routine. I should tell that these chips are very old, as I remeber I got them as an engineering sample in 1998 or 1999. Can be this chips interrup and debug handling are not complette? Sould I by new ones? What Your suggestion? Regards Spiller ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=246929 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)