On 13/07/2015 1:55 AM, Rupin Chheda wrote: > > I believe what I am asking is extremely specific, but keeping hope > that I might get some direction > > I have used a clone ST- Link v2 programmer to download code into a > NRF51822 Cortex M0 SOC from Nordic. In short, I have been following > this guide here > > http://icarus-sensors.github.io/general/starting-with-nRF51822.html > > When I try to erase the flash of the chip using OpenOCD as said in the > guide, I encounter this error > > When I execute > > nrf51 mass_erase The terminal says Unknown device (HWID 0x00000057) > > Is this that the NRF51822 device is not recognised on the STLink is > not recognized? > > > I got a redirect to ask this question in this mailing list, from > stackexchange > Here is my question on stackexchange > > http://unix.stackexchange.com/questions/215303/a-question-about-openocd/215307#215307 > > Can someone assist me? Thanks in advance! > > Rupin
This may not be a direct help, but I'm using a ST- Link v2 clone to program an NRF51822 quite successfully without your problem, so in theory they can work. For reference I'm using seeedstudio's programmer (http://www.seeedstudio.com/depot/STLink-V2-for-STM8-STM32-interface-programmer-p-2297.html) One thing that could be relevant, do you know which variant of the NRF51822 you have? I've got the 256KB flash / 16KB ram, but I know they've got newer chips with 32KB ram (which I wish I had). I don't know if openocd had profiles for the newer part numbers or not though? ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
