How to upgrade OpenSDA bootloader from 2.0 to 2.1?

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

How to upgrade OpenSDA bootloader from 2.0 to 2.1?

ソリューションへジャンプ
2,983件の閲覧回数
walter_wang
Contributor III

Dear experts,

 

I've got a MAPS-K22F+Dock (from Manley) on hand, there is an K20DX128 with USB port on the Dock board which supports OpenSDA and emulated serial port. Initially I found maybe the OpenSDA bootloader is V2.0 because there is a bootload.htm file after entering bootloader mode, and it already has K64F MBED app in it. My target processor is K22F, which needs bootloader V2.1 to support. After downloading CMSIS-DAP-BOOTLOADERV2.1.zip, and copy/paste k20dx128_bootloader_0x8000.bin (in the zip) to MSD drive in bootloader mode, and re-plug the USB, nothing happened, the bootloader still remain V2.0. I've tried using K22F app under V2.0 but failed (No MBED devices detected).

But it is a bit weird that I can debug K22F projects in KDS 3.2 with OpenOCD and 0226_k20dx128_k64f_0x5000.bin.

 

Is there any trick to upgrade OpenSDA bootloader from 2.0 to 2.1?

 

Thanks in advance.

ラベル(1)
0 件の賞賛
返信
1 解決策
2,419件の閲覧回数
walter_wang
Contributor III

Hi Alice,

My MAPS-K22 + Dock was purchaed from CEC-port online, no CD/DVD in the package. I downloaded HW/SW doc from here:

http://www.nxpic.org/document/list/index/category-188

According to below page:

OpenSDAv2

there are 2 variants: OpenSDA V2.0 and V2.1 (both bootloader and app). V2.0 now is only for K64F, and V2.1 for all the others. V2.0 bootloader cannot adopt V2.1 app. Unfortunately mine is V2.0 bootloader, and your attachment file (0221_k20dx128_k22f_0x8000.bin) is obviously V2.1 app. I've tried it, and no MBED MSD appears, no OpenOCD debug interface, until changing back to 0226_k20dx128_k64f_0x5000.bin.

元の投稿で解決策を見る

7 返答(返信)
2,419件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Wang,

Do you want use the MBED mode on MAPS_KS22 board ?

If yes, please refer to the guide update the bootlaoder to MEBD:

pastedImage_0.png

the "k20dx128_ks22_mbed.bin" file , please see the attachment .

Pay attention, if you want use the MEBD mode , do not need copy the Jlink_openSDA .bin to

to the bootlaoader ,this is for jlink interface .

If still can not work , please take a screenshot about your steps one by one .

Hope it helps
Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
2,419件の閲覧回数
walter_wang
Contributor III

Hi Alice,

Thank you for detail steps. My target board is MAPS-K22, not KS22. Do you have the file for K22 with proper bootloader so I can give a try?

Walter

0 件の賞賛
返信
2,419件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Walter,

I have not find the software package for MAPS-K22,

when you  buy the board, have you get it ?

And there is a MEBD firmware for K22 , you can have a test , please

check the attachment .

Hope it helps

0 件の賞賛
返信
2,420件の閲覧回数
walter_wang
Contributor III

Hi Alice,

My MAPS-K22 + Dock was purchaed from CEC-port online, no CD/DVD in the package. I downloaded HW/SW doc from here:

http://www.nxpic.org/document/list/index/category-188

According to below page:

OpenSDAv2

there are 2 variants: OpenSDA V2.0 and V2.1 (both bootloader and app). V2.0 now is only for K64F, and V2.1 for all the others. V2.0 bootloader cannot adopt V2.1 app. Unfortunately mine is V2.0 bootloader, and your attachment file (0221_k20dx128_k22f_0x8000.bin) is obviously V2.1 app. I've tried it, and no MBED MSD appears, no OpenOCD debug interface, until changing back to 0226_k20dx128_k64f_0x5000.bin.

2,419件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Wang,

Have your problem been solved  ?

BR

Alice

0 件の賞賛
返信
2,419件の閲覧回数
cuchut
Contributor I

Hello Alice,

I have the same problem.

Can you help me?

Thanks,

Viet

0 件の賞賛
返信
2,419件の閲覧回数
walter_wang
Contributor III

Dear Alice,

Yes, I understood the problem. But now I'm using JLink fermware for better speed and compatibility.

Anyway, thanks for support.

0 件の賞賛
返信