HJ-580 DSP服务从Arduino Uart Bridge下载(仅限Rx / Tx)

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
19 posts / 0 new
Last post
JF JACQUOT
Offline
Last seen:6 months 1 week ago
加入:2020-01-17 13:34
HJ-580 DSP服务从Arduino Uart Bridge下载(仅限Rx / Tx)

你好支持团队,

I am working with a HJ-580 board that includes a DA14580-based module and I try to to implement the Serial Port Service (DSPS) Application with smart snippets. There is a problem when downloading.

与keil uvision的编译是可以的,没问题。

我尝试使用Arduino 3.3V UART下载HJ-580模块内的.hex文件。我仅在P0_4,P0_5上使用RX和TX,使用57600,N,8,1,来自Arduino UART Bridge(Comxx),以及电源引脚3.3V,GND。

1-Can you confirm, that there is no need of the uart-cts and uart-rts signal to download a file?

2- when the booter ask for a hard reset, is it a reset for the DA14580 from the HJ-580 module ?
我试图将HJ-580的第一个引脚放到1的情况下没有效果。
If I reset the arduino, the booter tell me "reset detected" but afterthis there is a CRC problem and the download fail.

3- HJ-580模块上有一个名为“UART RX启用的引脚。将此引脚接地以便启用Booter下载?

Many Thanks,

设备:
PM_Dialog
Offline
Last seen:16 hours 49 min ago
工作人员
加入:2018-02-08 11:03
Hi Jean-Francois,

Hi Jean-Francois,

感谢您在蓝牙论坛上发布您的问题。您能否向HJ-580提供更多地提供更多输入如何下载固件?您是否拥有HJ-580模块的定制板?另外您使用哪个版本的模块?它是hj-580cy吗?

  1. 您不需要使用RTS / CTS信号来编程UART的模块。如果您在DSP固件中使用扩展睡眠模式以唤醒芯片,则RTS / CTS应与Arduino相关联。您是否尝试在115200使用波特率?
  2. 下载固件后,您需要重置DA14580。

Can you please let me know if the JTAG option is available in your setup? If yes, you can try to download the binary image through SWD. If you were able to provide any other inputs/screenshots, this would be very helpful.

谢谢, PM_Dialog

JF JACQUOT
Offline
Last seen:6 months 1 week ago
加入:2020-01-17 13:34

你好支持团队,

I'll try with 115Kbauds, I previously use only 57KBauds .

我只想为以前的情况带来精确。

使用我的手机BLE扫描仪检测HJ-580xp模块,他的名字是HJ-580xp_ee。

将手机连接到此BLE名称没有问题,状态更改为连接。

There is a custom service installed.

我不知道这些精度是否提供有关已经编程的OTP的信息。

I've tried to send the "AT" command with the arduino serial console, the HJ-580 module never respond "OK". I've done this with the RX enable pin connected to ground without success.

如何知道我的HJ-580xp模块是否已经没有DSP服务已经编程了?

谢谢for your help

JF

谢谢

JF JACQUOT
Offline
Last seen:6 months 1 week ago
加入:2020-01-17 13:34
嗨支持团队,

嗨支持团队,

I give you more informations on my configuration. My final goal is only to use AT command via UART.

我使用Arduino兼容板作为USB / UART适配器,我希望将其与HJ-580 XP模块一起使用。

我想使用uart只有模式。

当我收到这个DA14580模块时,我不知道它是否已被编程为DSP或无绳的服务。

My board and HJ-580 module connexions are very similar to the example describe in Dialog application note for programming cordless or dsps service with basic-kit exept the usb/serial which is done by an arduino and I only connect the jumper between P0_4 and TXD and the jumper between P0_5 and RXD.

是否正确地配置了使用Snippet Booter下载?

当我尝试下载该文件时,靴子日志响应:

[INFO Booter @20-01-22 19:14:38] Read 18420 bytes from file C:\Users\jj104874\Downloads\DA1458x_DSPS_v_5.150.2\DA1458x_DSPS\v_5.150.2\projects\target_apps\dsps\sps_device\Keil_5\out_580\sps_device_580.hex.
[Info Booter @ 20-01-22 19:14:38]与COM10端口的连接已成功打开。
[INFO Booter @20-01-22 19:14:38] Started download procedure...
[ACTION Booter @20-01-22 19:14:39] Please press the hardware reset button on the board to start the download process.
[错误Booter @ 20-01-22 19:14:54]超时:重置信号未检测到超过16000毫秒。
[INFO Booter @20-01-22 19:14:54] Successfully disconnected from port COM10.
[INFO Booter @20-01-22 19:14:54] Successfully disconnected from port COM10.
[错误Booter @ 20-01-22 19:14:54]将固件文件下载到电路板上。

no detection when I press the "reset button" of the module.

When I use "BLE scanner app" with my phone, I always detect the HJ-580XP_EE, I can connect to it and under custom service,there ares 3 custom characteristics. Does this mean that the OTP of the HJ-580XP is already programmed?

