Proximity Application sample not working

17 posts / 0 new
Last post
aritec
离线
Last seen:9个月4天前
加入: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.

现在我在USB棒上启动完整的嵌入式监视器。还断开并启动主机监视器应用程序,但似乎无法与USB棒通信。

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

Any ideas what I am missing?

使用:
DA14580 SDK v2.0.4.1
UVision4.
Windows 7 Professional.

JE_Dialog
离线
Last seen:15 hours 18 min ago
Staff
加入:2013-12-05 14:02
你好aritec,在下一个

你好aritec,在下一个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年6个月前
加入:2014-06-19 01:49
Dear all,

Dear all,

我在评估板上使用完整的托管近距离记者。但是,我发现了一些真的很奇怪。
在da14580_config.h中,有四行:
#define cfg_prf_bass 1
#define cfg_prf_diss 1.
#define cfg_prf_pxpr 1
#define cfg_prf_fmpl 1

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

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

xumiao
离线
Last seen:6年6个月前
加入:2014-06-19 01:49
Let me reshape my question:

让我重塑我的问题:如果我修改,请在邻近报告管理员申请中
#define cfg_prf_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_dialog.
离线
Last seen:3 days 16 hours ago
Staff
加入:2013-12-06 15:10
你好,

你好,

这是一般的Android设备的已知问题。当Android连接到已知的设备时,跳过服务发现步骤。强制服务Deiscovery(为了反映服务的变化),您需要在Android设备上禁用并重新启用蓝牙。

mhv_dialog.
离线
Last seen:3 days 16 hours ago
Staff
加入:2013-12-06 15:10
你好,

你好,

您必须根据DA14580关闭M0微控制器而进入睡眠模式时的问题。这导致J-Link停止执行应用程序。启用睡眠模式时,无法使用调试器。有一个名为da14580_config的项目的配置文件,您可以在其中更改睡眠模式行为。最初是这样的:

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

Hello all,
我想知道在我的DA14580板中的报告_FE应用程序发生了什么。我已经加载了董事会的应用程序(调试+运行+ debug开始),但是当我在USB加密狗中搜索监视器应用程序时,它会发现任何内容。这需要不同的跳线配置?如何看待报告者是否正确运行?
Thanks you very much, I hope your answers.

此致,
jv.

RvA
离线
Last seen:3 days 18 hours ago
Staff
加入:2014-02-07 14:10
嗨Software3,

嗨Software3,
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

我注意到你提到了“Reporter_fe应用程序”

Could this be the issue?

此致,

RVA_DIALOG.

xup14936
离线
Last seen:2年4个月前
加入:2014-12-12 07:47
Hi JE_Dialog,

Hi JE_Dialog,
我尝试了新的SDK 3.0.6中的近似值示例,但问题仍然存在问题。
你有什么想法发生了什么吗?

此致敬礼!(信件结束语,

JE_Dialog
离线
Last seen:15 hours 18 min ago
Staff
加入:2013-12-05 14:02
你好xup,你能说明吗?

你好xup,你能说明吗?problem you are having with details ? There are several different points on this thread.

谢谢&br je_dialog

xup14936
离线
Last seen:2年4个月前
加入:2014-12-12 07:47
I tried new SDK 3.0.6, but

我尝试了新的SDK 3.0.6,但在Windows终端上获得了相同的消息。
Here was the same message:

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

...

mhv_dialog.
离线
Last seen:3 days 16 hours 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的连接,然后在USB棒上构建/调试/运行Monitor_Fe_USB。如果使用Windows设备管理器打开Windows设备管理器将USB棒重新连接,您可以看到要使用的串行端口 - 只是为了确保。

xup14936
离线
Last seen:2年4个月前
加入: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-semicondiondiond.com/proximity-application-not-workin ...
http://support.dialog-seminile.com/proximity-reporter-not-working-help.

Any further suggestion?

mhv_dialog.
离线
Last seen:3 days 16 hours ago
Staff
加入:2013-12-06 15:10
Hi Xup,

Hi Xup,

我需要知道你被困的一步。您是否没有,您没有看到使用智能手机的Proximity Reporter_FH广告?

xup14936
离线
Last seen:2年4个月前
加入:2014-12-12 07:47
嗨mhv_dialog,

嗨mhv_dialog,
我完成了您提到的每一个步骤,我可以使用智能手机看到Proximity Reporter_FH广告。
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接近监视器演示应用程序#
##########################################
没有cmdline参数。
输入COM端口号(值:1-65535,退出空白):30
连接到Com30.
COM30 succesfully opened, baud rate 115200
等待DA14580设备

SeunDae Kim
离线
Last seen:1年1个月前
加入: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
#define uart1_rx_gpio_pin gpio_pin_5.

#define uart1_rtsn_gpio_port gpio_port_0.
#define uart1_rtsn_gpio_pin gpio_pin_6.

#define UART1_CTSN_GPIO_PORT GPIO_PORT_0
#define uart1_ctsn_gpio_pin gpio_pin_7.

MT_dialog
离线
Last seen:2天前1周
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