BAM with FAB=0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
997件の閲覧回数
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 解決策
706件の閲覧回数
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

元の投稿で解決策を見る

3 返答(返信)
707件の閲覧回数
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

706件の閲覧回数
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 件の賞賛
706件の閲覧回数
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