After loosing one very important working day..I found out that PIC18f4580 has same RXINT issue like ECIO-40 and 28.
Currently, in the FCD..
Code: Select all
EnableCode="st_bit(pie1, RCIE);\n"
Code: Select all
EnableCode="set_bit(intcon, PEIE);\nst_bit(pie1, RCIE);\n"
Please have a look at other similar devices..might have similar issue..I will have look as much I can but you might have better idea to search the problem.