hello guys i am trying to debug kl27 controller from usbdm, when i tried to debug this is giving error like this
Tools : KDS 3.0
USBDM 4_12_1_140
FRDM KL26
Can anyone help me out of this?
Thanks & Regards,
Sunil
Hi Sunil,
It is unclear if you are using a KL26 or KL27 since both are mentioned in your post.
I tried USBDM with KDS3.0.0 with both a FRDM_KL26 and FRDM_KL27. I was able to create a basic project using the SDK and then debug without any issues.
Could you export your project as a zip file and post here so I can check if there is anything unusual?
You can also test the system using the stand-alone ARM programmer to program the ELF file from your project to the target.
I suspect the interface is losing the connection with the target immediately after programming. This usually indicates some serious problem with the program being executed e.g. clock or watchdog miss-configuration or similar that occurs before main is reached. The bootloader on the KL27 can also cause problems if it is not disabled in the project.
It may be useful to change the launch configuration to not execute the program after loading:
Please also check the following:
Hi Sunil,
The project you provided does not appear to include a launch configuration for USBDM which is puzzling. Please create one by right-clicking on the project and selecting: Create USBDM Launch Configuration.
Am I correct in assuming you are using the FRDM-KL26 with an external target connected by a SWD cable? If not could you clearly describe the arrangement.
If so, could you provide the following information:
Was the stand-alone programmer able to detect and program the external chip.
Could you provide circuit for the board you are programming?
bye
Hi pgo,
Hello Sunil,
About the USBDM question, please ask at the expert thread OSBDM and TBDML ,
there will be the related expert help you, so i move your question to here.
BR
ALice