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
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
Thanks in advance,
Regards,
Ravikumar.
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 ".
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.
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.
where can I update/ modification will do for (RCM_MR) -> (BOOTROM) means in application which code/area.
regards
Ravikumar
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.
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.