Startup flow chart for Enable timeout, Direct Boot valid

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

Startup flow chart for Enable timeout, Direct Boot valid

1,838件の閲覧回数
Ravikumar1
Contributor II

Hi,

When I looking at the Kinetis Bootloader Startup-up Flowchart, I have few questions regarding,

 

1)  In KL27 Sub-Family Reference Manual (chapter 13.3.4, p.181), there's a decision box with "Is direct boot valid?" and "Enable Time out check and Enable Time out value" How is these determined what makes it.

2) Below flow chart I want to know how we are going to enter Boot loader state machine through as shown in the path, 

Boot pin asserted?   No  ------->  Is user application valid ?  No ------->   Disable timeout detection ---->   Boot loader state machine 

 

Ravikumar1_0-1660220582232.png

 

3) Below flow chart I want to know how we are going to enter Boot loader state machine through as shown in the path, 

Boot pin asserted?   No  -------> Is user application valid ?  Yes ------->  Is direct Boot valid? No  ----->  Enable timeout detection ---->   Boot loader state machine 

How we are going to configure/ write a code for this flow of entering to the Boot loader state machine

 

Ravikumar1_1-1660221241305.png

 

Thanks in advance,

Regards, 

Ravikumar.

0 件の賞賛
6 返答(返信)

1,829件の閲覧回数
KalaimaniArumugamdev
Contributor III

hi @Ravikumar1 

   1. "Is direct boot valid?" this mean application ROM or Flash. Check" 22.2.6 Mode Register (RCM_MR) -> (BOOTROM)". "Enable Time out check and Enable Time out value" is maximum time period bootloader IDLE state.

   2. Second statement flow is for update the "bootloader API from ROM memory ".

  3.  Third statement flow is for update the "bootloader API from FLASH memory ".

0 件の賞賛

1,826件の閲覧回数
Ravikumar1
Contributor II

Hi @KalaimaniArumugamdev 

 

Thanks for the reply,

Can we update or change the Enable Time out value and, Is direct boot valid  Mode Register (RCM_MR) -> (BOOTROM)"  ?

if yes, where do we need to update.

Regards,

Ravikumar.

0 件の賞賛

1,818件の閲覧回数
KalaimaniArumugamdev
Contributor III

hi @Ravikumar1 

     Enable Time out value is defined in your boot loader code and this (RCM_MR) -> (BOOTROM) register used to define starting address of the code execution. boot.PNG

 

0 件の賞賛

1,797件の閲覧回数
Ravikumar1
Contributor II

Hi @KalaimaniArumugamdev 

 

where can I update/ modification will do for (RCM_MR) -> (BOOTROM) means in application which code/area.

regards 

Ravikumar

 

0 件の賞賛

1,791件の閲覧回数
KalaimaniArumugamdev
Contributor III

Hi @Ravikumar1 

     You have to update the register in bootloader file, so it will take the boot operations to selected memory based on the register configuration from next reset operation.

0 件の賞賛

1,780件の閲覧回数
Ravikumar1
Contributor II

Hi @KalaimaniArumugamdev 

 

Actually I am not implement any bootloader code/ file, Is it possible to do that in application code?

if yes, tell me where will I do that.

 

regards

Ravikumar.

0 件の賞賛