PLT DUT Communication Failing

⚠️
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.wsdof.com/support。We’ll be fixing bugs / optimising the searching and tagging over the coming days.
15个帖子/ 0新
Last post
Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
PLT DUT Communication Failing

我正在尝试使用PLT开发DA14580的生产测试。我目前只有一个dut在插槽1上,我试图与它沟通,但却正在遇到问题。

Here's what I've done so far:

1. Powered PLT with 5V (VDD 5V) and 3.3V (VBAT & VDDIO).
2.检测到GU和DUT1的COM端口
3. Updated firmware on the GU using SmartSnippets
4. Set configuration settings according to UM-B-041
5. Attempted to run tests

当我试图运行测试(或任何公司mmunication with the DUT) the output indicates "COMMS ERROR OR DUT NOT PRESENT". I probed the DUT interface and noticed that the UART baud is around 97000bps which is odd because it's not a standard speed. I tried changing the UART settings in the configuration but it doesn't appear to have any effect. Can anyone suggest what I might be doing wrong?

一世've attached some captures of the PLT output and the traffic on the DUT interface.

Attachment:
设备:
PM_Dialog
Offline
Last seen:2天23小时前
Staff
加入:2018-02-08 11:03
Hi fitz,

Hi fitz,

我需要一些关于你的问题的澄清。如果您使用定制董事会或我们的任何开发委员会,您能告诉我吗?如果您使用DA14580 / 5 Pro主板DK,则接线根据UM-B-041用户手册的图175?您是否遵循7.2.5 DUT硬件设置(DA1458X)段中描述的配置?您正在进行哪个版本的PLT软件?此外,您是否可以上传您的配置屏幕截图?

Thanks, PM_Dialog

Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
感谢您的快速回复!

感谢您的快速回复!Here are the answers to your questions:

