2020-07-26 10:42 AM
Hi :)
I have a few boards - for example a Nucleo - that all come with a ST-LINK attached. They work great to program any STM32 MCU, but I was wondering if it could be possible to use the ST-LINK as standard SWD/JTAG programmer for other ARM Cortex MCU's?
My particular case is a bluetooth chip from Dialog Semiconductor (DA14531) which should work with any standard JTAG Programmer. It has SWCLK and SWDIO pins.
But the ST-Link do not seem to be recognized by the software provided by Dialog Semi.
Thank you
Simon
2020-07-27 01:44 PM
Oh my bad I just understand you said using SWD and STLinkV2 - I'll give it a go then!
2020-07-27 02:34 PM
Ok there is progress! Using Keil uVision I can set up a session with some code made for the Dialog chip, and then in "Options for Target", in the "Debug" tab, I can choose my ST-Link, and this seems to work! I had to use the "Connect: under Reset" option in the ST-Link Setup window, and leave the Reset pin of the Dialog chip floating.
With that setup I can execute some code on the ARM Cortex MCU in the chip in debug mode :)