Hi, I am trying to flash program an nRF51822 module to operate as both central/peripheral role. So I'm looking for some advice on how this could be done?
Programming Hardware: Black magic probe (BMP), which is a JTAG and SWD Adapter used for programming and debugging ARM Cortex MCUs.
Nordic Device: nRF51822 QFAA G1
Interface: arm-gcc cmd line tool, Eclipse(neon with GNU plugin) (Is this ideal? , I have come across developers using Keil uvision?)
So the idea is to program two modules to be operating as both in central and peripheral roles with UART service, while being able to use the Nordic toolbox app to send a command to tell the BLE device to operate as a central or operate as a peripheral.
Please let me know how this could be performed?
How do I use the compile ble_uart_s130 from SDK 10 and flash it into my target device through SWD/JTAG? Is there an example eclipse project I can use?
I have gone through this page but it uses a Segger J-Link.
Thanks