⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程https://www.dialog-seminile.com/support.。我们将在未来几天修复错误/优化搜索和标记。
19个帖子/ 0新
最后一篇
DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
编程设备

Dear Dialog,

I have written a program to the da14531 daughter board and it works fine.
We have made a PCB with your DA14531 SmartBond TINY Module and we are currently trying to figure out how to program the device.
我的问题是,如何将DA14531 SmartBond TINY模块连接到主板,以便将其归格或者如果有更好的替代方案,那将是伟大的。

Thanks in advance,
Dvir

PM_DIALOG.
离线
最后一次露面:1 day 8 hours ago
职员
加入:2018-02-08 11:03
嗨dvir,

嗨dvir,

Happy new year and thanks for posting online. I would recommend checking the following tutorial :

http://lpccs-docs.dialog-seminiondiond.com/tutorial_sdk6/debug_probe.html.

Please see 18.2. DA14531 PRO Development Kit. Some connections should be done between the Pro-DK and your custom board. After that, you could use the对话框智能闪存程序员,用于Windows操作系统出生闪光灯。

谢谢,PM_DIALOG.

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
Dear PM_Dialog,

Dear PM_Dialog,

Thank you very much for the fast replay, wish you a great new year as well!

We have connected our customed board to the Pro-DK as shown in the documents.

现在,当我们尝试使用对话框为Windows操作系统编写对话框智能闪存程序员时,我们得到以下按摩:

[errow alignal @ 21-01-05 15:36:03]在打开jlink连接时找不到已知的芯片。终止Proccess ...

All of the jumpers and wires are connected according to the documents as well.

我们试图将时钟频率降低到2MHz,1MHz,我们仍然收到相同的错误消息。

We also tried to use SmartSnippets Tool and there we receive:

[Info General @ 21-01-05 15:29:36]无法衡量总IR Len。TDO是恒定的。
[Info General @ 21-01-05 15:29:37]无法衡量总IR Len。TDO是恒定的。
[Info General @ 21-01-05 15:29:37]无法衡量总IR Len。TDO是恒定的。

[Info General @ 21-01-05 15:29:37]无法衡量总IR Len。TDO是恒定的。
[ERROR General @21-01-05 15:29:37] No known chip found while opening JLink connection. Terminating proccess...
[ERROR OTP Image @21-01-05 15:29:37] Failed downloading firmware file to the board.

什么可以导致这个项目,我们如何解决它?

Best regards,

Dvir

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
P.S.

P.S.

在SmartSnippets工具中,我们也尝试了SPI Flash,不仅是OTP

PM_DIALOG.
离线
最后一次露面:1 day 8 hours ago
职员
加入:2018-02-08 11:03
嗨DVIR12L123,

嗨DVIR12L123,

在闪存程序员中,您是否能够检测到JTAG序列号?如果没有,是否有可能与您的连接共享照片?我想检查您正在使用的哪个模块的PIN。

谢谢,PM_DIALOG.

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
Dear PM_Dialog,

Dear PM_Dialog,

Yes, I can detect the JTAG serial number.

Currently we have connected SWDIO (J1 pin 23) in the mother board to J9 (P0_10/SWDIO) in the module and SWCLK (J1 pin 21) in the mother board to J10 (P0_2/SWCLK) in the module, just like it says in the documents.

we have also connected the VCC (3.3V) and GND as shown in the documents since we did not connect external power source.

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
Dear PM_Dialog,

Dear PM_Dialog,

我们能够使用对话框智能闪存程序员编程DA14531模块开发套件PRO。

We also tried to connect our customed board SWDIO and SWCLK to J2 P15 and J2 P22 since they seem to be connected to DA14531 Module Development Kit PRO SWDIO and SWCLK pins.

我们使用此文档来查看如何连接跳线:http://lpccs-docs.dialog-semiconductor.com/Tutorial_SDK6/codeless.html我们试图使用对话框智能闪存程序员同时汇编两个设备。

It didnt work either, only the DA14531 Module Development Kit PRO got programmed.

希望它有助于了解情况。

Thanks for the help!

PM_DIALOG.
离线
最后一次露面:1 day 8 hours ago
职员
加入:2018-02-08 11:03
嗨dvir,

嗨dvir,

你能用Keil IDE进行快速测试吗?你能否附上调试器?

Additionally, would it be possible to share a screenshot from the Flash Programmer?

如果是SmartSnippets Toolbox,您是否选择了“电路板设置”的正确SPI引脚?

谢谢,PM_DIALOG.

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
Dear Dialog_PM,

Dear Dialog_PM,

