# App install doesn't work

**URL:** <https://forum.legato.io/t/app-install-doesnt-work/5791>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [May 25, 2021, 1:25pm UTC](https://forum.legato.io/t/app-install-doesnt-work/5791 "2021-05-25T13:25:49Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 28, 2021, 7:44am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/21 "2021-05-28T07:44:14Z")

</div>

Can i do it in windows?  
And where can i get the xxx.cwe file?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 28, 2021, 7:49am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/22 "2021-05-28T07:49:23Z")

</div>

yes, do it in windows.  
after you extracting the exe, you will see the .spk or .cwe inside.

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 28, 2021, 7:50am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/23 "2021-05-28T07:50:30Z")

</div>

![afbeelding](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/8/81ccaa29e86a8b2ab26310dd79f63fdfe69a8b92.png)  
This are the files i see. Do i need to run the exe?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 28, 2021, 7:52am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/24 "2021-05-28T07:52:20Z")

</div>

yes, you can run "“fdt2.exe WP77xx\_Release12\_BP4\_GENERIC.spk”

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 28, 2021, 7:54am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/25 "2021-05-28T07:54:01Z")

</div>

[![](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/d/d0849a35b7bc815a92d1ce78b998ad57ce1c8292.png) ](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/d/d0849a35b7bc815a92d1ce78b998ad57ce1c8292.png)  
I got exact the same as before.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 28, 2021, 7:57am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/26 "2021-05-28T07:57:54Z")

</div>

what port did you see in device manager?  
you might need to try other windows PC

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 28, 2021, 7:59am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/27 "2021-05-28T07:59:15Z")

</div>

![afbeelding](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/f/f371f1a493598b69ebc1422fdcdba621ea44502a.png)  
These are the ports i see.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 28, 2021, 8:01am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/28 "2021-05-28T08:01:08Z")

</div>

no idea, you might need to try other windows PC

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 28, 2021, 8:03am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/29 "2021-05-28T08:03:14Z")

</div>

Oke, i will try that. Thanks!

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 28, 2021, 8:11am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/30 "2021-05-28T08:11:12Z")

</div>

Or you can try other WP77 module and see if this is only happening to particular module.

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 28, 2021, 8:26am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/31 "2021-05-28T08:26:19Z")

</div>

With another module i get the same. Probably its my windows or something.

---

<div class="post-metadata">

**Author:** ![Pankaj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/pankaj/32/1317_2.png) [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Post date:** [May 31, 2021, 6:37am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/32 "2021-05-31T06:37:04Z")

</div>

@r0795090

Can you also try fdt2.exe -f xxx.spk and check if it works.

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 31, 2021, 7:07am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/33 "2021-05-31T07:07:06Z")

</div>

When i try `fdt2.exe -f xxx.spk` this my FW updated. I think the last one was already installed. But when i try to build and run my program the same popup shows.

---

<div class="post-metadata">

**Author:** ![Pankaj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/pankaj/32/1317_2.png) [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Post date:** [May 31, 2021, 7:42am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/34 "2021-05-31T07:42:54Z")

</div>

What is the Legato version on build Host and in the device? After updating the firmware can you confirm if legato is running before installing the application?

Can you share the binary of your application?

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 31, 2021, 7:56am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/35 "2021-05-31T07:56:06Z")

</div>

[![](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/e/ee392f5abb57014d36c5fad0ff4b8e6884049f2b.png) ](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/e/ee392f5abb57014d36c5fad0ff4b8e6884049f2b.png)  
I get this when i execute “legato version” so i think that my legato isn’t working. But i don’t know how to fix it. this is on my host device.

And in my device it is:  
 ![afbeelding](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/7/7ac93810f285e778403043512b7005563d9245ea.png)

---

<div class="post-metadata">

**Author:** ![Pankaj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/pankaj/32/1317_2.png) [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Post date:** [May 31, 2021, 9:58am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/36 "2021-05-31T09:58:16Z")

</div>

@r0795090

Can you try to build the Legato version on the host similar to the version on the module and let us know if you still face the issue?

Thanks & Regards,

Pankaj Sant

---

<div class="post-metadata">

**Author:** ![r0795090](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@r0795090](https://forum.legato.io/u/r0795090)\
**Post date:** [May 31, 2021, 10:56am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/37 "2021-05-31T10:56:45Z")

</div>

Thats the thing. I don’t know which version legato is because when i try to run “legato version” i got UNKNOWN.

It isn’t even possible to start legato then i got the following error:

 ![afbeelding](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/c/c3666b2908908f5e74957086b2d12c7f97d2f4d3.png)

So i don’t know what i’ve done wrong.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 31, 2021, 11:07am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/38 "2021-05-31T11:07:09Z")

</div>

I think you need to try another pc and download different firmware to see

---

<div class="post-metadata">

**Author:** ![Pankaj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/pankaj/32/1317_2.png) [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Post date:** [June 2, 2021, 4:09am UTC](https://forum.legato.io/t/app-install-doesnt-work/5791/39 "2021-06-02T04:09:24Z")

</div>

@r0795090 ,

When you install the default firmware from the fdt2.exe tool you will get a working legato version. before installing your application/system try to check this version and verify if Legato is running in the device.

From the screenshot is seems you are running the legato start on the PC. From the link [legato - Legato Docs](https://docs.legato.io/latest/toolsTarget_legato.html) legato is a target tool and needs to be run on the device and not on the host.

[Previous page](https://forum.legato.io/t/app-install-doesnt-work/5791.md?page=1)
