Serial Downloader Mode

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

Serial Downloader Mode

1,486 次查看
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

标记 (1)
0 项奖励
7 回复数

1,414 次查看
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 项奖励

1,402 次查看
jay_heng
NXP Employee
NXP Employee

Correct

0 项奖励

1,399 次查看
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 项奖励

1,354 次查看
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 项奖励

1,460 次查看
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 项奖励

1,453 次查看
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 项奖励

1,438 次查看
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 项奖励