一世'm trying to get started with developing a production test for the DA14580 using the PLT. I currently just have one DUT on slot 1 and am trying to communicate with it but am running into issues.
到目前为止,这是我所做的事情:
1.带5V(VDD 5V)和3.3V(VBAT&VDDIO)的电源PLT。
2. Detected the COM ports for GU and DUT1
3.使用SmartSnippets更新了GU上的固件
4.根据UM-B-041设置配置设置
5.试图运行测试
当我尝试运行测试(或与DUT的任何通信)时,输出表示“Comms Error或DUT”。我探讨了DUT界面,注意到UART波特率约为97000bps,这是奇数,因为它不是标准速度。我尝试在配置中更改UART设置,但它似乎没有任何效果。任何人都可以建议我做错了什么?
我附上了一些捕获的PLT输出和DUT接口的流量。
Device:
嗨Fitz,
一世need some clarification regarding your issue. Could you please let me know if you are using a custom board or any of our development boards? In case you are using our DA14580/5 Pro Motherboard DK, the wiring is according to the figure 175 of the UM-B-041 user manual? Did you follow the configuration described in 7.2.5 DUT Hardware Setup (DA1458x) paragraph? Which version of PLT software are you working on? Also, can you please upload a screenshot of your configurations?
谢谢,PM_DIALOG.
感谢您的快速回复!以下是您的问题的答案:
1.这是根据DA14580-01的自定义板上
2. I don't see figure 175. The highest figure number in UM-B-041 that I see is 146 in Appendix P ( v4.2https://support.dialog-semiconductor.com/system/files/resources/UM-B-041...)
3.我确实关注第7.2.5节(见附图)我们使用P_04和P_05来为UART,我已经将波特设置为57600.但是,我认为此设置仅在PLT二进制上传后使用,这是未发生的。
4. PLT v4.2.0.160
我应该指出这个过程似乎在“fw下载”阶段失败,所以它看起来像是plt工具无法通过UART与引导加载程序通信。我需要编程引导加载程序吗?我不确定这些设备是否有任何固件闪烁。
一世'm still unable to get past this point... any suggestions on what I can try?
嗨Fitz,
一世n my previous comment I was referring into this user manual:
https://support.dialog-semiconductor.com/system/files/resources/UM-B-041_DA1458x_DA1468x_Production_Line_Tool_4v3.pdf
一世t seems that there is a communication problem between PLT and the DUT. The reasons of this error could be:
如果您可以确保您的定制板在不使用PLT的情况下是全功能吗?请尝试重置PLT配置工具中的COM端口并再次枚举。您还可以尝试将0放入“DUT COM端口”中的PARAMS.xml。例如, 0 com_port_dut_1>。之后,PLT将尝试再次找到端口。
谢谢,PM_DIALOG.
Thanks, for the feedback. I grabbed a new part to eliminate the OTP application flag issue so that should be okay. However, I the PLT tool is still unable to establish communication with the DUT.
我已经检查了枚举,确保DUT位于正确的标题上并检查所有连接。事实上,我可以看到UART线条切换,如前所述所示的逻辑分析仪所示。它似乎是设备的路径是可以的。
我还将SWD连接到DUT上的J-Link,我可以在PLT为该DUT供电时使用它检测DA14580。
所以总结:
1. Device is getting powered (J-Link can detect it)
2. UART线路连接到正确的DUT(我可以看到它们使用逻辑分析仪切换)
3.我看到UART RX和TX数据但总是the same- this doesn't seem correct to me.
What is the expected baud rate for the Firmware Download stage of the PLT UART check?
一世would really appreciate any further suggestions on how to debug this.
我做了一些更多的挖掘,并试图在没有PLT的情况下引导DUT,看看我是否可以根据手动进入引导加载程序https://support.dialog-semicondiondiondum/system/files/resources/an-b-001 ...。一世've attached a pdf of the results.
Capture 1 shows power applied on VBAT, then 0x02 is received from DUT as expected. However, after that I see garbage data on both P04 and P05 and this cycle repeats indefinitely every 64ms
Capture 2 shows the zoomed in data
According to the linked document it looks like the OTP LDO is voltage is not okay. This is checking the internally generated voltage correct? What might the issue with that be?
嗨Fitz,
Can you please clarify if your custom board operates correctly without using the PTL? Also, can you please attach the pdf of your results? I am not able to find it into attachments. I will check again your issue and I will get back to you as soon as possible.
谢谢,PM_DIALOG.
对不起,我想我忘了早点单击上传。PDF现在附上。
是的,设备在定制板上工作正常。事实上,它在生产设施中也与PLT合作,但是我正在尝试向生产测试添加一些功能,因此需要重现PLT-> DUT设置。
Can you please confirm the PLT pin 7 (Tx) should be connected to DUT P0_4 (Tx) or DUT P0_5 (Rx)?
我有更多的更新。我用FTDI电缆手动向设备连接到智能代码段,我能够看到它检测到设备并读出OTP OUT。所以设备肯定是活跃的,但PLT仍然无法阅读它。
After swapping the Tx and Rx lines, I see different behaviour. It looks like OTP LDO is okay now and the bootloader loops 5 times before stopping. What still doesn't make sense is that the PLT isn't responding to the 0x02 message from the DUT.
See attached
嗨Fitz,
The connection between PLT and your custom board should be like this:
UART TX:DUT Tx (pin7) <-> DA1580 custom board Rx
UART Rx:DUT RX(PIN9)< - > DA1580自定义板TX
Also you should connect the VBAT and the GND. Can you please follow step-by-step the 8 Example Usage paragraph of the UM-B-041 user manual? Reggarding the booting procedure of the DA14580, I would highly suggest you to have a look at the paragraph 6.2 DA1458x connected to UART of theAN-B-001:从串行接口启动DA14580 / 581/583文档。您将看到引导协议以DA1458X UART TX引脚发送0x02开始。
谢谢,PM_DIALOG.
是的,我一直在看AN-B-001. I can see the DA14580 UART Tx pin transmit 0x02 and this is shown on the attached captures. However I don't see any response to this from the PLT as I would expect and do in fact see using smart snippets toolbox as shown in attached.
一世also have tried to reconfigure all my settings according to section 8 and see the same results
As a side note I accidentally accepted the above answer and there is no way to undo this.
我发现,如果我离开DUT RX引脚漂浮,PLT实际上将响应DUT。但是一旦我连接DUT RX引脚,PLT就不会响应。几乎看起来PLT无法出于某种原因驱动针。
Once again it works fine with an external FTDI cable and the Smart Snippets Toolbox.
一世s the PLT drive strength really low? Not sure what's going on here.
一世removed a resistor from the interface board the DUT is connected through and it is working. Seems like the drive strength of the PLT UART is not very high which is why the Smart Snippets Toolbox was working.
嗨Fitz,
很高兴你识上你的问题,谢谢你的迹象。
谢谢,PM_DIALOG.