Does it work if you change OSCCON = %01110001 to OSCCON = %01110000?
P.S. Assuming you have an older version of PBP, you might be missing a BANK15 declaration in
18F4525.BAS.
Open 18F4525.BAS and make sure it has BANK15 $0F00, $0F7F just after BANK14 $0E00, $0EFF.
Bookmarks