hi
I am working with nordic nrf52810 soc, when i flash code using stlink v2 i am getting "Internal command error", all my connections are correct. i can see my stlink connected inside debug in keil. on the other hand i am able to program successfully stm32f103 using the same ide and programmer.
As I said, the ST-Link is specifically designed for ST devices, so I wouldn't be surprised if it's trying to do some ST-specific things - which are bound to fail on a non-ST chip.
Is it really worth the effort of battling this, or would your time be better spent using a supported debug probe?
i am using nordic ble module which dont have on board j-link, i have seen few post in which people have programmed nrf51822 using stlink, i dont know why stlink is not detecting this IC.
mohd azka said:i am using nordic ble module which dont have on board j-link
again, the J-Link on a Nordic Dev Board can be used for external targets.
mohd azka said:i have seen few post in which people have programmed nrf51822 using stlink
Yes, that's exactly what I said - but it's not the intended or supported use of an ST-Link.
If you want to go off-piste, you need to thoroughly understand what you're doing and how to make the necessary hacks
thanks for your guidance, i got jlink now, everything is working fine.