BAM with FAB=0

cancel
Showing results for 
Search instead for 
Did you mean: 

BAM with FAB=0

Jump to solution
329 Views
bjrajendra
Senior Contributor I

Hello all,

I'm using Code Warrior Version 2.7 for my MPC5602P.  Based on the thread I'm tried implementing BAM with FlexCan . But this is valid only when FAB = 1, ABS1 = 1, ABS0 = 0. I don't want to use those pins, as they are already occupied. Only FAB pin is in my control. So, I can make FAB pin 0, so that I can do Bootloading with valid boot signature. Or Is there any other way to do this?

Capture.JPG

Thanks and regards,

raju

1 Solution
38 Views
petervlna
NXP Employee
NXP Employee

Hello,

as you can see from the diagram you have posted.

There is no other way how to achieve serial boot mode other then FAB = 1.

The part you have marked is still boot from internal flash. (device will check the boot-id and will boot on first bootable address with valid boot-id - starting from lowest address which is 0x0.

Here is the list of bootable addresses:

pastedImage_1.png

Peter

View solution in original post

3 Replies
39 Views
petervlna
NXP Employee
NXP Employee

Hello,

as you can see from the diagram you have posted.

There is no other way how to achieve serial boot mode other then FAB = 1.

The part you have marked is still boot from internal flash. (device will check the boot-id and will boot on first bootable address with valid boot-id - starting from lowest address which is 0x0.

Here is the list of bootable addresses:

pastedImage_1.png

Peter

View solution in original post

38 Views
bjrajendra
Senior Contributor I

Hi Peter,

Thanks for your reply. So, As only FAB pin is in my control, I can make FAB=1 & I can do Serial boot mode by selecting BMODE and ABD fields of SSCM_STATUS register. Is it right?

Raju

0 Kudos
38 Views
petervlna
NXP Employee
NXP Employee

Hi,

Actually one workaround comes to my mind.

You can use boot into flash (no FAB) and then you can write your own static bootloader which can for example examine some pin/condition and perform jump to other boot location (for serial boot) or to the application.

https://community.nxp.com/servlet/JiveServlet/download/427962-1-279359/bootloader.zip

http://www.nxp.com/assets/documents/data/en/application-notes/AN5319.pdf

http://www.nxp.com/assets/documents/data/en/application-notes-software/AN5319SW.zip

 

Peter