Dear Sir,
Many thanks for your help! I am working on MPC5566 Chip. As I know the MCU MPC5566 is boot from the BAM program when it is powered-on or reset in normal mode. Do you know can we make the MCU boot from my own boot program in the internal Flash memory directly NOT from the BAM program? If yes, can tell me how to do it?. Many thanks from your help!
BR,
Jack.
Solved! Go to Solution.
No, on this device BAM is always involved in the booting process. Actually BAM reads RCHW, subsequently passing program flow to the user defined vector. First running address after boot is always from BAM area.
No, on this device BAM is always involved in the booting process. Actually BAM reads RCHW, subsequently passing program flow to the user defined vector. First running address after boot is always from BAM area.
Dear David, Many thanks for your help and answer! Do you know whether we Can modify the BAM source code and update to the BAM ROM? If yes, Can tell me How Should we Get the BAM code and how to update the BAM ROM? Many thanks!
BR,
Jack
BAM is hardwired, it cannot be modified by user anyhow. From user point of view, it is ROM memory.
You can use some sort of resident bootloader, but it is application application running after BAM.
Got it, Many thanks!