Here are the codes of pic1 and pic2.Pic1 have the quartc on 8 MHz but I gave it a DEFINE OSC 4
becouse the pic2 works at 4 MHz.I am shure that everything works in PIC1 exept DEBUG becouse I checkedout.I am shure that PIC2 is running becouse it puts the port-out signals in the right order and it change the PIC2 addresses 00,01,02,03 to zero values (00,00,00,00).PIC2 have an internal OSC and it works at 4 MHz and I can't measure it, but PIC1 works in 8 MHz but I guess it devides the 8MHZ becouse I wrote DEFINE OSC 4.I am wondering if the BAUDRATE is to fast or is the code of DEBUG correct?
Bookmarks