BAM with FAB=0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

BAM with FAB=0

跳至解决方案
1,029 次查看
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 解答
738 次查看
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 回复数
739 次查看
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

738 次查看
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 项奖励
738 次查看
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