Startup flow chart for Enable timeout, Direct Boot valid

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

Startup flow chart for Enable timeout, Direct Boot valid

2,826 次查看
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 回复数

2,817 次查看
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 项奖励
回复

2,814 次查看
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 项奖励
回复

2,806 次查看
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 项奖励
回复

2,785 次查看
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 项奖励
回复

2,779 次查看
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 项奖励
回复

2,768 次查看
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 项奖励
回复