How to use the prod_test as DTM (Direct Test Mode)

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.
6 posts / 0 new
Last post
anushiya
Offline
Last seen:4 months 1 day ago
加入:2017-12-20 02:30
How to use the prod_test as DTM (Direct Test Mode)

Hi,

I need the DTM for DA14586 and the instruction on how to use it. As a first step, before connecting a spectrum analyser, we want to make sure that the setup is correct. When a command is given from "prod_test_cmds" then the DA14586 running with the firmware "prod_test" return a response via UART.

We have compiled the 6.0.10.511\projects\target_apps\prod_test\prod_test for DA14586 and have downloaded to the internal flash of our custom board using JTAG. Our UART pins are p0_4 and p0_5. Now how can I use this to test on different modes?

Document "AN-B-007 Application note DA1458x Bluetooth Direct Test Mode" talks about "Connection Manager tool" and the dialog forum says it is an outdated tool and to use the smart snippet's RF Tester instead.

The UART example is working on our custom board. But "RF Tester" doesn't get any response from the custom board.

We also saw a folder "6.0.10.511\utilities\prod_test\prod_test_cmds" and assume that it create commands to "6.0.10.511\projects\target_apps\prod_test\prod_test" to put the DA14586 in different modes. But unable to achieve it.

你能解释你的最早。

Thank you.

Keywords:
Device:
PM_Dialog
Offline
Last seen:2 hours 22 min ago
Staff
加入:2018-02-08 11:03
Hi anushiya,

Hi anushiya,

Please take a look into sections 19 and 26 of theUM-B-083 SmartSnippets Toolbox User Manual (HTML)in order to fined how you can use the RF Master of the tool.

Thanks, PM_Dialog

anushiya
Offline
Last seen:4 months 1 day ago
加入:2017-12-20 02:30
Hi,

Hi,

Thank you for your reply.

1) Where can we find RF_Master_FW in SDK 6.0.10.511? We can only find prod_test. Are they the same?

2) We do not have access to the reset pin of DA14586 in our custom board. Hence we have to use the JTAG programming into the internal flash and re-power the board to boot from the internal flash. Will that have any effect on running the RF_Master?

Since SDK 6.0.10.511 has the prod_test_585.bin, I compiled the prod_test for 586 and downloaded into the internal flash. But when I use the RF_Master, I don't see the green response as inhttps://s3.eu-west-2.amazonaws.com/lpccs-docs.dialog-semiconductor.com/SmartSnippetsToolbox5.0.8_UM/tools/RfMaster.html

But when I run the UART example in 6.0.10.511\projects\target_apps\peripheral_examples, I can communicate to the computer via a tera-terminal.

PM_Dialog
Offline
Last seen:2 hours 22 min ago
Staff
加入:2018-02-08 11:03
Hi anushiya,

Hi anushiya,

  1. The appropriate firmware id the prod_test which is located under 6.0.10.511\projects\target_apps\prod_test SDK path. The RF_Master in the tool which should be used from the SmartSnippets toolbox.
  2. No, you could use the UART instead the JTAG.

Please try to connect and download the prod_test firmware through UART.

Thanks, PM_Dialog

anushiya
Offline
Last seen:4 months 1 day ago
加入:2017-12-20 02:30
Thank you. I have figured out

Thank you. I have figured out to run the prod_test.

1) Where can we find RF_Master_FW in SDK 6.0.10.511? We can only find prod_test. Are they the same?

We are using the prod_test as the firmware on the DUT and smartsnippet studio RF master can communicate with prod_test firmware.

2) We do not have access to the reset pin of DA14586 in our custom board. Hence we have to use the JTAG programming into the internal flash and re-power the board to boot from the internal flash. Will that have any effect on running the RF_Master?

We programmed the prod_test firmware in the internal flash using JTAG only connection in smartsnippets studio. Removed the power connection to the DUT and re-powered. Then connected to smartsnippets using UART only and the RF master works.

We had some issue in the UART_Tx, UART_Rx connection from the DUT to the DA14580DEVKIT-P and hence had issues communicating via UART.

Thank you for your help.

PM_Dialog
Offline
Last seen:2 hours 22 min ago
Staff
加入:2018-02-08 11:03
Hi anushiya,

Hi anushiya,

  1. Where did you find the RF_Master_FW? The SDK6.0.10 includes only the prod_test firmware. Only the prod_test project you should use in order to use the RF_Master from the SmartSnippets toolbox.
  2. You can download the firmware by using UART instead of JTAG. No, I don’t think that will have any effect to the RF_Master, if the Rf_Master is being used successfully.

If you found any of the answer useful, please mark it as accepted.

Thanks, PM_Dialog