BAM with FAB=0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BAM with FAB=0

Jump to solution
919 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
628 Views
petervlna
NXP TechSupport
NXP TechSupport

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
629 Views
petervlna
NXP TechSupport
NXP TechSupport

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

628 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
628 Views
petervlna
NXP TechSupport
NXP TechSupport

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