在这些文件之后,我开始在评估委员会上担任全职记者。如果我不断开连接,看门狗就会调用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 v2。0.4.1
uVision4
Windows 7 Professional
你好,Aritec,在接下来的几天里,我们将发布一个新的SDK,其中包括一个改进的邻近应用程序。这将从支持站点的参考资料部分获得。SDK本身将更干净、更友好。这个新的SDK支持我们发布的DA14580的新ROM版本。我建议,对于任何未来的开发,迁移到新的ROM版本并使用新的SDK。(你可以使用同一块主板,我们只需要更换你的子板——我会联系你安排)。致以最良好的祝愿,JE_Dialog
亲爱的大家:,
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
发射功率
电池服务
Do you know what's the reason? Thanks!
让我重塑我的问题:in the proximity reporter application, if I modify
#define CFG_PRF_DISS 1
为此:
#undef CFG_PRF_DISS,
设备信息会在数据库中创建吗?如果我使用Android应用程序列出评估板上运行的所有BLE服务,该应用程序会看到该设备信息服务吗?
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.
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:
大家好,
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
Hi Software3,
要使应用程序板作为完全托管的reporter设备运行,您需要加载
dk_apps\keil_projects\approxity\reporter_fh\fh_proxr_sdk。uvproj
I noticed you mentioned " reporter_fe application"
这可能是问题所在吗?
Best regards,
RvA_Dialog
嗨,杰鲁对话,
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,
你好,xup,你能详细说明你遇到的问题吗?这条线上有几个不同的点。
Thanks & BR JE_Dialog
我尝试了新的SDK 3.0.6,但是got the same messages on the windows terminal.
这是同样的信息:
####################################################
# 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
...
嗨,徐,
让我们把这两个问题分开一点。如果将reporter_fh加载到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.
是的,正如你所说,我遵循了文件“UM-B-010-approxity application.pdf”的程序,但仍然无法让它工作。
我发现论坛上有一些关于这个问题的帖子。以下是清单:
http://support.dialog-semiconductor.com/proximity-application-not-workin...
http://support.dialog-semiconductor.com/proximity-reporter-not-working-help
还有什么建议吗?
嗨,徐,
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?
Hi MHv_Dialog,
I did every steps you mentioned, and I can see proximity reporter_fh advertising using your smart phone.
我还断开了调试器与devkit的连接,然后在U盘上构建/调试/运行monitor_fe_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
SDK 5.0.4\DA1458x_SDK_5.0.4\DA1458x_SDK\5.0.4\projects\target_apps\ble_examples\prox_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选项用于Target->Debug->“J-Link/T-TRACE Cortex”(软件)
PC:host_proxm_sdk。exe<----->“S”键输入==>“显示所有设备信息”
*------------------------------------------------------------------------------------------------------*
J5 Jump : P0_4,P0_5,P0_6,P0_7
下一步:Smartsnippets>固件>带J-TAG模式->SPI写入
PC:host_proxm_sdk。exe<----->“S”键输入==>“不显示任何内容”
Why It is ?
怎么了?你能告诉我怎么做吗?
#定义硬件配置(2):上面的GPIO设置----
#定义UART1_TX_GPIO_端口GPIO_端口0
#定义UART1_TX_GPIO_引脚GPIO_引脚4
#定义UART1_RX_GPIO_端口GPIO_端口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
嗨SeunDae Kim,
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_SUP连接到J4头旁边的小示意图所示的对应管脚。因此,在应用跳线配置后,您将能够烧掉SPI。在完成该过程且fw驻留在闪存中后,您必须在跳线上应用UART和SPI配置,以便能够通过SPI引导,也能够进行UART通信,并且当智能代码段提示您时,不要忘记将fw作为可引导烧录。
谢谢你的对话