第一个是在SmartBond无线测距(wia) SDK上创建的,另一个是基于RSSI的。DA14531社交距离应用程序也在DA14531 TINY模块上运行!
点击here了解更多详情!< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / da1469x”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA1469x < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / da14531”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14531 < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / da14531-tiny-module”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14531很小模块< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14531”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14531 < / > < / div > < / div > < / div >
查看DA14531的最新版本的引导选项应用程序说明!< / p > < p > < a href = " https://www.dialog - semiconductor.com/sites/default/files/an - b - 072 - da14531_booting_options_v1.2.pdf”> https://www.dialog semiconductor.com/sites/default/files/an - b - 072 - da14531_booting_options_v1.2.pdf < / > < / p > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < divclass="field-label">Device:
https://www.snapeda.com/search/?q=DA14531&search-type=parts
注册后,您可以免费下载这些几乎任何格式(Altium, Orcad, Eagle等)!同时支持QFN和CSP变体。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14531”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14531 < / > < / div > < / div > < / div >
我尝试使用SmartSnippets cli为生产设备编程,但它失败了。我的命令是:
SmartSnippetsToolbox.exe -type spi -chip DA14531 -jtag <mySerialNumber>-cmd write -file <myfile>-max 0x400000 -firmware "C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.14\common_resources\SupportPackages\DA1453x\toolbox_resources\common\flash_programmer_531.bin" -bootable
and output is:
Found SW-DP with ID 0x0BC11477
扫描AP map找到所有可用的AP
AP[1]:
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID寄存器:0x410CC601通过迭代AP map找到AHB-AP使用
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID寄存器:0x410CC601实现者代码:0x41 (ARM)
Found Cortex-M0 r0p1, Little end。
FPUnit: 4个代码(BP)槽和0个文字槽
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
BTLE device selected。
发现ID为0x0BC11477的SW-DP
AP映射检测跳过。发现手动配置的AP地图。
AP[0]: AHB-AP (IDR: Not set)
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410CC601 Implementer code: 0x41 (ARM)
Found Cortex-M0 r0p1, Little endian.
FPUnit: 4 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.14\common_resources\SupportPackages\DA1453x\toolbox_resources\common\flash_programmer_531.bin has been selected for downloading.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Successfully downloaded firmware file to the board.
Using default baudrate: 115200 Bd.
Failed setting the following values to SPI Flash gpios: CLK=P0_4, CS=P0_1, MISO=P0_3, MOSI=P0_0.
Read 28232 bytes from file <myFile>.
Added bootable header to image.
Started burning memory with 28344 bytes of data at address 0x00000.
Failed configuring SPI ports and pins.
Fail write 16384 bytes at offset 0x00
Memory burning failed.
The default SPI port configuration matches my hardware so I didn't explicitly specify them.
And I didn't hear the beep when downloading frimware.
我怎么做?
所有自定义配置文件示例都是针对128的,但是UUID和配置文件/自定义代码使用了128bit调用…我只是不知道如何得到一个新的配置文件在没有使用配置文件/自定义位。我假设可以用user_prf_funcs[]做一些事情,但我只是找不到任何可用的例子(即使HID仍然使用cust1 .)
如果我想替换现有的配置文件/应用程序,例如电池服务。我该怎么做呢?
有任何例子吗?
非常感谢,
Lee。
I understand the example that uses a timer to change the data ... so it's relatively easy to change the data at specific intervals, however I would like to include a "time since last reading" field, so that needs me to be able to change the data for each advertising packet.
Is that possible? I understand I could setup a timer that's just slightly less than the advertising interval, but that would mean waking up twice and power consumption is absolutely key .. and clearly it needs to wake up to send the packet, so why not use the same wake-up event to adjust the data?
Is there a callback or something I can use to achieve this?
Many thanks,
Lee.