AnsweredAssumed Answered

Clarification on BAM of MPC5643L

Question asked by Arthi Venkatasubramanian on Nov 26, 2017
Latest reply on Nov 27, 2017 by David Tosenovjan

Hi Sir,


1. I need to code for BAM till now I understood BAM ,first we need to know the Device mode from the SSCM module and  based on the mode, protocol need to be chosen (in case of SBL), then we need to get the password through protocol, echo it then validate password if it is valid , next get the start address, VLE and code length , echo them through protocol. Likewise , get the data, saved into SRAM and make the control to jump to the start address of the  Application in the following flow,


Am I correct or BAM is an in-built code which is available and based on the protocol used,it will work on its own?


Can anybody clear me with this


2. For Compare by Hardware as you said it can be swapped by code. Flash password is stored in NVPWD registers. I just swapped my received password.


Is there any default location for storing the received password(swapped)?


How the hardware identifies the received password (swapped) and how it is comparing with the Flash word?


Whether we need to store the received password (swapped) in some particular location or hardware can take the received password (swapped) from any location.



Arthi Venkatasubramanian