Proximity Application sample not working

17 posts / 0 new
Last post
阿里泰克
离线
Last seen:11 months 4 weeks ago
加入:2014-01-29 06:09
Proximity Application sample not working

Following the documents I start the full hosted reporter on the evaluation board. If I don't disconnect the watchdog will call the NMI interrupt and everythings stops. So I start the reporter and disconnect with ctrl+F5, hopefully the program will run.

现在我启动U盘上的全嵌入式显示器。同时断开并启动主机监视器应用程序,但它似乎无法与U盘通信。

####################################################
#DA14580接近监视器演示应用程序#
####################################################
没有命令行参数。
输入COM端口号(值:1-65535,为空退出):30
连接COM30
COM30 succesfully opened, baud rate 115200
等待DA14580设备

Any ideas what I am missing?

使用:
DA14580 SDK v2.0.4.1
紫外线4
Windows 7专业版

JE_Dialog
离线
Last seen:3 hours 53 min ago
Staff
加入:2013-12-05 14:02
你好,阿里泰克,下个月

你好,阿里泰克,下个月couple of days we are releasing a new SDK which has an improved proximity applciation included. This will be available from the resources section of the support site. The SDK will itself be a lot cleaner and more user friendly. This new SDK supports a new ROM revision of the DA14580 which we have released. I would suggest that for any future develoment, migrate to the new ROM revision and use the new SDK. (You can use the same motherboard, we just need to swap out your daughter board - I will contact you to arrange that). Best Regards, JE_Dialog

xumiao
离线
Last seen:6 years 9 months ago
加入:2014-06-19 01:49
Dear all,

Dear all,

我在评估板上玩全方位近距离记者。然而,我发现了一些非常奇怪的事情。
在da14580\u config.h中,有四行:
#定义CFG\u PRF\u BASS 1
#定义CFG\u PRF\u DISS 1
#定义CFG\u PRF\u PXPR 1
#定义CFG\u PRF\u FMPL 1

我假设它们是用于在评估板上创建配置文件数据库的开关。但当我打算使用#undef禁用其中任何一项时,我注意到Android应用程序总是在那里找到以下七项服务:
通用访问服务
通用属性服务
设备信息
LINK LOSS
即时警报
TX POWER
BATTERY SERVICE

你知道原因是什么吗?谢谢!

xumiao
离线
Last seen:6 years 9 months ago
加入:2014-06-19 01:49
Let me reshape my question:

让我重塑我的问题:在邻近报告程序中,如果我修改
#定义CFG\u PRF\u DISS 1
to this:
#undef CFG_PRF_DISS,

will DEVICE INFORMATION be created in database? If I am using an Android APP to list all BLE services running on evaluation board, will the APP see that Device Information Service?

MHv\U对话框
离线
Last seen:2 months 3 weeks ago
Staff
加入:2013-12-06 15:10
你好,

你好,

这是Android设备普遍存在的一个已知问题。当Android连接到已知的设备时,服务发现步骤被跳过。要强制服务deiscovery(为了反映对服务的更改),您需要在Android设备上禁用并重新启用蓝牙。

MHv\U对话框
离线
Last seen:2 months 3 weeks ago
Staff
加入:2013-12-06 15:10
你好,

你好,

问题是,你必须与DA14580关闭M0微控制器,因为它进入睡眠模式的事实。这会导致J-Link停止应用程序的执行。启用睡眠模式时无法使用调试器。每个项目都有一个名为da14580\u config.h的配置文件,您可以在其中更改睡眠模式行为。最初是这样设置的:

/*睡眠模式*/
#define CFG_EXT_SLEEP
#深度睡眠
You need to change both these to 'undef' in order to disable sleep mode and use the debugger.
Software3
离线
Last seen:6年8个月前
加入:2014-08-01十二
Hello all,

Hello all,
我想知道我的DA14580板上的reporter\u fe应用程序发生了什么。我已经在主板上加载了应用程序(Debug+Run+Debug-to-start),但是当我用USB加密狗中的监视器应用程序搜索设备时,它发现了任何东西。这需要不同的跳线配置吗?我怎样才能知道记者的跑动是否正确?
Thanks you very much, I hope your answers.

顺致敬意,
合资企业

RvA
离线
Last seen:1 month 1 week ago
Staff
加入:2014-02-07 14:10
你好,软件3,

你好,软件3,
For the application board to run as a fully hosted reporter device you need to load
dk_apps\keil_projects\proximity\reporter_fh\fh_proxr_sdk.uvproj

我注意到你提到“记者申请”

Could this be the issue?

顺致敬意,

RvA\U对话框

xup14936
离线
Last seen:2 years 7 months ago
加入:2014-12-12 07:47
Hi JE_Dialog,

Hi JE_Dialog,
我在新的sdk3.0.6中尝试了邻近性示例,但问题wsa仍然存在。
你知道发生了什么事吗?

野兽问候,

JE_Dialog
离线
Last seen:3 hours 53 min ago
Staff
加入:2013-12-05 14:02
你好,徐普,你能告诉我

你好,徐普,你能告诉我problem you are having with details ? There are several different points on this thread.

谢谢你的对话

xup14936
离线
Last seen:2 years 7 months ago
加入:2014-12-12 07:47
I tried new SDK 3.0.6, but

