HJ-580 DSPS service Download from arduino uart bridge (RX/ TX only)

⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程https://www.dialog-seminile.com/support.。我们将在未来几天修复错误/优化搜索和标记。
19个帖子/ 0新
最后一篇
jf jacquot.
离线
最后一次露面:6个月1周前
加入:2020-01-17 13:34
HJ-580 DSPS service Download from arduino uart bridge (RX/ TX only)

Hello Support Team,

我正在使用一个包括基于DA14580的模块的HJ-580板,我尝试使用智能片段实现串行端口服务(DSP)应用程序。下载时存在问题。

Compilation with keil uvision is ok, there is no problem.

I try to download the .Hex file inside the HJ-580 module using arduino 3.3V uart. I only use RX and TX on P0_4,P0_5 with 57600,N,8,1 from the arduino uart bridge (comxx), plus power supply pin 3.3V,GND.

1 - 你可以确认,不需要UART-CTS和UART-RTS信号来下载文件吗?

2-当Booter要求硬重置时,是否从HJ-580模块中为DA14580重置?
I try to put the RST pin of the HJ-580 to 1 without effect.
如果我重置Arduino,靴子告诉我“重置检测到”,但此后,此后有一个CRC问题,下载失败。

3- There is a pin named "UART RX Enable on the HJ-580 module. Have this pin be grounded to enable the download with the booter?

非常感谢,

Device:
PM_DIALOG.
离线
最后一次露面:13 hours 36 min ago
职员
加入:2018-02-08 11:03
嗨jean-francois,

嗨jean-francois,

谢谢你上传你的问题在我们的蓝牙forums. Can you please provide more inputs for how you are trying to download firmware to the HJ-580? Do you have a custom board with the HJ-580 module? In addition which version of the module are you using? Is it the HJ-580CY?

  1. You will not need to use the RTS/CTS signals for pro programming the module though UART. RTS/CTS should relate to the Arduino if you are using the extended sleep mode in the DSPS firmware in order to wake-up the chip. Did you try to use baud rate at 115200?
  2. You will need to reset the DA14580 after having downloaded the firmware.

如果您的设置中提供了JTAG选项,请您告诉我吗?如果是,则可以尝试通过SWD下载二进制图像。如果您能够提供任何其他输入/屏幕截图,这将是非常有帮助的。

谢谢,PM_DIALOG.

jf jacquot.
离线
最后一次露面:6个月1周前
加入:2020-01-17 13:34

Hello Support Team,

我之前会尝试115kbauds,以前只使用57kbauds。

I just want to bring precisions for the previous situation.

The HJ-580xp module is detected with my phone BLE scanner, his name is HJ-580XP_EE.

There is no problem to connect the phone to this BLE name, the status change to connected.

安装了一个自定义服务。

I don't know if these precisions give information on an already programmed OTP.

我试图使用Arduino串行控制台发送“AT”命令,HJ-580模块永远不会响应“确定”。我已经用RX使能引脚连接到地面而没有成功。

How to know if my HJ-580xp module has been already programmed without DSPS service?

谢谢你的帮助

JF.

Thanks

jf jacquot.
离线
最后一次露面:6个月1周前
加入:2020-01-17 13:34
Hi Support Team,

Hi Support Team,

我为您提供了关于我的配置的更多信息。我的最终目标只是通过UART的命令使用。

I use an arduino compatible board as usb/uart adaptator and I want to use it with a HJ-580 xp module.

我想使用UART唯一的模式。

When I've received this DA14580 module I don't know if it is already programmed with service like DSPS or Cordless .

我的电路板和HJ-580模块连接非常类似于对话框应用笔记中描述的例子,用于编程无线电或DSPS服务,带有基本套件,expept arduino完成的USB /序列,我只能在P0_4和TXD之间连接跳线和P0_5和RXD之间的跳线。

Is this minimal configuration correct for downloading with snippet booter?

BOOTER LOG response when I try to download the file :

[info booter @ 20-01-22 19:14:38]从文件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] Connection to COM10 port has successfully opened.
[info booter @ 20-01-22 19:14:38]开始下载程序...
[动作Booter @ 20-01-22 19:14:39]请按电路板上的硬件重置按钮开始下载过程。
[ERROR Booter @20-01-22 19:14:54] Timeout: Reset signal not detected for more than 16000 msecs.
[info booter @ 20-01-22 19:14:54]成功与COM10端口断开连接。
[info booter @ 20-01-22 19:14:54]成功与COM10端口断开连接。
[ERROR Booter @20-01-22 19:14:54] Failed downloading firmware file to the board.

当我按下模块的“重置按钮”时无检测。

当我用手机使用“BLE扫描仪应用”时,我总是检测到HJ-580xp_ee,我可以连接到它并在自定义服务下,有3个自定义特征。这是否意味着HJ-580xp的OTP已经编程了?

