Can not set position for DWM1001

Hi everyone!
I’m working with DWM1001-DEV kits. Using Decawave DRTLS Manager, I already set up a network with four anchors and one tag, auto measure the position, and track location of the tag. Now I want to set up a similar network, but not use the mobile app, using UART Shell mode. I am now setting the nodes as an anchor, but can’t set the position for them.
When using the “aps” command, the module always returns “aps xx.”
Example:
dwm> aps
Usage aps
dwm> aps 100 120 2500
aps 1
Instead of
dwm> aps 100 120 2500
err code: 0
And when I using the “apg” command, every node return them positon is x=00 y=00 z=00??
Because of cannot set the position of Anchor, I cannot track the location of the Tag.
So how can I set the position of the anchors, using shell mode?

Hi hello,

Can you use “si” before aps and copy the output here.

By the way, aps is expecting coordinates in millimeters. So at the moment you are trying to set 10cm 12cm 2.5m. Is that what you expect ?

Thanks
Yves

Here the output when I use “si” command:
si
[000025.170 INF] cfg:
[000025.170 INF] >fw2=x00044000
[000025.170 INF] board=DWM1001_A2
[000025.170 INF] cfg_ver=x00010700
[000025.180 INF] fw_ver=x01010501
[000025.180 INF] hw_ver=xDECA002A
[000025.180 INF] opt=x13C1A142
[000025.190 INF] fw_size[0]=x0001F000
[000025.190 INF] fw_size[1]=x00022000
[000025.190 INF] fw_size[2]=x0003C000
[000025.200 INF] fw_csum[0]=x9445F89E
[000025.200 INF] fw_csum[1]=x37A439E0
[000025.200 INF] fw_csum[2]=xF83EE8A1
[000025.210 INF] opt: AN ACC LEDS TWR LE BPC UWB0 BLE I2C SPI UART
[000025.210 INF] mcu: temp=30.2 hfclk=xtal:on lfclk=rc:on
[000025.220 INF] uptime: 00:00:25.220 0 days (25220 ms)
[000025.220 INF] mem: free=1232 alloc=9760 tot=10992
[000025.230 INF] uwb: ch5 prf64 plen128 pac8 txcode9 rxcode9 sfd0 baud6800 phrext sfdto129 smart1
[000025.240 INF] uwb: tx_pwr=xB6/x24446484 125:250:500:norm[ms]=17:14:11:8[dB] pgcnt=993 temp=20
[000025.250 INF] uwb0: lna=0 xtaltrim=15 tx_delay=16472 rx_delay=16472
[000025.250 INF] uwb0: ID dev=xDECA0130 part=x48E5C700 lot=x05A26100
[000025.260 INF] uwb0: panid=x0000 addr=xDECA9D2AB105C700
[000025.260 INF] mode: an (act,-,-)
[000025.270 INF] uwbmac: disconnected
[000025.270 INF] an: seat=255 cl_size=16 cl_map=x0000 cl_nbr_map=x0000 clk_lvl=0
[000025.280 INF] ble: addr=C1:F4:EC:0B:73:1B
dwm>

About the uint, yes, I want to set 10cm, 12cm…

Can you please print the output of the aps command ?

Thanks
Yves

Here the output of the aps command:

dwm>
aps

aps
Usage aps <x> <y><z>
dwm>
aps 1000 1200 00

aps 10

And what if you run apg ?

Yves

When I run apg, it return:
dwm>
apg

apg
x:0 y:0 z:0 qf:100

Ok that’s a bit odd, I’ve tried on my side and it works fine.

How are you setting up the uart connection, over USB ? Can you send the UART configuration ?

Yves

Hi khiemnt00

When trying the same steps, I seem not able to re-create the issue either. Did this happen to all your 4 Anchors? Do you have a different PC so you may try with different USB connection?

Weibo

I use other Terminal application, and it works fine.
Thank you all for your help!

Have a nice day!