kPollAbortTimeoutMs param value in Kinetis Bootloader package

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

kPollAbortTimeoutMs param value in Kinetis Bootloader package

1,408 Views
vyacheslavguzhv
NXP Employee
NXP Employee
  • Inside NXP Tool from Kinetis Bootloader package there default waiting time = 100ms after each command of writing via USB HID protocol. Such waiting time set into UsbHidPeriferals.h file
    • kPollAbortTimeoutMs = 100
  • But in this case whole bootloader (19KB) loading during ~1,5 minutes, which is not acceptable from mass production point of view.
  • can you recommend the most efficient parameter of waiting time for kPollAbortTimeoutMs (to have lower failed rate~=0,2%, but still with acceptable loading time)?

Labels (1)
0 Kudos
Reply
5 Replies

1,275 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Please try mfgtools in kinetis bootloader 2.0.0. It can program 4 chip simultaneously.

Regards,

Jing

0 Kudos
Reply

1,275 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Can you give more detail about your problem, such as MCU, bootloader version and which tool?

Do you mean it will take you 1~5 minute to download image? I think there must be some problem in your system. It shouldn't be so long.

Regards,

Jing

0 Kudos
Reply

1,275 Views
vyacheslavguzhv
NXP Employee
NXP Employee

Hi Jing,

1. Kinetis Bootloader v1.1 is used as namely this version flashloader (1.1) is loaded to MK22FN256.

2. The mentioned files (including UsbHidPeriferals.h) are in the folder: «\src\blfwk» from file «FSL_Kinetis_Bootloader_1_1_0.zip».

Slava

0 Kudos
Reply

1,275 Views
vyacheslavguzhv
NXP Employee
NXP Employee

Hi Jing,

Kinetis MK22FN256

Kinetis Bootloader 1.1

Its not 5 mins, but for hundreds MCU its painful to use standard settings

kPollAbortTimeoutMs = 100.

Slava

0 Kudos
Reply

1,275 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Excuse me, but I have to check with you. I can't find UsbHidPeriferals.h in FSL_Kinetis_Bootloader_1_1_0, nor kPollAbortTimeoutMs. Do I search in wrong package?

BTW, the current version of BOOTLOADER is 2.0.0. It's now called MCU BOOTLOADER2.0.0. You can download it from https://www.nxp.com/pip/MCUBOOT. I think it is easier to use than v1.1, and can get more support.

Regards,

Jing

0 Kudos
Reply