How to read output from dwm-simple

dwm1001
#1

Hi,

I have a DWM1001-DEV and I am a newbie in this. I am starting with the dwm-simple example. I have followed the Firmware user guide steps and I downloaded the dwm-simple to my dev board. But I don’t know how to read the output. I don’t know what terminal should I use, I didn’t see anything in my IDE(SES) terminal, Putty and J-link command. I think I need to change UART from genetic mode to Shell mode to read them (I still don’t know where).

Any operation instructions on this?

Thanks,
Cindy

0 Likes

#2

Hi,

To begin I suggest that you program the default HEX back on to your hardware.
Serial comms can be tested with Teraterm/Hyperterm for example.
The serial COM port configuration 115200-8-n-1

See the DWM1001 Firmware User Guide section 4.3 on how to identify the COM port to use.

Once setup, hit ‘Enter’ twice and you should see the terminal output.

image

Ken

0 Likes

#3

Thanks for the reply.
This is what I got, but I think I’m still not in shell mode. I hit Enter twice, it only makes two empty lines.
Please help.

0 Likes

#4

This appears to be working just fine! You have the accelerometer device ID and result per the example.

0 Likes

#5

Hi
But why I didn’t get the position reading and system timer, and the position reading is in a while(1) loop, I should get a consistent reading from it, according to the User Guide,
Capture
Appreciate your help.

0 Likes

#6

Hi Cindy,

Try command lec after pressing enter 2 times.

Also, you can check out my method using Python here:

-Brian

0 Likes

#7

Hi Brainh
I tried to use lec command, it didnt do anything. Would you mind explain me what’s that command for?
Thanks
Cindy

0 Likes

#8

Hi
But why I didn’t get the position reading and system timer, and the position reading is in a while(1) loop, I should get a consistent reading from it, according to the User Guide,
Capture
Appreciate your help.

0 Likes

#9

Hi Brainh
I tried to use lec command, it didnt do anything. Would you mind explain me what’s that command for?
Thanks
Cindy

0 Likes

#10

Cindy,


The lec command shows measurements and calculated position if you have the Anchors initialized. Have you initialized the devices already? It is very simple with the Android application.

I suggest checking out the quick start guide: https://www.decawave.com/mdek1001/quickstart/
Also the API guide and other documentations: https://www.decawave.com/product/dwm1001-module/

0 Likes