我尝试了新的sdk3.0.6,但是在windows终端上得到了相同的消息。
这是同样的信息:

####################################################
#DA14580接近监视器演示应用程序#
####################################################
没有命令行参数。
输入COM端口号(值:1-65535,为空退出):30
连接COM30
COM30 succesfully opened, baud rate 115200
等待DA14580设备

...

MHv\U对话框
离线
Last seen:2 months 3 weeks ago
Staff
加入:2013-12-06 15:10
Hi Xup,

Hi Xup,

Let's isolate the two issues for a bit.If you load the reporter_fh onto the devkit, (build/start debug/run/stop debug), can you see the device advertising using a smart phone? For iOS use the LightBlue app, for Android (4.3 or above) use BlueLoupe. Both tools should show you a device named DA1458x.

如果可以看到设备广告,请断开调试器与devkit的连接,然后在U盘上构建/调试/运行monitor\u fe\u usb。如果您在Windows设备管理器打开的情况下断开并重新连接U盘,您可以看到要使用哪个串行端口-只是为了确保。

xup14936
离线
Last seen:2 years 7 months ago
加入:2014-12-12 07:47
是的,我跟着the

是的,我跟着the procedures of the document "UM-B-010 - Proximity application.pdf" just like you said, but still cannot get it work.
I found there are some posts about this issue in the forum. Here are the lists:
http://support.dialog-semiconductor.com/proximity-application-not-workin...
http://support.dialog-semiconductor.com/proximity-reporter-not-working-help

Any further suggestion?

MHv\U对话框
离线
Last seen:2 months 3 weeks ago
Staff
加入:2013-12-06 15:10
Hi Xup,

Hi Xup,

我要知道你被困在哪一步。你有没有看到用你的智能手机做广告的近距离记者?

xup14936
离线
Last seen:2 years 7 months ago
加入:2014-12-12 07:47
嗨,MHv\U对话,

嗨,MHv\U对话,
我做了你提到的每一步,我可以看到你的智能手机广告。
I also disconnected the debugger from the devkit and then build/debug/run the monitor_fe_usb on the USB stick. I diconnected and reconnected the USB stick with the Windows Device Manager open, and I can see serial port.
I entered the port number in the host application, but got nothing.

以下是主机应用程序消息的示例:
####################################################
#DA14580接近监视器演示应用程序#
####################################################
没有命令行参数。
输入COM端口号(值:1-65535,为空退出):30
连接COM30
COM30 succesfully opened, baud rate 115200
等待DA14580设备

SeunDae Kim
离线
Last seen:1年4个月前
加入:2016-05-27 06:13
SDK 5.0.4\DA1458x_SDK_5.0.4

SDK 5.0.4\DA1458x_SDK_5.0.4\DA1458x_SDK\5.0.4\projects\target_apps\ble_examples\prox_monitor_ext

我的测试演示套件基本。
它与Keil(启动/停止调试会话)一起工作。
J5 Jump : 25-26 , 27-28 , P0_4,P0_5,P0_6,P0_7
Keil-Flash-Options for Target->Debug->"J-Link/T-TRACE Cortex" (SW)
PC: host_proxm_sdk.exe <----->"S" keyinput ===> " Display All Device Information"

*------------------------------------------------------------------------------------------------------*
J5跳远:P0 4、P0 5、P0 6、P0 7
Next : Smartsnippets > Firmware > with J-TAG Mode -> SPI Writing
PC: host_proxm_sdk.exe <----->"S" keyinput ===> " Don't Display Anything"
为什么?
What the problem? Can you tell me How to do?

#define HW_CONFIG (2) : GPIO Setting Above----

#define UART1_TX_GPIO_PORT GPIO_PORT_0
#define UART1_TX_GPIO_PIN GPIO_PIN_4

#define UART1_RX_GPIO_PORT GPIO_PORT_0
#定义UART1\U RX\U GPIO\U引脚GPIO\U引脚5

#定义UART1\u RTSN\u GPIO\u端口GPIO\u端口\u 0
#定义UART1\u RTSN\u GPIO\u PIN GPIO\u PIN 6

#define UART1_CTSN_GPIO_PORT GPIO_PORT_0
#定义UART1\U CTSN\U GPIO\U引脚GPIO\U引脚7

MT_dialog
离线
Last seen:3 months 3 days ago
Staff
加入:2015-06-08 11:34
Hi SeunDae Kim,

Hi SeunDae Kim,

我不确定我得到的问题,基本的工具包是工作时,你下载的fw通过基尔,然后你已经尝试与智能代码段做什么?

你已经在带有监视器fw的基本套件上编写了SPI,而设备没有响应终端命令?

To start with, if i get this right, you won't be able to write the SPI with a UART configuration on the basic kit, in order to write the SPI via smart snippets you will have to connect the MISO/MOSI/CS/SPI_SUP to the corresponding pins indicated by the small schematic right beside the J4 header. So after you apply that jumper configuration you will be able to burn your SPI. After completing the procedure and your fw resides in flash, you will have to apply UART and SPI configuration on the jumpers, in order to be able to boot via SPI and also have UART communication, also dont forget to burn the fw as bootable when Smart Snippets prompts you.

Thanks MT_dialog