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.
Solved! Go to Solution.
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:
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.
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:
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!
-----------------------------------------------------------------------------------------------------------------------
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
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:
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.
Hello Wang,
Have your problem been solved ?
BR
Alice
Hello Alice,
I have the same problem.
Can you help me?
Thanks,
Viet
Dear Alice,
Yes, I understood the problem. But now I'm using JLink fermware for better speed and compatibility.
Anyway, thanks for support.