Only seeing INFO_UFT2.TXT and INDEX.HTM on Badger2040

Hi there,

I recently purchased a Badger2040 + accessory kit.

When I connect it to my PC and reset the bootloader. I only see INFO_UFT2.TXT and INDEX.HTM. Is that expected? I was expecting to see the demo stuff i.e. things like badge.txt, checklist.txt, etc.

$ pwd
/Volumes/RPI-RP2
$ ls -lat
total 64
drwxr-xr-x  4 root    wheel    128 Sep 27 11:06 ..
drwxrwxrwx@ 1 lee337  staff  16384 Sep 27 11:06 .
-rwxrwxrwx  1 lee337  staff    241 Sep  5  2008 INDEX.HTM
-rwxrwxrwx  1 lee337  staff     62 Sep  5  2008 INFO_UF2.TXT

Cheers,
Lee

When I try an copy pimoroni-badger2040-1.19.7-micropython.uf2 from github.com/pimoroni/pimoroni-pico/releases to /Volumes/RPI-RP2 it seems to complete, but immediately unmounts the volume. When I reset the bootloader, the file is nowhere to be seen.

Hi Lee,

This is how this Badger works, similarly to other Pico boards. When you reset, it will unmount the drive. Then, you need to use Thonny to add code and other files. You need to download the code and examples from GitHub.

For example, if you want to use CheckList example:

  • Download list.py from Pimoroni Github and copy to /main.py
  • Create your own checklist.txt file and copy to /checklist.txt
  • checklist.txt is just a plain text:
    item1
    item2
    item3

Best,

1 Like

Ah - gotcha! Thank you for the reply :)