ROM Bootloader LPUART clock gate disabled on MKL17

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

ROM Bootloader LPUART clock gate disabled on MKL17

834件の閲覧回数
frederikvezina
Contributor I

Hi KBOOT team,

 

I'm using a MKL17Z256VFT4 processor on our own application board. I enabled booting from the ROM bootloader by setting the FlashConfig in the startup_MKL17Z4.S file. Also added a BCA. Did the fix for this bug as well. (https://community.nxp.com/docs/DOC-332389)

All seems to work fine until I tried to connect with the blhost application using the serial port. There wasn't any PING response from the bootloader. 

Looking at the CPU Registers with a debugger, the clock gate for the LPUART0 was not enabled. (See SIM_SCGC5[LPUART0] in SIM_Registers.png attached) When I enabled the other peripherals, their clock gate was enabled.

Could you advise on conditions where the LPUART0 would fail to initialized on the ROM Bootloader?

 

Thanks,

 

Frederik

Original Attachment has been moved to: bootloaderEnableAndBCA.txt.zip

タグ(1)
0 件の賞賛
返信
2 返答(返信)

559件の閲覧回数
frederikvezina
Contributor I

Turns out we are not using the right pins (PTA1 &2) for the lpuart0 to use the ROM Boot.

Case closed!

0 件の賞賛
返信

559件の閲覧回数
robertpoor
Senior Contributor I

(Just as a note, you may wish to mark your update as the correct solution so it doesn't show up as an open question.)

0 件の賞賛
返信