I've been trying to use OpenOCD to upload and run my software on an LPC43S67 but it seems that the debug interface does not support the default commands of the debug interface and fails with the info that the command CMD_INFO failed.
Is it possible to use OpenOCD or i'm tied to LPXpresso?
Regards
Hi Felix Klakow,
The LPCXpresso LPC43S67 board have the on board JLINK or CMSIS_DAP debugger.
I don't which debugger you are using, actually, you also can use the IDE(MDK, IAR, LPCXpresso) associate with the JLINK or CMSIS DAP debugger to download the code.
If you use the external debugger, you need to connect 2-3 pin in JP1.
Please check the debugger at first.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Kerry Zhou,
i trying to use the default USB interface ( CMSIS_DAP ) without an additional external debugger.
I'm using Visual Studio with VisualGDB which itself uses OpenOCD for debugging.
As i said before, the CAP command CMD_INFO ( CMD_DAP_INFO 0x00 ) is failing.
Regards,
Felix
Hi Felix Klakow,
I suggest you to use the LPCXpresso IDE or the third part IDE(IAR or MDK) to download the code.
From this link:
Getting started with LPCXpresso + LPC1768 custom board
We can find it is not claimed to support the use OpenOCD for debugging with LPCXpresso IDE.
So, you can try to use the LPCXpresso IDE with the CMSIS DAP directly, this can be ensured to download the code.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------