I want to implement lwm2m, and I use nRF Connect SDK v1.4.99-dev to compile the thread firmware.
I am using 52840DK, here is a screenshot of my project creation

No code changes . Then select build->build zephyr zephyr .hex. and target->connect J-Link->download zephyr zephyr .hex.
The result is the following screenshot

I also tried the other samples and the hello world and coap samples are working fine.

How can I program lwm2m and run it properly on nrf82840 DK?