Bluetooth low energy (BLE 112 ) Difference between BGAPI and BGScript

夙愿已清 提交于 2020-01-06 07:15:52

问题


What is the Difference between BGAPI and BGScript ?

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


回答1:


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

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

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.

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

(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) 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.



来源:https://stackoverflow.com/questions/13760990/bluetooth-low-energy-ble-112-difference-between-bgapi-and-bgscript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!