低功耗蓝牙(BLE 112)BGAPI和BGScript之间的区别 [英] Bluetooth low energy (BLE 112 ) Difference between BGAPI and BGScript

查看:508
本文介绍了低功耗蓝牙(BLE 112)BGAPI和BGScript之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

BGAPI和BGScript有什么区别?

What is the Difference between BGAPI and BGScript ?

如果我们为BG配置文件编写任何代码,那么如何在BLE 112中刻录它呢?

And if we write any code for BG profile than how can we burn it in BLE 112?

推荐答案

BGAPI接口定义用于通过USB或串行链路与模块进行通讯的协议。

The BGAPI interface defines the protocol used to talk to the module over USB or serial link.

BGScript是在不使用USB或串行链接时在模块处理器本身上运行的东西。

BGScript is something which runs on the module processor itself, when the USB or serial link is not used.

我有加密狗BLED112 ,与上面带有USB连接器的BLE112相同,并且使用标准USB DFU接口将代码刻录到了其中。

I have the dongle, BLED112, which is the same thing as BLE112 with a USB connector on it, and the code is "burned" to it using standard USB DFU interface.

可以使用几种方法将代码下载到BLE112:

The downloading of the code to BLE112 can be done using several methods:

(1) DD,DC调试接口引脚来自模块,并使用CC-Debugger(digikey部件296-30207-ND,55美元)。每次都有效。如果您有DKBLE112套件,则CC-Debugger可以安装在右下角的10针.050连接器上。您可以通过这种方式刻录任何固件和任何堆栈。

(1) Bring out the DD, DC debug interface pins from your module and use the CC-Debugger (digikey part 296-30207-ND, $55). This works every time. If you have the DKBLE112 kit, the CC-Debugger fits on the 10-pin .050 connector in lower right corner. You can "burn" any firmware and any stack this way. Works awesome.

(2)希望CC2540上的当前固件具有串行引导加载程序,并使用UART加载新固件(希望也包含串行引导加载程序)。 TI有这些工具,但对我来说确实很复杂,我没有尝试过。

(2) Hope that the current firmware on the CC2540 has serial bootloader, and load the new firmware (hopefully also containing serial bootloader) using UART. TI has the tools, but it sure seems quite convoluted to me, and I did not try it.

这篇关于低功耗蓝牙(BLE 112)BGAPI和BGScript之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