3 posts / 0 new
Last post
mringwal
Offline
Last seen:1 year 1 day ago
加入:2016-03-09 09:21
HCI via UART without Keil?

We'd like to evaluate the DA14581 for use with our BTstack Bluetooth stack via HCI H4 (seehttps://bluekitchen-gmbh.com).

In the HCI Software Release for the DA14581, I found a Keil project and 2 precompiled binaries.
Since Keil Toolchain is expensive and we don't plan on developing software on the DA14581, I'd like to know if it is possible to use the DA14581 without a commercial license for Keil compiler.

What are is the configuration of the two provided firmware images and how can be be flashed?
- hci_581_active_uart.hex
- hci_581_ext_sleep_uart

Finally, in the provided patch for bluez, dialog_download_hci_firmware() in hciattach_dialog.c loads ""hci-firmware.bin". Where is this file?

Best regards,
Matthias

Keywords:
Device:
MT_dialog
Offline
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi mringwal,

Hi mringwal,

You dont have to pay for a keil licence to build and download the HCI project on the 581, the commercial version of keil allows you to compile and download up to 32KB of code. Also you
通过智能Snippe可以下载这个文件吗ts tool either via UART of via JTAG. The hci_581_active_uart.hex is an image with no sleep and the other image implements sleep.

The fw that the patch asks is the one that should be compiled with keil via the provided source code. You can find this file in the out file in the out_581 folder and you can make it into
a .bin file by using the hex2bin.exe utility.

Thanks MT_dialog

mringwal
Offline
Last seen:1 year 1 day ago
加入:2016-03-09 09:21
Thanks a lot for the

Thanks a lot for the clarifications! I'm looking forward testing it when it arrives in the mail!

I also found the app note about the bootloader and learned that the patch uploads the firmware to SRAM.I also found found the app note about converting Keil projects to the GNU GCC Toolchain.