Hi :)
我刚刚发现了产品和这家公司,看起来很有希望!雷电竞下载app我有一个需要蓝牙的项目/产品,我决定使用da14531微小而不是esp32 :)谢谢您的机会,并期待使用该产品!
I bought the TINY module but I was wondering if there was an easy way to program it (over SWD f.x.) using either an Arduino or an STM32. I have for example many STM32 programmers, which also use SWD, so what I was looking for a ready-made code/binary which I can upload either on the arduino or the STM32, which will then communicate with an IDE (or any software really) on my computer to program the module?
Thank you!
西蒙
Device:
嗨Simonlasnier,
感谢您的问题,并在我们的公共BLE论坛上发布。是否有可能分享高水平的申请?您打算使用微小模块作为基本微控制器,或与另一个MCU一起使用吗?
为了编程模块,您可以使用JTAG或1-Wire UART接口(P0_5)。在JTAG的情况下,您可以使用我们的任何开发板或任何外部JTAG接口。如果为1线UART接口(P0_5),则应重置DA14531。这可以通过将电源循环到模块或使用RST输入(有效高)来实现。
Especially for the TINY, you can also use the对话框智能闪存程序员,用于Windows操作系统in order to program the on-module SPI flash.
In the TINY module and DA14531 product page, you will find all the available documentation SW examples and HW collaterals you need to get started with Dialog products.
There also reference designs available that you will help you to reduce the developing stage, as you don’t need to spend so much time in developing your application code.
//www.wsdof.com/products/connectivity/bluetooth-low-energy/products/da14531
//www.wsdof.com/products/bluetooth-module-da14531-smartbond-tiny
CodeLess
无附件允许您快速使用一组AT命令使用无线IOT应用程序。雷竞技安卓下载Dodeless AT命令平台允许通过BLE控制本地UART连接的设备以及远程设备。您可以创建简单的演示/应用程序/概念证明,而无需任何代码开发雷竞技安卓下载或在顶部构建您自己的应用程序!
https://www.dialog-seminile.com/produ雷电竞官网登录cts/smartbond-codeless-commands.
对话框串行端口服务(DSP)
DSP模拟串行电缆通信。它为RS-232连接提供了简单的替代品,包括通过蓝牙低能量的熟悉的软件流控制逻辑。SPS软件分发包括应用程序和配置文件源代码并支持间隙中央/外设角色。
//www.wsdof.com/products/dialog-serial-port-service-dsps
Since you are new with our products, you recommend getting started with following documents:
http://lpccs-docs.dialog-semiconductor.com/Tutorial_SDK6/index.html
http://lpccs-docs.dialog-seminiondiond.com/um-b-117-da14531-getting-started-with-the-pro-development-kit/index.html.
http://lpccs-docs.dialog-semicondiondumon.com/um-b-119_da14585-da14531_sw_platform_reference/index.html.
Thanks, PM_Dialog
非常感谢你quick reply - that is great info! :)
The application will run mainly on an STM32 MCU, so the module will only be used as Bluetooth module. I have not decided yet what communication channel they will use but both MCU's have plenty of possibilities (I2C, SPI, UART), so it really should not be any problem. Also once in the market my product will have a way to upgrade its firmware (i.e. the flash of the STM32), and I want to make sure upgrading the firmware of the DA14531 at the same time is also possible.
My knowledge about JTAG/SWD is quite limited - I thought they were different things but it seems I am wrong - looking through the datasheet I can see both terms are used interchangeably. So then I guess you are saying I can simply use my ST/Link V2 and connect the SWDIO and SWCLK pins to the correct pins on the module - that is great! :D
Do you know what firmware is loaded on the module when it is new (I bought it from Digikey)?
再次感谢您的链接,我将通过他们全部。
嗨Simonlasnier,
您可以将模块与UART(UTX / URX / RTS / CTS)一起连接,以便您可以轻松使用无附带或DSP!在DA14531上提供通过空气(Suota)的软件更新。关于您的最后一个问题,DA14531模块没有任何预先安装的固件,所以您应该在您身边进行编程。
Thanks, PM_Dialog
好的谢谢。
Hi again!
I know this is quite specific, but the ST-Link V2 is not recognized at all by the tools provided (f.x. the Smartbond Flash Programmer). As I said my knowledge of JTAG and SWD is quite limited, but I guess it does not fall in the "Any JTAG programmer" category?
I will keep on trying to get it to work, but I am thinking I might not be the only one in this situation and native support would be really really appreciated :)
好的,这很有趣 - 遵循Blinky榜样(http://lpccs-docs.dialog-semicondiondumon.com/um-b-117-da14531-getting-started-with-the-pro-development-kit/06_your_first_da14雷竞技安卓下载5x_applications/your_first_da145x_applications.html#),但选择ST-Link J-Link的相反Keil "Options for Target", I managed to execute some code in Debug mode on the chip! The blinky code was running in the RAM, that works great.
这适用于Keil软件支持与ST-Link的通信,然后与我想的任何其他芯片相同地与ARM皮质芯片通信。但是当T来到将十六进制/二进制文件写入SPI Flash时,我必须使用对话框工具,并且均未检测到ST-Link。是否有任何方法可以直接从Keil UVision上传到SPI闪存的代码?
FYI我正在为那些有同样问题的人附上Keil Uvision的配置。
或者,CMSIS-DAP接口将不是J-Link接口与对话框提供的工具一起工作?
嗨西蒙,
Thanks for your question - let me cjeck it internally.
Thanks, PM_Dialog
好的,谢谢。刚刚过了seems Keil uVision has a way to upload to the SPI using the ST-Link, the "Settings" window of the ST-Link debugger has a "Flash Download" tab, which seems to be the way forward. I am just not sure what to put there :/
嗨Simonlasnier,
我看到了附加的截图,我假设您正在尝试编程SPI闪存。如果我错了,请纠正我。在这种情况下,我们提供名为SmartSnippets Toolbox的工具。您将在DA14531产品页面中找到它的“开发工具”部分。
//www.wsdof.com/products/connectivity/bluetooth-low-energy/products/da14531
If you are using the Keil IDE, you can only download fw into the System-RAM.
Thanks, PM_Dialog
谢谢您的回复,但是我已经了解SmartSnippets Toolbox - 该工具不适用于St /链接,只使用您的程序员和Segger。如果您可以将ST /链接添加到您的工具 - Segger Tools,这将是非常好的 - 在您可以获得eBay的“复制”ST /链接的eyunger工具,这是一个幸运的工具。
在我的情况下,我猜除了购买你的一个董事会og a segger jlink是否有很多东西,
嗨Simonlasnier,
谢谢你的建议,让团队知道。
Thanks, PM_Dialog