This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF51822 programming via uart

Hello. I bought a few days ago 3 NRF51822 after a lot of reading about it. Unfortunatelly i can not upload any code to it or any firware. I do not have motherboard yet (NRF51822 DK) so i tried to upload software via USB to UART converter (FTDI). I found that pins 8, 9, 10 and 11 on are responsible for comunication via UART so i soldered it and wired to uart: 8 (NRF) - CTS (USB UART Conv) 9 - RXD 10 - RTS 11 - TXD vdd - power 3.3v gnd - gnd

USB to UART Converter has been recognized in system on COM2. I also installed JLink for Windows, and gcc-arm-none-eabi-6-2-2016.

Then i tried start from console: arm-none-eabi-gdb -ex "target extended-remote \.\com2" -ex "monitor swdp_scan" -ex "attach 1"

Unfortunately it doesnt find NRF.

What am I doing wrong? There is a lot of documentation for NRF51822 but none treats step by step how to upload firmware to chip via UART without motrherboard or even if it is possible.

I want to use NRF51822 with Arduino IDE so i want to upload code into the cheap so it can work by itself. Do I need to upload firmware also or just code?

Please advice. Kalreg.

Related