Recently I found some incomplete source release of CMSIS-DAP for NXP/ST ARM. I want to know if it is available from FSL for its MCU, like FRDM-KL25Z or other low-cost platforms?
If yes, then we can build a custom CMSIS-DAP debugger without disable on-board connection between K20 and KL25Z.
Allan
Solved! Go to Solution.
Hi Liu Kai,
FRDM-KL25Z board provides P&E OpenSDA debugger tool, which could use to debug other Kinetis chip.
About how to use FRDM-KL05Z board debug other Kinetis chip, You could find related info from below link:
https://community.freescale.com/thread/306394
And Freescale also provide Kinetis tower board, which with P&E OSJTAG debugger tool on board.
Wish it helps.
You can download CMSIS-DAP deliverables from ARM via the link below (requires login).
https://silver.arm.com/browse/CMSISDAP
Drew
Thank you, all of you.
I have registered and downloaded the deliverable. I finally realize one issue: all of the sources at my hand, including NXP version, STM version, FSL version are all built with Keil ARM uVision 4.6+. And my evaluation copy can not support it. It will stop at linking and tell me "RL-ARM can not be supported in your license"!
Since I can not offer a complete license from Keil, too expensive. I have to port it to IAR/GNU toolchain. Otherwise I have to copy the hardware design with prebuilt binary releases, like LPC11U37 and FSL K20 OpenSDA.
And I have to design another bootloader for K20 if I use its binary release. I have checked its S19, the application starts from 0x8000. It means the leading 32KB is taken by MSD bootloader.
My optimize solution for an open source CMSIS-DAP should be:
A Keil MDK Pro license is not required for building the ARM DAP examples if you use the USB device stack source code. This stack was open sourced by the mbed/CMSIS-DAP project.
https://github.com/mbedmicro/CMSIS-DAP/tree/master/shared/USBStack
These projects at Github include Keil project files to use Freescale K20 MCUs as CMSIS-DAP debuggers and may be useful for your purposes. The mbed/CMSIS-DAP project also implements flash programming of targets via USB MSD, a USB CDC serial port, a USB bootloader and the Keil RTX RTOS.
The mbed library also supports GCC and IAR. It shouldn't be difficult to adapt the GCC and IAR toolchain files from the mbed library to the mbed CMSIS-DAP project.
Thanks, I got it running on FRDM-K20.
Hi Liu Kai,
FRDM-KL25Z board provides P&E OpenSDA debugger tool, which could use to debug other Kinetis chip.
About how to use FRDM-KL05Z board debug other Kinetis chip, You could find related info from below link:
https://community.freescale.com/thread/306394
And Freescale also provide Kinetis tower board, which with P&E OSJTAG debugger tool on board.
Wish it helps.