If it is true, does it block a snippets download because the DA114580 is not on development mode?

谢谢你的帮助(模块卖家没有回答我的要求)

liujiahang
Offline
Last seen:6 months 1 week ago
加入:2014-04-17 17:00
In addition, you should not

In addition, you should not buy modules from our official channels. We always respond to customer questions. If you encounter problems in the future, you should find the original factory to communicate directly, not through some dealers! Thank you!

PM_Dialog
Offline
Last seen:16 hours 49 min ago
工作人员
加入:2018-02-08 11:03
Hi JF JACQUOT,

Hi JF JACQUOT,

不确定OTP是否已编程。我会在内部询问,我会告诉你你的更新。

谢谢, PM_Dialog

PM_Dialog
Offline
Last seen:16 hours 49 min ago
工作人员
加入:2018-02-08 11:03
Hi JF JACQUOT,

Hi JF JACQUOT,

如果您使用EEPROM,请您注明您是否使用EEPROM来下载固件并从那里启动?如果没有,你试图从systemram启动吗?此外,由于您可以看到具有“HJ-580xp_ee”设备名称的设备广告,这意味着正确启动。你以前烧过任何固件吗?或者是工厂固件?

谢谢, PM_Dialog

JF JACQUOT
Offline
Last seen:6 months 1 week ago
加入:2020-01-17 13:34
非常感谢您的回复,

非常感谢您的回复,

我尝试从systemram启动。

我之前没有烧掉任何固件。这是一个工厂固件,我不知道已安装了哪些固件。

我只需要DSP或无附属固件,但串行终端没有任何AT命令响应任何响应。

该怎么办?

谢谢之前

JF JACQUOT

PM_Dialog
Offline
Last seen:16 hours 49 min ago
工作人员
加入:2018-02-08 11:03
Hi JF JACQUOT,

Hi JF JACQUOT,

May thanks for your inputs. I have already escalated it internally, so I will revert back to you as soon as I have any new from the Team.

谢谢, PM_Dialog

liujiahang
Offline
Last seen:6 months 1 week ago
加入:2014-04-17 17:00
Hi Jean-Francois:

Hi Jean-Francois:

我是HJ-580xp原装工厂,抱歉给你一些麻烦!

Please give your Email,My FAE will contact you.According to your description, the HJ-580XP in your hand has been Burned the OTP. If you want to develop and download the DSPS, you need to contact us to provide you with the HJ-580XP module without the OTP firmware.

liujiahang
Offline
Last seen:6 months 1 week ago
加入:2014-04-17 17:00
亲爱的PM_DIALOG:

亲爱的PM_DIALOG:

感谢您的支持,接下来,我们原始工厂将提供良好的客户支持。

JF JACQUOT
Offline
Last seen:6 months 1 week ago
加入:2020-01-17 13:34
亲爱的刘家汉,

亲爱的刘家汉,

感谢您的回复,

My mail:jjacquot@cea.fr

问候

JF JACQUOT

PM_Dialog
Offline
Last seen:16 hours 49 min ago
工作人员
加入:2018-02-08 11:03
亲爱的刘家汉,谢谢

亲爱的刘家汉,感谢跳入这个论坛帖子,直接伸出杰恩 - 弗朗索瓦。

亲爱的Jean-Francois,共享模块的确切部件数量也有助于。

If you have any updates, please share them in this forum post!

Best regards, PM_Dialog

liujiahang
Offline
Last seen:6 months 1 week ago
加入:2014-04-17 17:00
亲爱的PM_DIALOG:

亲爱的PM_DIALOG:

Jean-Francois buy the module had burned our firmware,so he dont burn too,he need buy no-firmware version module,and HJ-580XP module inside 512Kb eeprom,he can program the fireware into eeprom and run.

PM_Dialog
Offline
Last seen:16 hours 49 min ago
工作人员
加入:2018-02-08 11:03
亲爱的刘家汉,

亲爱的刘家汉,

谢谢for the update.

Best regards, PM_Dialog

liujiahang
Offline
Last seen:6 months 1 week ago
加入:2014-04-17 17:00
亲爱的PM_DIALOG:

亲爱的PM_DIALOG:

我将upload the HJ-580XP_EE datasheet and firmware manual document,thanks.

liujiahang
Offline
Last seen:6 months 1 week ago
加入:2014-04-17 17:00
HJ-580xp数据表英语v2

HJ-580xp数据表英语v2.2

PM_Dialog
Offline
Last seen:16 hours 49 min ago
工作人员
加入:2018-02-08 11:03
This is very helpful for the

这对其他论坛客户非常有帮助。谢谢你的附件!

liujiahang
Offline
Last seen:6 months 1 week ago
加入:2014-04-17 17:00
谢谢,最好的问候,继续

谢谢,最好的问候,继续touch。