PyGamer will not accept flash_nuke.uf2
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- PrefontDon
- Posts: 133
- Joined: Sat May 25, 2013 10:45 pm
PyGamer will not accept flash_nuke.uf2
I put the game.mpy file into lib and game.py into the root of PyGamer as code.py. Now I cannot add or delete files. I cannot drag flash_nuke.uf2 to the machine either. Ideas?
- dastels
- Posts: 15662
- Joined: Tue Oct 20, 2015 3:22 pm
Re: PyGamer will not accept flash_nuke.uf2
The UF2 file needs to be copied to the board when it is in bootloader mode, i.e. the PYGAMERBOOT drive (mounted by double-pressing reset).
I'm curious where the game.mpy and game.py files are from. nnnn.mpy is usually just a pre-compiled version of nnnn.py and copying both to the device is unusual.
Can you get into the REPL? If so https://learn.adafruit.com/adafruit-pyg ... 2987288-32 might help.
More generally, the CircuitPython troubleshooting page might have some useful information for you: https://learn.adafruit.com/adafruit-pyg ... leshooting
Dave
I'm curious where the game.mpy and game.py files are from. nnnn.mpy is usually just a pre-compiled version of nnnn.py and copying both to the device is unusual.
Can you get into the REPL? If so https://learn.adafruit.com/adafruit-pyg ... 2987288-32 might help.
More generally, the CircuitPython troubleshooting page might have some useful information for you: https://learn.adafruit.com/adafruit-pyg ... leshooting
Dave
- danhalbert
- Posts: 4654
- Joined: Tue Aug 08, 2017 12:37 pm
Re: PyGamer will not accept flash_nuke.uf2
The file with the exact name "flash_nuke.uf2" is usually for RP2040 boards. The PyGamer is a SAMD51 (M4) board.
- PrefontDon
- Posts: 133
- Joined: Sat May 25, 2013 10:45 pm
Re: PyGamer will not accept flash_nuke.uf2
I was able to get into the REPL and follow the online instructions to nuke the FS. I'm just starting out with the PyGamer so I guess I need to do a lot more reading on it. Thank you both for your time.
Please be positive and constructive with your questions and comments.