# Badger2040 missing files

**URL:** <https://forums.pimoroni.com/t/badger2040-missing-files/19146>\
**Category:** Support\
**Created:** [March 21, 2022, 10:50pm UTC](https://forums.pimoroni.com/t/badger2040-missing-files/19146 "2022-03-21T22:50:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![timedrifter](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@timedrifter](https://forums.pimoroni.com/u/timedrifter)\
**Post date:** [March 21, 2022, 10:50pm UTC](https://forums.pimoroni.com/t/badger2040-missing-files/19146/1 "2022-03-21T22:50:55Z")

</div>

After updating my badger2040 and connecting to Thonny I seem to only have a main.py and not the other files I should have. Any ideas?

Thanks

---

<div class="post-metadata">

**Author:** ![hel](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hel/32/6075_2.png) [@hel](https://forums.pimoroni.com/u/hel)\
**Post date:** [March 22, 2022, 8:28am UTC](https://forums.pimoroni.com/t/badger2040-missing-files/19146/2 "2022-03-22T08:28:19Z")

</div>

The other files are created when you first run the relevant examples.

---

<div class="post-metadata">

**Author:** ![baralong](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@baralong](https://forums.pimoroni.com/u/baralong)\
**Post date:** [September 9, 2022, 2:40pm UTC](https://forums.pimoroni.com/t/badger2040-missing-files/19146/3 "2022-09-09T14:40:59Z")

</div>

Hi @hel (sorry to revive an old post, but it seemed a good fit)

my badger seemed to be crashing when I tried to update the uf2, so I did the factory reset (`flash_nuke.uf2`). Then I flashed the Badger uf2 (`pimoroni-badger2040-v1.19.6-micropython.uf2`), but now I have no files at all.

> [@hel](#):
>
> The other files are created when you first run the relevant examples.

Which examples? I looked through [https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/badger2040](https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/badger2040) I saw that `boot.py` creates `main.py`, but it only gets one line

```auto
import _launcher

```

which doesn’t work…

I’m sure I’m missing something basic, I’ve run all the examples in that folder, with mixed results, some work, others just fail.

How do I get it back to “as new”?

Thanks

---

<div class="post-metadata">

**Author:** ![hel](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hel/32/6075_2.png) [@hel](https://forums.pimoroni.com/u/hel)\
**Post date:** [September 9, 2022, 4:24pm UTC](https://forums.pimoroni.com/t/badger2040-missing-files/19146/4 "2022-09-09T16:24:11Z")

</div>

Try using the [1.19.7 image](https://github.com/pimoroni/pimoroni-pico/releases/tag/1.19.7)! The 1.19.6 Badger image was missing vital files.

[Direct link](https://github.com/pimoroni/pimoroni-pico/releases/download/1.19.7/pimoroni-badger2040-1.19.7-micropython.uf2)

---

<div class="post-metadata">

**Author:** ![baralong](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@baralong](https://forums.pimoroni.com/u/baralong)\
**Post date:** [September 9, 2022, 11:44pm UTC](https://forums.pimoroni.com/t/badger2040-missing-files/19146/5 "2022-09-09T23:44:01Z")

</div>

Awesome! That worked. Thanks!
