We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
Rather that faffing about with using 3rd-party tools in unsupported ways, why not just get an nRF dev board which has a built-in JLink ?
When cross-posting (ie, posting the same question in multiple places), always give links to you other posts!
Otherwise, people may waste time in one thread not knowing that their contribution has already been said in another.
devzone.nordicsemi.com/.../can-t-program-nrf51822-with-keil
Expecting an ST-LINK to work on non-ST products is a bit of a stretch. Use an U-LINK or J-LINK, might have more luck.
I agree.
However, there are reports on the Nordic forums of people having done it. But they would be the kind of people who can work out these problems.
It's a hack - not the kind of thing to expect support from Keil or ST.
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