AN2295 Serial bootloader doesn't work on FRDM-KL25Z, why?

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

AN2295 Serial bootloader doesn't work on FRDM-KL25Z, why?

ソリューションへジャンプ
1,857件の閲覧回数
kai_liu
Senior Contributor I

I am evaluating AN2295 bootloader on FRDM-KL25Z.

 

After checking the source code, I found UART0(PTA1/PTA2) is used for bootloader, which is actually UART connects to OpenSDA on board. So I download the code into KL25Z128VLK4 on board and have a try.

 

Since the bootloader only works after POR, I have to unplug and reconnect it to USB. Then I run "win_hc08sprg" client program, select COM, load S19 file, click "Connect".

 

The connection always timeout.

 

Waiting for HC(S)08/ColdFire/Kinetis reset ACK (timeout: 0s)...

Error receiving reset ACK - TIMEOUT.

 

Or it reports receiving wrong character like 0x00.

 

received 0x00 (ignoring).

received 0x00 (ignoring).

received 0x00 (ignoring).

received 0x00 (ignoring).

received 0x00 Waiting for HC(S)08/ColdFire/Kinetis reset ACK (timeout: 0s)...

Error receiving reset ACK - TIMEOUT.

 

It seems USB VCP of OpenSDA takes quite a long time to work, maybe it requires more time? Or we have some issues on UART communication of bootloader?

 

Attachment is my revision for AN2295.

I tried to add LED as indicator, so far it doesn't work well. MCG/PORT/GPIO is processed, it still doesn't work.

And I tried to enableBootMode by POR as well as reset PIN , but it doesn't help either to enter bootloader mode.

Original Attachment has been moved to: Kinetis.zip

ラベル(2)
タグ(3)
1 解決策
998件の閲覧回数
kai_liu
Senior Contributor I

Hi, Ma Hui,

I have setup another thread regarding my issues on AN2295 on : Something wrong with AN2295 bootloader on FRDM-KL25Z for its reset behaviour

Up to now, I have summarized my issues and related solutions on that thread.  Please check it out. And I am working on a demo with modified icf for redirect vector and shift start point for user application.

Thanks for your support.

Allan K Liu

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
998件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I am checking with this issue, I will be back when I could get any updated info.
Thank you for the patience.

B.R.
Ma Hui

998件の閲覧回数
kai_liu
Senior Contributor I

Hi, Ma Hui,

Now I may need your help on AN2295 again! Now it stuck on downloading custom firmware.

I am sorry to bother you all the time.

Yours sincerely

Allan K Liu

0 件の賞賛
返信
998件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport


Hi Kai,

I just add comments on your new thread  AN2295 again! Now it stuck on downloading custom firmware

Please check it and thank you for the attention.

B.R.

Ma Hui

0 件の賞賛
返信
999件の閲覧回数
kai_liu
Senior Contributor I

Hi, Ma Hui,

I have setup another thread regarding my issues on AN2295 on : Something wrong with AN2295 bootloader on FRDM-KL25Z for its reset behaviour

Up to now, I have summarized my issues and related solutions on that thread.  Please check it out. And I am working on a demo with modified icf for redirect vector and shift start point for user application.

Thanks for your support.

Allan K Liu

0 件の賞賛
返信