1-Nordic 开发环境搭建

1. SDK下载
1.1nRF-SDK是一套代码库,不需要安装.下载下来用Segger工具打开,编译即可.
https://www.nordicsemi.com/Software-and-Tools/Software/nRF5-SDK
1.2在线开发文档
https://infocenter.nordicsemi.com/topic/ug_getting_started/UG/gs/develop_sw.html?cp=1_0_2
1.3离线开发文档
nRF5 SDK Documentation

2.Segger下载
2.1SEGGER - The Embedded Experts - Downloads - Embedded Studio
2.2license
注意要下载最新的版本,填写信息获取license
SEGGER Embedded Studio License Activation

3.firmware下载工具
3.1  nRFconnect_for_Desktop
     安装报错,注意需要fanqiang
3.2 nrfgostudio(已被nRFconnect_for_Desktop替代)
3.3 commandline tool 是nRFconnect的命令行版
3.4 Segger也可以下载,一般都用Segger工具编译以及下载

4.commandline 
4.1download
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download

4.2. a command line tool to flash firmware replace nRF connect programmer 

4.3.problem:
(1)VC C++ 2017 redistributor无法安装,与已经安装的版本冲突
solve:下载旧的版本nRF-Command-Line-Tools_10_10_0_Installer_64.exe

(2)nrfjprog can't run due to VCRUNTIME140_1.dll can't find
solve:seach it from PC and find one to place it on this folder:

C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\VCRUNTIME140_1.dll  

5.开发
目前下载SDK和Segger即可开发.其他工具不需要.

6.编译
6.1SDK: nRF5_SDK_16.0.0_98a08e2
6.2编译:
(1)点击SDK里blinky 代码,自动使用Segger打开
 nRF5_SDK_16.0.0_98a08e2/examples/ble_peripheral/ble_app_blinky/pca10040e/s112/ses/**.emProject
(2)按F7(Segger/Build)进行编译

7.下载
7.1目标板:BMD-300 series Evaluation Board
7.2连接目标板到PC(USB)
7.3下载:
点击Segger/Target ->Download ble_app_blinky_pca10040e_s112即可下载

8.nRF Connect apk
(1)手机上安装 nRF Connect apk
(2)打开nRF Connect apk
Scan->Connect “Nordic Blinky”
 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值