How can I immediately start the user application written in the microcontroller?

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

How can I immediately start the user application written in the microcontroller?

860件の閲覧回数
kyohei
Contributor I

スクリーンショット 2022-01-13 172432.png

スクリーンショット 2022-01-13 172809.png


Is there a way to start the user application written in the microcomputer immediately after turning on the power?
The MCU and Flash Tool I am using are as follows.

MCU : MKL43Z256VLH4
FlashTool : KinetisFlashTool

Also, I have already tried the following, but I haven't been able to start it immediately.

Start Kinetis Flash Tool
→ Select "BCA Utilities"
→ Select "Config"
→ Check "Tag", "Enable Direct Boot"
→ Select "OK"
→ Select "Save"
→ Update the firmware using Kinetis Flash Tool

0 件の賞賛
返信
1 返信

838件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @kyohei ,

After downloading, KinetisFlashTool will reset target. And the MCU will read FOPT and then, if execute ROM bootloader, it will read BCA. So, you can

1. disable ROM bootloader by FOPT[BOOTSRC_SEL], or

2. If you want to keep ROM bootloader, you can set a short timeout in BCA, or

3. If you need a long timeout period, you have to use blhost.exe instead of KinetisFlashTool. Please refer to Table 13-2 in reference manual. ROM bootloader support 'Execute' command which can run user application code. But KinetisFlashTools doesn't support it. You can use blhost to download and execute.

 

Regards,

Jing

0 件の賞賛
返信