How to run the sdk examples from usb on the Sparkfun. I can run the adruino code, but want to shift to a more standard production environment.
After manual install of GCC
I can compile by "make"
and when I run "make flush" get:
make: *** No rule to make target `flush'. Stop.
How this can be solved. My main target now is to run the blinky example from MacOS usb to the sparkfun Breakout board. Very new to this. So maybe there is some basic misconception. Thanks for the helpers
Have you tried with the command make flash? How have you connected the Sparkfun board to the computer?
Yes that is the command I used. From Usb port I use the SparkFun Beefy 3: FTDI FT231X USB to serial IC.
According to your post, the command you used was make flush, not make flash. You cannot program the chip using a serial adapter, you will need a SWD programmer/debugger. To use nrfjprog for programming, you will need a SEGGER J-Link debugger. On our nRF5x developent kits, there are on-board J-Link debugger that can be used for programming of external nRF devices.
So how it works to program it via adruino? Is the segger J-link connected via usb?
Arduino works because the board comes with a pre-programmed bootloader that allow updating the firmware using a serial connection. We provide the same capabilities for our SDK with our serial DFU, but I don't think the Sparkfun Arduino bootloader is compatible with our DFU implementation. You will need to flash the nRF52832 with out bootloader to enable updating of firmware over serial interface. I would recommend getting one of our nRF52-DK, and use the on-board J-Link to flash the external board.