Hi,
you can use both options: 0x015A_0000 or 0x015A_015A. The point is to have 0x015A half word at address 0x0. The second half word is not taken into account.
Some devices do not allow to have BAM start address at 0x4000_0000, it must be shifted to 0x4000_0100. To ensure compatibility with all MPC56xx, use rather 0x4000_0100.
But notice that there are some differences between MPC56xx devices. The application note talks about MPC55xx and MPC563x. One option is to load "rescue" image by BAM (which is more complicated solution) or you can do that via debugger. But, for example, let's compare MPC5634M and MP5646C:
MPC5634M:
lukaszadrapa_0-1646223291180.png
MPC5646C:
lukaszadrapa_1-1646223359717.png
So, the debugger cannot be used in case of MPC5646C.
Another option which I used for playing with censorship - I wrote very simple application which reprogrammed the shadow flash back to default state after pushing a button. I loaded it to program flash and then I was changing shadow flash using a debugger or using a RAM project and I tested what was needed. If anything went wrong, I just pushed a button and could start over.
By the way, we have some examples here:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5604B-Censorship-CW210/ta-p/1123992
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5644A-Censorship-CW210/ta-p/1105016
Regards,
Lukas