Hello,
Has anyone out there successfully been developing on MacOS with gcc? (something we really like about Nordic) I was able to build the blink_led example from the swra446 example without using Eclipse, really simply on the command line.
But, was unsuccessful loading it into a stripped-down SensorTag using a Segger J-link.
J-Link> loadbin blink_led.bin 0x0, fails with the following:
$ JLinkExe -if jtag -device CC2650F128
SEGGER J-Link Commander V4.96l ('?' for help)
Compiled Feb 25 2015 10:24:59
Info: Device "CC2650F128" selected.
DLL version V4.96l, compiled Feb 25 2015 10:24:52
Firmware: J-Link V9 compiled Feb 20 2015 09:20:19
Hardware: V9.30
S/N: 269303671
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
VTarget = 2.777V
Info: TotalIRLen = 10, IRPrint = 0x0011
Info: Found Cortex-M3 r2p1, Little endian.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Info: TPIU fitted.
Found 2 JTAG devices, Total IRLen = 10:
#0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
#1 Id: 0x8B99A02F, IRLen: 06, IRPrint: 0x1, TI ICEPick
Cortex-M3 identified.
Target interface speed: 100 kHz
J-Link>loadbin blink_led.bin 0x0
Halting CPU for downloading file.
Downloading file [blink_led.bin]...
****** Error: Failed to erase sectors 7 @ address 0x00003800 (erase error)
Info: J-Link: Flash download: Total time needed: 0.921s (Prepare: 0.600s, Compare: 0.218s, Erase: 0.023s, Program: 0.000s, Verify: 0.000s, Restore: 0.078s)
Unspecified error -1
J-Link>
We have a pretty simple, high volume design, and it seems overkill to use the IAR or CC tools.
We do want to send an iBeacon eventually though. Think it’s reasonable to link in the BLE stack necessary to do this using the gcc tools? No debugging, etc, needed.
Thanks!
Brian