Gentlemen, Thank you very much for the help from Imre, Tony, Kelly, Anniepoo, John Ellenz, Graham Daniel, Mike Rigby-Jones, Dennis Plunkett and etc. It's very nice of you. Now, I've found the problems. They are stupid, but they may tell other newcomers not to make the same mistakes. The main problem is I didn't program it correctly because of the wrong format. I compiled the source to INHX8M, but read it to the programmer as BINARY! I didn't wire the pin 19 (Vss) properly to the ground. It caused disorder of the chip. Even I used external clock, the scope probe on the clockout pin still makes it u nable to trig the scope. I thought the clock caused the problem and it costed me a lot of time, but I am completed wrong. Unfamiliar with the special function registers. I didn't set porta as digital ou tput. Unfamiliar with the spelling of clrwdt :( , the compiler thinks it a lable. Finally, I have seen the beautiful rectangle waveform that the chip generates. T hank you for your help again! Xinhua Rong, BG6CR Department of CS University of Science and Technology of China _____________________________________________ JW6 G)C{SJ<~ SJ<~5c TZO_SNO7 MxIOADLl MxIO9R:E =pHZMu9z TZO_I16> LxTiJP3! Hm<~OBTX P]OPSi@V