邻近应用程序示例不工作

17个职位/0个新职位
最后一篇文章
aritec
Offline
最后一次见到:11个月4周前
已加入:2014-01-29 06:09
邻近应用程序示例不工作

在文件之后,我开始在评估板上做一个全职记者。如果我不断开,看门狗会调用NMI中断,一切都会停止。所以我启动reporter并用ctrl+F5断开连接,希望程序能运行。

Now I start the full embedded monitor on the USB stick. Also disconnect and start the host monitor application, but it seems can't communicate to the USB stick.

####################################################
# DA14580 Proximity Monitor demo application #
####################################################
No cmdline arguments.
Enter COM port number (values: 1-65535, blank to exit): 30
Connecting to COM30
COM30成功打开,波特率115200
Waiting for DA14580 Device

你知道我遗漏了什么吗?

Using:
DA14580 SDK版本2.0.4.1
uVision4
Windows 7 Professional

JE\U对话框
Offline
最后一次见到:13小时36分钟前
工作人员
已加入:2013-12-05 14:02
Hello Aritec, in the next

你好,Aritec,在接下来的几天里,我们将发布一个新的SDK,其中包括一个改进的邻近应用程序。这将从支持站点的参考资料部分获得。SDK本身将更干净、更友好。这个新的SDK支持我们发布的DA14580的新ROM版本。我建议对于任何未来的开发,迁移到新的ROM版本并使用新的SDK(您可以使用相同的主板,我们只需要更换您的子板-我会联系您安排)。致以最诚挚的问候

许妙
Offline
最后一次见到:6年9个月前
已加入:2014-06-19 01:49
亲爱的各位,

亲爱的各位,

I am playing with full hosted proximity reporter on the evaluation board. However, I found something really strange.
In da14580_config.h, there are four lines:
#define CFG_PRF_BASS 1
#define CFG_PRF_DISS 1
#define CFG_PRF_PXPR 1
#define CFG_PRF_FMPL 1

I assume they are switches used to create profile database on evaluation board. But when I was going to disable any of them using #undef, I noticed that Android APPs always found these seven services there:
GENERIC ACCESS SERVICE
GENERIC ATTRIBUTE SERVICE
DEVICE INFORMATION
链路损耗
IMMEDIATE ALERT
TX电源
电池服务

Do you know what's the reason? Thanks!

许妙
Offline
最后一次见到:6年9个月前
已加入:2014-06-19 01:49
让我重塑我的问题:

让我重塑我的问题:in the proximity reporter application, if I modify
#define CFG_PRF_DISS 1
对此:
#未定义CFG\U PRF\U DISS,

将在数据库中创建设备信息吗?如果我使用Android应用程序列出评估板上运行的所有BLE服务,该应用程序会看到该设备信息服务吗?

MHv_Dialog
Offline
最后一次见到:2个月3周前
工作人员
已加入:15 2013-12-06
Hi,

Hi,

This is a known issue with Android devices in general. When Android connects to a device that is already known to it, the service discovery step is skipped. To force a service deiscovery (in order to reflect the changes to the services) you need to disable and re-enable Bluetooth on your Android Device.

MHv_Dialog
Offline
最后一次见到:2个月3周前
工作人员
已加入:15 2013-12-06
Hi,

Hi,

The issue you are having has to do with the fact that the DA14580 shuts off the M0 microcontroller as it enters sleep mode. This causes the J-Link to halt execution of the application. The debugger cannot be used while sleep mode is enabled. There is a configuration file for each project named da14580_config.h in which you can change the sleep mode behavior. Originally it is set like this:

/*Sleep modes*/
#定义CFG\u EXT\u SLEEP
#undef CFG_DEEP_SLEEP
为了禁用睡眠模式并使用调试器,您需要将这两个都更改为“undef”。
软件3
Offline
最后一次见到:6 years 8 months ago
已加入:2014-08-01 12:24
大家好,

大家好,
I would like to known what happend with reporter_fe application in my DA14580 board. I have loaded the application in board ( Debug + Run + Debug to start) but when I search the device with the monitor application in USB-Dongle, it founds anything. This need a different configuration of Jumpers? How can I see if the reporter is correctly running?
非常感谢,希望你的回答。

Best regards,
JV

维生素A
Offline
最后一次见到:1个月1周前
工作人员
已加入:2014-02-07 14:10
Hi Software3,

Hi Software3,
要使应用程序板作为完全托管的报告程序设备运行,您需要加载
dk\u apps\keil\u projects\neximity\reporter\u fh\fh\u proxr\u sdk.uvproj

I noticed you mentioned " reporter_fe application"

这就是问题所在吗?

Best regards,

维生素A_Dialog

许氏14936
Offline
最后一次见到:2年7个月前
已加入:2014-12-12 07:47
嗨,我的对话,

嗨,我的对话,
I tried the Proximity example in the new SDK 3.0.6, but the problem wsa still there.
Do you have any idea what was happened?

Beast regards,

JE\U对话框
Offline
最后一次见到:13小时36分钟前
工作人员
已加入:2013-12-05 14:02
Hello xup, can you state the

你好,xup,你能详细说明一下你遇到的问题吗?这条线上有几个不同的点。

Thanks & BR JE_Dialog

许氏14936
Offline
最后一次见到:2年7个月前
已加入:2014-12-12 07:47
我尝试了新的sdk3.0.6,但是

