Serial Downloader Mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Serial Downloader Mode

3,013件の閲覧回数
anshulkhare
Contributor III

Hello All,

i am working on IMX RT processor, i am able to enter into SDP mode from Application using ROM API and from selection of BOOT MODE pins. i would like to know, in what other conditions processor can enter into Serial Download mode.

for ex.

1. in case of any SW exception or hard fault, will it enter into serial download mode.

2. in case of any memory corruption while writing into flash, will it enter into serial download mode.

or if there is any other scenario, how it can enter into serial download mode.

Can anyone help me on this.

Thanks & Regards,

Anshul

ラベル(5)
タグ(1)
0 件の賞賛
返信
7 返答(返信)

2,941件の閲覧回数
anshulkhare
Contributor III

@jay_heng if the images is signed or signed and encrypted , in that case also will boot rom checks the image validity?

and in-case in above scenarios image is not proper will it enter in SDP mode?

Thanks & Regards,

Anshul 

0 件の賞賛
返信

2,929件の閲覧回数
jay_heng
NXP Employee
NXP Employee

Correct

0 件の賞賛
返信

2,926件の閲覧回数
anshulkhare
Contributor III

@jay_heng in case if secureboot is enabled, in that case is it possible to upgrade the user application from SDP mode, using sdphost and blhost? 

0 件の賞賛
返信

2,881件の閲覧回数
jay_heng
NXP Employee
NXP Employee

If HAB fuse bit is enabled on chip, you can still upgrade user app by sdphost/blhost. but you need to load signed flashloader binary by sdphost this time.

0 件の賞賛
返信

2,987件の閲覧回数
jay_heng
NXP Employee
NXP Employee

SDP mode is mainly used to upgrade app image. ROM API and BOOT MODE pin are the two main ways to enter this mode

SW exception or hard fault has nothing to do with SDP mode.

memory corruption while writing into flash may cause processor to enter SDP mode, if boot header of app image is destroyed.

In a word. if bootROM cannot find proper image in external memory during boot process, it will switch to SDP mode.

0 件の賞賛
返信

2,980件の閲覧回数
anshulkhare
Contributor III

@jay_heng Thank You for the reply.

is there any verification method present in bootRom to check the validity of proper image?before entering into SDP mode.

how bootRom checks image is not proper?

Thanks & Regards,

Anshul

タグ(1)
0 件の賞賛
返信

2,965件の閲覧回数
jay_heng
NXP Employee
NXP Employee

One bootable image = FDCB + IVT + BD + Image

BootROM will check those boot headers (FDCB + IVT + BD) before jumping into image.

0 件の賞賛
返信