This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DTM uart error

Hi,

I am trying the Direct Test Mode (DTM) function integrated into the nRFgo application. I am using the nAN-34, Dev Kit User guide, and help (F1) in nRFgo as documents to help me get started with DTM.

You can see from the attached image my error: "A uart read error has occurred."

I have verified the uart read and write are both functional by flashing the uart_example firmware onto the setup, and opening a serial terminal, whereby I see "Start:" printed to the terminal. If I send a 'q', then I see "Exit!", verifying that both read and write from the uart are correctly operating.

My setup: First I load the DTM firmware (ble_app_dtm; SDK v5.0) onto my PCA10005 with SMA connector, which is plugged in to the socket on the nRF6310 from the nRFgo Starter kit. Next, I select the COM port for my serial connection. Finally, I press the "Start Test" button at the bottom of the DTM section in the nRFgo application whereby the error in the attached screenshot comes up.

Please help me to understand what's gone wrong and how I can fix this problem to proceed with DTM testing.

Thanks, Jamie

DTM_uart_problem.PNG

  • Hi,

    I found the issue. The softdevice needs to be flashed alongside the dtm firmware. I didn't think this was the case at first, because the default memory mapping of the dtm firmware is not configured properly for a soft device application, and when you try to flash them both together there is an error due to the overlapping memory ranges. I changed the dtm example fimware to allow for the softdevice, and the Start Test error from above goes away.

    Thanks, Jamie

Related