# Problem with legato

**URL:** https://forum.legato.io/t/problem-with-legato/5485
**Category:** Legato Application Framework
**Created:** [October 29, 2020, 2:21pm UTC](https://forum.legato.io/t/problem-with-legato/5485 "2020-10-29T14:21:32Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![zuuuuk](https://avatars.discourse-cdn.com/v4/letter/z/e5b9ba/32.png) [@zuuuuk](https://forum.legato.io/u/zuuuuk)
#### Post date: [October 29, 2020, 2:21pm UTC](https://forum.legato.io/t/problem-with-legato/5485/1 "2020-10-29T14:21:32Z")

</div>

I used wp7603 legato 18.04  
I update frameworke with my application.  
(system.wp76xx.update)  
After some time, he rolled back.  
And the legato itself is not my application.  
After the update, I use the command  
**update -g**

How fix it?

---

<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: [October 29, 2020, 2:33pm UTC](https://forum.legato.io/t/problem-with-legato/5485/2 "2020-10-29T14:33:00Z")

</div>

You can embedded your application and download the legato.cwe instead of the .update file.

For example, you can do the following:

1. open legato-19.02.0/modules/WiFi/wifi.sdef, add your application like

$LEGATO\_ROOT/apps/sample/helloWorld/helloWorld.adef

1. . bin/configlegatoenv
2. make clean
3. make wp76xx
4. legato.cwe will contain your application

---

<div class="post-metadata">

### Author: ![zuuuuk](https://avatars.discourse-cdn.com/v4/letter/z/e5b9ba/32.png) [@zuuuuk](https://forum.legato.io/u/zuuuuk)
#### Post date: [October 30, 2020, 6:32am UTC](https://forum.legato.io/t/problem-with-legato/5485/3 "2020-10-30T06:32:03Z")

</div>

can I use the following command?  
**systoimg wp76xx system.wp76xx.update**

---

<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: [October 30, 2020, 6:41am UTC](https://forum.legato.io/t/problem-with-legato/5485/4 "2020-10-30T06:41:19Z")

</div>

normally I won’t use this.  
I will directly compile the legato.cwe.

---

<div class="post-metadata">

### Author: ![zuuuuk](https://avatars.discourse-cdn.com/v4/letter/z/e5b9ba/32.png) [@zuuuuk](https://forum.legato.io/u/zuuuuk)
#### Post date: [October 30, 2020, 6:50am UTC](https://forum.legato.io/t/problem-with-legato/5485/5 "2020-10-30T06:50:50Z")

</div>

I have my own project my.sdef  
after compilation i get my.wp75xx.update  
in my project folder.  
where is the legato.cwe? with my application

---

<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: [October 30, 2020, 7:03am UTC](https://forum.legato.io/t/problem-with-legato/5485/6 "2020-10-30T07:03:58Z")

</div>

as said before, you need to embed the application to framework:  
legato-19.02.0/modules/WiFi/wifi.sdef

after that you need to compile the whole framework.

---

<div class="post-metadata">

### Author: ![zuuuuk](https://avatars.discourse-cdn.com/v4/letter/z/e5b9ba/32.png) [@zuuuuk](https://forum.legato.io/u/zuuuuk)
#### Post date: [October 30, 2020, 7:26am UTC](https://forum.legato.io/t/problem-with-legato/5485/7 "2020-10-30T07:26:24Z")

</div>

> [@jyijyi](#):
>
> 1. legato.cwe будет содержать ваше приложение

Where should the legato.cwe file be located

---

<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: [October 30, 2020, 7:38am UTC](https://forum.legato.io/t/problem-with-legato/5485/8 "2020-10-30T07:38:53Z")

</div>

./legato/build/wp76xx/legato.cwe
