I have a couple year old Feather M0 w/ LoRa. I would like to update it to run CircuitPython. I can't seem to get it into boo loader mode to do so.
Instructions seem .... contradictory?
Help?
Update Legacy Feather M0 w/LoRa to CircuitPython
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- RocketScientist
- Posts: 88
- Joined: Wed Jan 11, 2017 11:43 pm
- dastels
- Posts: 15653
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Update Legacy Feather M0 w/LoRa to CircuitPython
There's no UF2 bootloader on that board as shipped. Please see https://learn.adafruit.com/installing-c ... d21-boards for instructions, as well as https://learn.adafruit.com/adafruit-fea ... rfm9x-lora.
Dave
Dave
- RocketScientist
- Posts: 88
- Joined: Wed Jan 11, 2017 11:43 pm
Re: Update Legacy Feather M0 w/LoRa to CircuitPython
Yup. Tried those. No joy.
But it appears I have a larger problem. I can't seem to run Python programs on either ItsyBitsy M0 or M4 that import the "board" library. Not found. I suspect related.
I am running on Thonny on a MacOS M1 MacBook Air. I seem unable to run on these processors. I have successfully used Thonny to run Python programs on various Raspberry Pis under Raspian.
K
But it appears I have a larger problem. I can't seem to run Python programs on either ItsyBitsy M0 or M4 that import the "board" library. Not found. I suspect related.
I am running on Thonny on a MacOS M1 MacBook Air. I seem unable to run on these processors. I have successfully used Thonny to run Python programs on various Raspberry Pis under Raspian.
K
- dastels
- Posts: 15653
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Update Legacy Feather M0 w/LoRa to CircuitPython
If it can't find the board module, then it isn't running in CircuitPython (i.,e. on the board); it's running on cpython in Windows, Linux, etc.
Dave
Dave
- RocketScientist
- Posts: 88
- Joined: Wed Jan 11, 2017 11:43 pm
Re: Update Legacy Feather M0 w/LoRa to CircuitPython
Yup. Was just coming to that realization. How do I force execution on the MPU?
- dastels
- Posts: 15653
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Update Legacy Feather M0 w/LoRa to CircuitPython
You have to copy the code file to the CIRCUITPY drive. That's it. To see it run you'll need to connect to it via USB/Serial. Telnet, screen, minicom, will do the job as well as the REPL/Serial pane in Mu.
Dave
Dave
- RocketScientist
- Posts: 88
- Joined: Wed Jan 11, 2017 11:43 pm
Re: Update Legacy Feather M0 w/LoRa to CircuitPython
OK. Moved to Mu editor. Set mode for circuitypy
It seems I am editing the file on the CIRCUITPY drive ... but I now get a message saying "Could not find attached device".
I am finding this for a series of boards ... an ItsyBitsy M0 Express and an ItsyBitsy M4 Express. Getting same error. I can edit files on the CIRCUITPY drive but I can't seem to get them to execute. I try reset .. and get a small blinking green LED.
I can save/load files ...
It seems I am editing the file on the CIRCUITPY drive ... but I now get a message saying "Could not find attached device".
I am finding this for a series of boards ... an ItsyBitsy M0 Express and an ItsyBitsy M4 Express. Getting same error. I can edit files on the CIRCUITPY drive but I can't seem to get them to execute. I try reset .. and get a small blinking green LED.
I can save/load files ...
- RocketScientist
- Posts: 88
- Joined: Wed Jan 11, 2017 11:43 pm
Re: Update Legacy Feather M0 w/LoRa to CircuitPython
An update. Using Mu Editor on my MacBook Air M1 ... I can't seem to get a serial REPL connection to any board.
Using Mu Editor under Win10 Preview for ARM under Parallels on the M1, it seems to work.
Methinks there is a bug.
Using Mu Editor under Win10 Preview for ARM under Parallels on the M1, it seems to work.
Methinks there is a bug.
Please be positive and constructive with your questions and comments.