你说附上调试器是什么意思?

我们在使用DA14531模块DK PRO但不使用我们的定制板时,我们能够删除该程序。如果这是您的要求。

我从SmartSnippent和SmartBond附加了屏幕镜头,两个屏幕镜头展示它如何与DA14531模块DK Pro合作,另外2次显示我们的定制牌。

We assume we selected the correct SPI pins from the "Board Setup" since it worked with DA14531 Module DK Pro, but we might be wrong here.

PM_DIALOG.
离线
最后一次露面:1 day 8 hours ago
职员
加入:2018-02-08 11:03
嗨dvir,

嗨dvir,

抱歉,但我无法用我们的DKS复制这个问题。请参阅附图。

I am using 2 Pro-DK :

  • The left one is the programmer, so the motherboard is not plugged in.
  • 正确的人充当了定制委员会。

The wiring I am using between the “Programmer ” and the “Custom board” are the following:

程序员Pro-DK“定制委员会”

J1 : Pin 21 à J1 : Pin 22 (SWCLK – red)

J1 : Pin 23 à J1 : Pin 24 (SWDIO – green)

Common ground ( black )

Please verify if you are using the proper connections and also use short fly-wires.

谢谢,PM_DIALOG.

附件:
DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
Dear Dialog_PM,

Dear Dialog_PM,

Thank you very much for your help, we all really appreciate it!

我们已正确连接并尝试了您所做的,并使用DA14531模块DK Pro。

我们将DA14531模块DK Pro连接到主板和断开连接的SWDIO和SWCLK跳线,直接连接DA14531模块DK Pro SWDIO和SWCLK,好像它是一个定制的板(就像您一样,但只有一个主板),它完美地工作。

我们认为微小的模块它是自我的,我们安装在我们的定制董事会上的那个不正常工作,所以我们决定用一个新的替换它,不幸的是它也不工作。

我们假设在编程之前对微小模块进行某种第一次初始化吗?

最好的问候和提前感谢

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
Dear PM_Dialog,

Dear PM_Dialog,

We took another TINY Module, without the customed board, and connected SWDIO and SWCLK and it worked!

We mounted the TINY Module on the customed board and it worked as well, Both TINY Modules we checked before were probably bad.

非常感谢你的帮助,我们真的很感激!

Best regards.

PM_DIALOG.
离线
最后一次露面:1 day 8 hours ago
职员
加入:2018-02-08 11:03
嗨DVIR12L123,

嗨DVIR12L123,

>>我们是否认为在编程之前对微小模块进行某种第一次初始化?

不 - 您应该能够通过JTAG进行编程。

您的定制板是否有自己的电源,或者您通过Pro-DK为其供电?你有一个共同点吗?此外,您是否可以指明任何外围组件是否连接到模块的SWD和SPI引脚?

谢谢,PM_DIALOG.

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
Dear PM_Dialog,

Dear PM_Dialog,

问题是固定的,我们测试的两个模块都很糟糕,但第三个工作罚款。

对不起麻烦,非常感谢你的一切。

PM_DIALOG.
离线
最后一次露面:1 day 8 hours ago
职员
加入:2018-02-08 11:03
嗨DVIR12L123 ,,

嗨DVIR12L123 ,,

高兴地hat you figured this out and you are able to program the modules properly.

If you have any follow-up question, please do not hesitate to raise a new forum post!

谢谢,PM_DIALOG.

EricH
离线
最后一次露面:2个月3天前
加入:2021-02-01 09:25
你好,

你好,

I'm having exactly the same problem. @Dvir12L123; you seem to have finally come to the conclusion that the first two Tiny modules (on your custom board) were "bad". Did you know the root case of this ? Any comment from Dialog ?

Cheers

Eric

EricH
离线
最后一次露面:2个月3天前
加入:2021-02-01 09:25
你好,我们又见面了,

你好,我们又见面了,

快速解决!

如果找到此主题:https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...

By disconnecting the reset pin I got it to work.

对话;在上面的线程中,您可以说“不需要重置”。我宁愿把它放在“重置不连接”中。

Eric

DVIR12L123
离线
最后一次露面:1个月4周前
加入:2020-04-18 12:13
你好,

你好,

我很高兴听到你解决了这个问题,谢谢你的建议!

Best regards!

PM_DIALOG.
离线
最后一次露面:1 day 8 hours ago
职员
加入:2018-02-08 11:03
嗨Erich,

嗨Erich,

谢谢你的评论和反馈。高兴地hat you got it working and thanks for the suggestion.

谢谢,PM_DIALOG.