如果是真的,它是否会阻止片段下载,因为DA114580不是开发模式?

谢谢你的帮助(the module seller doesn't answer to my request)

刘家汉
离线
最后一次露面:6个月1周前
加入:2014-04-17 17:00
另外,你不应该

此外,您不应该从我们的官方渠道购买模块。我们始终回复客户问题。如果您在将来遇到问题,您应该找到原始工厂直接沟通,而不是通过一些经销商沟通!谢谢!

PM_DIALOG.
离线
最后一次露面:13 hours 36 min ago
职员
加入:2018-02-08 11:03
嗨jf jacquot,

嗨jf jacquot,

Not sure if the OTP is already programmed. I will ask internally, and I will keep you updated.

谢谢,PM_DIALOG.

PM_DIALOG.
离线
最后一次露面:13 hours 36 min ago
职员
加入:2018-02-08 11:03
嗨jf jacquot,

嗨jf jacquot,

Can you please indicate if you are using an EEPROM in order to download firmware and boot from there? If not, are you trying to boot from the SystemRAM? In addition, since you can see the device advertising with “HJ-580XP_EE” device name this means that is correctly booting. Have you burnt any firmware before? Or is this the factory firmware?

谢谢,PM_DIALOG.

jf jacquot.
离线
最后一次露面:6个月1周前
加入:2020-01-17 13:34
Many Thanks for your reply,

Many Thanks for your reply,

I try to boot from the systemRAM.

I haven't burnt any firmware before.This is a factory firmware and I don't know what firmware has been installed.

I just need DSPS or Codeless firmware but the serial terminal doen't respond to any AT commands.

what to do?

Thanks by advance

jf jacquot.

PM_DIALOG.
离线
最后一次露面:13 hours 36 min ago
职员
加入:2018-02-08 11:03
嗨jf jacquot,

嗨jf jacquot,

可能感谢您的意见。我已经在内部升级了它,所以我会尽快恢复给你,因为我从团队中有任何新的。

谢谢,PM_DIALOG.

刘家汉
离线
最后一次露面:6个月1周前
加入:2014-04-17 17:00
嗨Jean-Francois:

嗨Jean-Francois:

I am the HJ-580XP Original factory,Sorry give you some troubles!

请给您的电子邮件,我的Fae将与您联系。根据您的描述,手中的HJ-580xp已被烧毁OTP。如果您想开发和下载DSP,您需要与我们联系,为您提供没有OTP固件的HJ-580xp模块。

刘家汉
离线
最后一次露面:6个月1周前
加入:2014-04-17 17:00
Dear PM_Dialog:

Dear PM_Dialog:

Thanks for you support,next, our original factory will provide good customer support。

jf jacquot.
离线
最后一次露面:6个月1周前
加入:2020-01-17 13:34
Dear liujiahang,

Dear liujiahang,

Thanks for your reply,

我的邮件:jjacquot@cea.fr.

regards

jf jacquot.

PM_DIALOG.
离线
最后一次露面:13 hours 36 min ago
职员
加入:2018-02-08 11:03
Dear liujiahang, thanks for

Dear liujiahang, thanks for jumping into this forum post and for reaching out Jean-Francois directly.

Dear Jean-Francois, it would be also helpful to share the exact part number of the module.

如果您有任何更新,请在此论坛帖子中分享它们!

最好的问候,pm_dialog

刘家汉
离线
最后一次露面:6个月1周前
加入:2014-04-17 17:00
Dear PM_Dialog:

Dear PM_Dialog:

Jean-Francois购买模块已经烧掉了我们的固件,所以他也不会燃烧,他需要购买无固件版本模块,而HJ-580xp模块512KB EEPROM,他可以将防火墙编程到EEPROM中并运行。

PM_DIALOG.
离线
最后一次露面:13 hours 36 min ago
职员
加入:2018-02-08 11:03
Dear liujiahang,

Dear liujiahang,

感谢更新。

最好的问候,pm_dialog

刘家汉
离线
最后一次露面:6个月1周前
加入:2014-04-17 17:00
Dear PM_Dialog:

Dear PM_Dialog:

我将上传HJ-580xp_ee数据表和固件手册文件,谢谢。

刘家汉
离线
最后一次露面:6个月1周前
加入:2014-04-17 17:00
HJ-580XP DataSheet English V2

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

PM_DIALOG.
离线
最后一次露面:13 hours 36 min ago
职员
加入:2018-02-08 11:03
这对此非常有帮助

这对此非常有帮助other forum customers. Thanks for the attachments!

刘家汉
离线
最后一次露面:6个月1周前
加入:2014-04-17 17:00
Thanks,Best regards, keep in

谢谢,最好的问候,保持联系。