S32148 PFlash has 3 Banks each of 512KB.
Read/Write is possible between different banks but not on same bank.
0x80000 is where Bank0 ends and Bank1 start, since your bootloader is part of Bank0, you cannot erase content on Bank0 directly but you can on Bank1.
To erase on Bank0, you need to disable interrupts while the erase operation is inprogress, as you cannot execute/read while erasing/writing.
Hope that helps!