How to apply BCA configuration?

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

How to apply BCA configuration?

1,055件の閲覧回数
masahirokiniwa
Contributor IV

Hi

I try to run the KL03 ROM bootloader from user application with BCA configuration.

I set to BCA about below configurations, but I looked like it was not applied.

 - tag

 - enablePeripherals : use only I2C

 - i2cSlaveAddress

 - peripheralDetectionTimeout

 - clockFlags and clockDivider

I saw that the time-out is not applied when user application call ROM bootloader.

1. When user application call ROM bootloader, BCA configuration is not applied to it like time-out?

2. How to apply BCA configuration when I run ROM bootloader from user applicaiton?

Best regards,

M.Kiniwa

0 件の賞賛
返信
2 返答(返信)

682件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Maybe this article helps you:

Getting Started: ROM Bootloader on the NXP FRDM-KL03Z Board | MCU on Eclipse 

And yes, if you call the bootloader from the application, the timeout is not applied, but everything else is (from what I can tell using blhost). You would have to implement that timeout in the user application part. Or you could setup a watchdog as timeout.

I hope this helps,

Erich

0 件の賞賛
返信

682件の閲覧回数
masahirokiniwa
Contributor IV

Hi Erich

Thank you for your answer.

I would like to know how to inirialize peripheral setting like I2C slave address and clock configuration.

When I run ROM bootloader from user application, is ROM bootloader doesn't initialize sewuence like a 1st column of Figure 11-2 in KL03 reference manual?

And, ROM bootloader keep the HW configuration by user application?

Best regards,

M.Kiniwa

0 件の賞賛
返信