Hi everyone,
I want to program the nrf51822 module with the discovery board stm32f429i-disc1 through ST-LINK programmer in Keil IDE but this error appears: "ST-LINK connection error".
I erased the chip with ST-LINK Utility but in Keil, I can't. Is it feasible to program nrf51822 with Keil or I should choose another platform like nRFgo Studio? If the answer is yes, how should I fix this error? I'm using SDK v10.0.0.
Any help would be really appreciated.
Regards,
Milad.
You could try using the ST-Link as a CMSIS-DAP Debugger, but I don't know if that works with the firmware in the latest ST-Links:
http://www.keil.com/support/man/docs/dapdebug/dapdebug_drv_cfg.htm
Here are how others have attempted to change the firmware on the ST-Link - YMMV:
mvdlande.wordpress.com/.../
www.reddit.com/.../
Also if this is a nrf51, make sure you are loading the softdevice into the device too:
devzone.nordicsemi.com/.../error-flash-download-failed---cortex-m0
devzone.nordicsemi.com/.../can-i-program-s110-into-nrf51422-rev2