我尝试了新的sdk3.0.6,但是got the same messages on the windows terminal.
这是山姆e message:

####################################################
# DA14580 Proximity Monitor demo application #
####################################################
No cmdline arguments.
Enter COM port number (values: 1-65535, blank to exit): 30
Connecting to COM30
COM30成功打开,波特率115200
Waiting for DA14580 Device

...

MHv_Dialog
Offline
最后一次见到:2个月3周前
工作人员
已加入:15 2013-12-06
嗨Xup,

嗨Xup,

让我们把这两个问题分开一点,如果你把reporter加载到devkit上,(build/start debug/run/stop debug),你能看到使用智能手机的设备广告吗?对于iOS使用LightBlue应用程序,对于Android(4.3或更高版本)使用BlueLoupe。这两个工具都应该向您显示一个名为DA1458x的设备。

If you can see the device advertising, disconnect the debugger from the devkit and then build/debug/run the monitor_fe_usb on the USB stick. If you diconnect and reconnect the USB stick with the Windows Device Manager open, you can see which serial port to use - just to make sure.

许氏14936
Offline
最后一次见到:2年7个月前
已加入:2014-12-12 07:47
是的,我跟着

是的,我按照你说的“UM-B-010-Proximity application.pdf”文档的程序进行了操作,但仍然无法正常工作。
我发现论坛上有一些关于这个问题的帖子。以下是列表:
http://support.dialog-semiconductor.com/proximity-application-not-workin...
http://support.dialog-semiconductor.com/proximity-reporter-not-working-help

还有什么建议吗?

MHv_Dialog
Offline
最后一次见到:2个月3周前
工作人员
已加入:15 2013-12-06
嗨Xup,

嗨Xup,

I need to know at what step you are stuck. Did you, or did you not, see the proximity reporter_fh advertising using your smart phone?

许氏14936
Offline
最后一次见到:2年7个月前
已加入:2014-12-12 07:47
Hi MHv_Dialog,

Hi MHv_Dialog,
I did every steps you mentioned, and I can see proximity reporter_fh advertising using your smart phone.
我还断开了调试器与devkit的连接,然后在U盘上构建/调试/运行monitor\u fe\u usb。我在Windows设备管理器打开的情况下断开并重新连接了U盘,可以看到串行端口。
我在主机应用程序中输入了端口号,但一无所获。

Here is the example of host application message:
####################################################
# DA14580 Proximity Monitor demo application #
####################################################
No cmdline arguments.
Enter COM port number (values: 1-65535, blank to exit): 30
Connecting to COM30
COM30成功打开,波特率115200
Waiting for DA14580 Device

金承德
Offline
最后一次见到:1 year 4 months ago
已加入:2016-05-27 06:13
SDK 5.0.4\DA1458x\ U SDK\ U 5.0.4

SDK 5.0.4\DA1458x\u SDK\u 5.0.4\DA1458x\u SDK\5.0.4\projects\target\u apps\ble\u examples\prox\u monitor\u ext

I'm test Demo Kit Basic .
It was working in the Kit with Keil ( Start / Stop Debug Session).
J5跳远:25-26,27-28,P0琰4,P0琰5,P0琰6,P0琰7
Keil Flash Options for Target->Debug->“J-Link/T-TRACE Cortex”(软件)
PC:host\u proxm\u sdk.exe<----->“S”keyinput==>“显示所有设备信息”

*------------------------------------------------------------------------------------------------------*
J5 Jump : P0_4,P0_5,P0_6,P0_7
下一步:Smartsnippets>Firmware>with J-TAG Mode->SPI Writing
PC:host\u proxm\u sdk.exe<--->“S”keyinput==>“不显示任何内容”
Why It is ?
有什么问题吗?你能告诉我怎么做吗?

#定义硬件配置(2):上面的GPIO设置----

#定义UART1\U TX\U GPIO\U端口GPIO\U端口0
#定义UART1\U TX\U GPIO\U引脚GPIO\U引脚4

#定义UART1\U RX\U GPIO\U端口GPIO\U端口0
#define UART1_RX_GPIO_PIN GPIO_PIN_5

#define UART1_RTSN_GPIO_PORT GPIO_PORT_0
#define UART1_RTSN_GPIO_PIN GPIO_PIN_6

#定义UART1\U CTSN\U GPIO\U端口GPIO\U端口0
#define UART1_CTSN_GPIO_PIN GPIO_PIN_7

MT\u对话框
Offline
最后一次见到:3个月3天前
工作人员
已加入:2015-06-08 11:34
你好,金承德,

你好,金承德,

I am not sure i get the problem, the basic kit was working when you downloaded the fw via keil, and then you ve tried with Smart Snippets to do what ?

You ve written the SPI on the basic kit with the monitor fw and the device doens't respond to the terminal commands ?

首先,如果我没弄错的话,您将无法在基本套件上使用UART配置来编写SPI,为了通过智能代码段来编写SPI,您必须将MISO/MOSI/CS/SPI\U SUP连接到J4头旁边的小示意图所示的对应管脚。所以在你应用了跳线配置之后,你就可以烧掉你的SPI了。在完成该过程并且您的固件驻留在flash中之后,您必须在跳线上应用UART和SPI配置,以便能够通过SPI引导并具有UART通信,并且不要忘记在智能代码段提示您时将固件烧录为可引导。

谢谢你的对话