After quite a few difficulties getting Keilv5 to work with the included examples with no responses (devzone.nordicsemi.com/.../) I decided to give Eclipse a shot.
This tutorial was helpful, except that it's a bit out-dated for Eclipse Oxygen. devzone.nordicsemi.com/.../
I used this super helpful article to fill the gaps mcuoneclipse.com/.../
Good news is.. everything builds without errors! Bad news is that I can't initiate a debug session after a version check, and I have some questions on how to flash both the application and soft device using this interface.
-
Version check issue When running Debug, with "executable" set to the ARM GDB directory, I get the following error - presumably because it's trying to check the version and can't parse the output:
Could not determine GDB version after sending: F:\Program Files (x86)\6 2017-q2-update\bin\arm-none-eabi-gcc --version, response: arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437] Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Is there any work-around to this? How do I disable version checks, or can I use an older GDB instance?
2)Flashing the SoftDevice The tutorial states "For the heart rate or other BLE examples you will need to flash the softdevice by executing the "flash_softdevice" target." which is less than helpful.
I see the makefile includes "flash_softdevice", but how do I actually get the debugger to run those commands via the flash tool? Thanks, Andrew