Conditions for disabling time-out detection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Conditions for disabling time-out detection

Jump to solution
980 Views
masahirokiniwa
Contributor IV

Could you tell me conditions for disabling time-out, when I use KL03 ROM bootloader.

When boot-pin is asserted or user-application is not valided, ROM bootloader disable time-out detection.
It's wrote at KL03 reference manual Rev.4 P.113 Figure 11-2.
But ROM bootloader disabled time-out detection at another situation, when I ran it from my user application.

I ran bootloader by below sequence same as RM P.114 11.3.5.
// Read the function address from the ROM API tree.
runBootloaderAddress = **(uint32_t **)(0x1c00001c);
runBootloader = (void (*)(void * arg))runBootloaderAddress;
// Start the bootloader.
runBootloader(NULL);

And I set BCA as below.
tag = "kcfg"
enabledPeripherals = use only I2C
i2cSlaveAddress = 0x50
peripheralDetectionTimeout = 10000 (10s)

Could you tell me what happened for disabling time-out.

0 Kudos
1 Solution
701 Views
BlackNight
NXP Employee
NXP Employee

Hi Masahiro,

if you call the bootloader explicitly from your application, there is no timeout. So if you call the bootloader from your application, it stays in the bootloader until you do a reset.

Timeout is only used if bootloader is entered automatically after reset.

See other details in Getting Started: ROM Bootloader on the NXP FRDM-KL03Z Board | MCU on Eclipse .

I hope this helps,

Erich

View solution in original post

2 Replies
702 Views
BlackNight
NXP Employee
NXP Employee

Hi Masahiro,

if you call the bootloader explicitly from your application, there is no timeout. So if you call the bootloader from your application, it stays in the bootloader until you do a reset.

Timeout is only used if bootloader is entered automatically after reset.

See other details in Getting Started: ROM Bootloader on the NXP FRDM-KL03Z Board | MCU on Eclipse .

I hope this helps,

Erich

701 Views
masahirokiniwa
Contributor IV

Hi Erich

Thank you for your answer.

I saw a reason of this case.

.

Best regards,

M.Kiniwa

0 Kudos