With DO178 level A, we need to master all executed code in the platform.
1°) Is it possible to have the source code of the BAF ?
2°) if not, is it possible to overrun the BAF code and run our code defined at our own reset address. Maybe, there is a way to change the SSCM_PSA register ?
3°) Peter Vlna has answered in MPC5777M BAF that it is possible to erase the BAF sector. If I would like to put our customer boot, how can I do that ?
I had a chat with system engineer for MPC5777M and he told me that we can share BAF source code.
But it is under NDA agreement. So you have to contact FAE/sales/distributor assigned to your company who will help you sign NDA. If you have already signed NDA then contact person who assisted you with NDA signature.
1.) You can dump is from micro. It is written in assembler.
2.) SSCM_PSA is read only register.
3.) Don't do that. If you erase BAF your micro will be unusable until you load it back.