Hello, i am having problems using the printf-function on a XC161CJ. The initialization i used is from an older project with the same controller and was running properly. In the new projrct everything works fine until the printf, there the program hangs. Only interrupts with higher priority are still served. Anyone an idea what's the cause for this? Thanks in advance Sebastian
I checked and corrected the PLL-settings but it is still not running. There still might be some problem with the SYSCON SFRs. I don't know where else the problem might be. Could you please post a working configuration of your SYSCON registers? Sebastian
SYSCON1 = 0x0000 SYSCON3 = 0x80C0 PLLCON = 7844 Stefan
Thanks for your help, unfortunately it is still not working. I don't have any idea what could be another possible error source. Sebastian
Maybe the rs232 driver is defctive ? Stefan
i don't think so because when i use the hello.h86 file from phytec the rs232 interface works. hello can be seen in hyper terminal. Sebastian
please send me your source to stefan_fricke@rutronik.com I will check with my board here. Stefan