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

Laird BL653 (nRF52833 based) Development - "make flash" failure

Environment:

  • Host: Macbook Catalina
  • SDK: 16.0.0
  • Toolchain: ...2018-q2... (the pre-configured toolchain in the SDK)
  • SoftDevice: (not used yet, planning to use 6.0.0.6-alpha)
  • Nordic example: examples/peripheral/saadc/pca10100/blank/armgcc
  • Target: Laird BL653 (documented as same as PCA10100 except for Button 4 Pin Assign and Clock Configuration), I modified the PCA10100 config to match the Laird DevKit
  • JLink: USB port to Laird's Segger HW
(base) MacBook-Air:armgcc jvandegrift$ pwd
/Users/jvandegrift/Development/nRF52/nRF5_SDK_16_0_0/nRF5SDK160098a08e2/examples/peripheral/saadc/pca10100/blank/armgcc
 
(base) MacBook-Air:armgcc jvandegrift$ make # ... this "just worked" so I'm not showing the clean output
 
(base) MacBook-Air:armgcc jvandegrift$ make flash
DONE nrf52833_xxaa
Flashing: _build/nrf52833_xxaa.hex
nrfjprog -f nrf52 --program _build/nrf52833_xxaa.hex --sectorerase
ERROR: The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the device connected.
make: *** [flash] Error 18
How I could have the "family" wrong if the Laird is built on an nrf52833 SoC and "-f nrf52" is provided as an arg?
Thanks,
Jeff
Parents
  • My thinking is that I can do the following:

    • Figure how the BL653's self description during nfrjprog / JTAG negotiation differs from PCA10100
    • Clone PCA10100 info (how many places?) and name the copy BL653
    • Modify the parts of the new BL653 Config such that nfrjprog will recognize the BL653 HW as "within the nrf52 family" and write the program

    Am I on the right track? It'd be helpful to identify the places to be modified.

Reply
  • My thinking is that I can do the following:

    • Figure how the BL653's self description during nfrjprog / JTAG negotiation differs from PCA10100
    • Clone PCA10100 info (how many places?) and name the copy BL653
    • Modify the parts of the new BL653 Config such that nfrjprog will recognize the BL653 HW as "within the nrf52 family" and write the program

    Am I on the right track? It'd be helpful to identify the places to be modified.

Children
No Data
Related