Closed alefelipeoliveira closed 4 years ago
Hi, I am sorry but Cooja does not support that platform. This port only works with real devices.
Ow, that's a pity.
In this case, it is need to port the DW1001 platform to Cooja in order to make it a mote sample? But anyway, thank you guys for the feedback.
Yes, some porting would be required for that. Just note that Cooja does not support ARM emulation, so you won't be able to run the ARM binary in simulation. Neither it supports DW1000 radio chip.
Hello Tim,
Maybe I misunderstood this application note from Decawave:
6.2.1 Contiki [...] With the Cooja simulator a Contiki network can be simulated
https://www.decawave.com/sites/default/files/aps010_dw1000_wsn.pdf
You can use Cooja to emulate wireless networks based on older platforms such as Tmote Sky. Check this Wiki page.
Depending on your goal, you may be able to reuse the application-level code for Tmote Sky and any DW1000-based platform. Unfortunately, and as Tim pointed out, Cooja does not support ARM Cortex M emulation nor does it support the DW1000 radio transceiver. Hence, you won't be able to emulate any DW1000-based platform nor perform ranging or exploit any other low-level functionality from the DW1000 in Cooja.
Hello,
I cloned the contiki-uwb git, and the sub-module contiki, in the sub-module. So, in the submodule I started the Cooja simulator, in order to create a mote using dwm1001 port.
In Cooja I start a "New Simulation", "Create New Mote Type" and choose "Cooja Mote".
Then I tried to compile the ranging example to create this mote I got this error:
I also tried to change the make command as is suggested in README, make TARGET=dwm1001, but got another error:
I already set before the PATH for NRF_SDK in ~/.bashrc
export NRF52_SDK_ROOT=/home/alexandre/Downloads/nRF5_SDK_16
Is there any settings in COOJA that I need to change to refer to correct enviroment variable?
Could you guys please give me a hint how I can start to create a DW1001 mote?
Thanks a lot