kPollAbortTimeoutMs param value in Kinetis Bootloader package

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

kPollAbortTimeoutMs param value in Kinetis Bootloader package

2,059件の閲覧回数
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)?

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,926件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

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

Regards,

Jing

0 件の賞賛
返信

1,926件の閲覧回数
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 件の賞賛
返信

1,926件の閲覧回数
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 件の賞賛
返信

1,926件の閲覧回数
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 件の賞賛
返信

1,926件の閲覧回数
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 件の賞賛
返信