1. This is on a custom board based on the DA14580-01
2.我没有看到图175. UM-B-041中的最高数字数字,即我看到的附录P中的146(V4.2https://support.dialog-seminile.com/system/files/resources/um-b-041 ...)
3. I did follow section 7.2.5 (see attached) We use P_04 & P_05 for UART, and I have set the baud to 57600. However, I think this setting is only used after the PLT binary has been uploaded which is not happening.
4. PLT V4.2.0.160

一世should point out that the process seems to fail at the "FW Download" stage so it seems to me like the PLT tool can't communicate with the bootloader via UART. Do I need to program the bootloader? I'm not sure if these devices have any firmware flashed to them.

Attachment:
Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
我仍然无法过去

我仍然无法达到这一点......对我可以尝试的任何建议?

PM_Dialog
Offline
Last seen:2天23小时前
Staff
加入:2018-02-08 11:03
Hi fitz,

Hi fitz,

在我之前的评论中,我介绍了这个用户手册:

https://support.dialog-seminile.com/system/files/resources/um-b-041_da1458x_da1468x_production_line_tool_4v3.pdf.

似乎PLT和DUT之间存在沟通问题。此错误的原因可能是:

  • 没有连接到特定的PLT DUT的位置
  • DUT从工具中激活的DUT连接到不同的PLT DUT连接器
  • The PLT to DUT connections have a problem (not stable connections, long unshielded cables, connected to wrong pins).
  • DUT OTP应用程序标志被刻录,因此它无法从UART启动
  • The COM ports in the params.xml file(DA1458x_DA1468x_PLT_v_4.3.0.310\executables\params) do not match the actual windows COM ports.

Could you please make sure that your custom board is full functional without using the PLT? Please, try to reset the COM ports in the PLT configuration tool and enumerate again. You can also try to put 0 into the “DUT COM ports” into the params.xml. For example, 0 . After that, the PLT will try to find the ports again.

Thanks, PM_Dialog

Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
感谢您的反馈。一世

感谢您的反馈。我抓住了一个新的部分来消除OTP应用程序标志问题,以便这应该是可以的。但是,我的PLT工具仍然无法与DUT建立沟通。

一世have checked the enumeration, made sure the DUT is on the correct header and checked all connections. In fact I can see the UART lines toggling as shown on the logic analyzer capture attached earlier. It seems like the path to the device is okay.

一世have also connected a J-Link over SWD to the DUT and I can detect the DA14580 with it while the PLT is powering that DUT.

So in summary:

1.设备越来电源(J-Link可以检测到它)
2. UART lines are connected to the correct DUT ( I can see them toggling using a logic analyzer )
3.我在RX和TX上看到了UART数据,但它总是相同的 - 这对我来说似乎并不恰当。

PLT UART检查的固件下载阶段的预期波特率是多少?

我真的很感激有关如何调试这一点的进一步建议。

Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
一世did some more digging and

一世did some more digging and tried to boot the DUT without the PLT to see if I can enter the boot loader manually according tohttps://support.dialog-semiconductor.com/system/files/resources/AN-B-001...。我附上了一个结果的PDF。

捕获1显示了在VBAT上应用的功率,然后根据预期从DUT接收0x02。但是,在此之后,我看到P04和P05上的垃圾数据,这个循环每64ms无限期重复

捕获2显示了缩放的数据

根据链接文件,看起来OTP LDO是电压不正常。这是检查内部产生的电压是否正确?这可能是什么问题?

Attachment:
PM_Dialog
Offline
Last seen:2天23小时前
Staff
加入:2018-02-08 11:03
Hi fitz,

Hi fitz,

如果您的定制董事会在不使用PTL的情况下正确运行,请澄清您是否可以澄清?此外,请您附上结果的PDF吗?我无法找到它的附件。我会再次检查你的问题,我会尽快回复你。

Thanks, PM_Dialog

Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
Sorry I think I forgot to

Sorry I think I forgot to click upload earlier. The pdf is now attached above.

Yes, the device works fine on the custom board. In fact it is working with the PLT as well at the production facility however I am trying to add some features to the production test and so need to reproduce the PLT->DUT setup.

请您确认PLT引脚7(TX)应连接到DUT P0_4(TX)或DUT P0_5(RX)?

Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
一世have some more update. I

一世have some more update. I connected to the device to Smart Snippet Studio manually using an FTDI cable and I am able to see it detect the device and read the OTP out. So the device is definitely alive, but the PLT is still unable to read it.

在交换TX和RX线路后,我看到了不同的行为。它看起来像OTP LDO现在也可以,并在停止前循环5次。仍然没有意义的是,PLT没有响应来自DUT的0x02消息。

见附件

Attachment:
PM_Dialog
Offline
Last seen:2天23小时前
Staff
加入:2018-02-08 11:03
Hi fitz,

Hi fitz,

PLT与您的定制板之间的连接应该是这样的:

UART Tx:DUT TX(PIN7)< - > DA1580自定义板RX

UART RX:DUT Rx (pin9) <-> DA1580 custom board Tx

您还应连接VBAT和GND。您可以按照逐步按照UM-B-041用户手册的8示例使用段落吗?启动DA14580的启动过程,我非常建议您查看第6.2 Da1458x段连接到UART的段落AN-B-001 : DA14580/581/583 Booting from serial interfacesdocument. You will see that the booting protocol starts with the DA1458x UART TX pin transmitting 0x02.

Thanks, PM_DIalog

Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
Yes I've been looking at AN-B

是的,我一直在看AN-B-001。我可以看到DA14580 UART TX引脚传输0x02,这在附加的捕获上显示。但是,我没有看到从PLT中对此的任何回应,因为我期待并且实际上执行使用Smart Scippets Toolbox,如附加在所示。

我还尝试根据第8节重新配置我的所有设置,并查看相同的结果

作为侧面注意,我不小心接受了上述答案,并没有办法撤消这一点。

Attachment:
Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
我发现了,如果我

我发现了,如果我leave the DUT Rx pin floating the PLT will actually respond to the DUT. However as soon as I connect the DUT Rx pin the PLT won't respond. Almost seems like the PLT can't drive the pin for some reason.

它再次与外部FTDI电缆和智能片段工具箱合理工作。

PLT驱动力是否真的很低?不确定在这里发生了什么。

Attachment:
Fitz.
Offline
Last seen:2年4个月前
加入:2018-11-23 04:07
我从中取出了一个电阻

我从接口板上取下了一个电阻,DUT通过连接并工作。似乎是PLT UART的驱动力量并不高,这就是智能代码段工具箱正在运行的原因。

PM_Dialog
Offline
Last seen:2天23小时前
Staff
加入:2018-02-08 11:03
Hi fitz,

Hi fitz,

Glad that you figured your issue out and thanks for the indication.

Thanks, PM_DIalog