Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Update Legacy Feather M0 w/LoRa to CircuitPython
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Update Legacy Feather M0 w/LoRa to CircuitPython

by RocketScientist on Sun Apr 25, 2021 6:38 pm

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?

RocketScientist
 
Posts: 82
Joined: Wed Jan 11, 2017 11:43 pm

Re: Update Legacy Feather M0 w/LoRa to CircuitPython

by dastels on Mon Apr 26, 2021 10:52 am


dastels
 
Posts: 6070
Joined: Tue Oct 20, 2015 3:22 pm

Re: Update Legacy Feather M0 w/LoRa to CircuitPython

by RocketScientist on Fri Apr 30, 2021 10:02 pm

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

RocketScientist
 
Posts: 82
Joined: Wed Jan 11, 2017 11:43 pm

Re: Update Legacy Feather M0 w/LoRa to CircuitPython

by dastels on Sat May 01, 2021 9:30 am

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

dastels
 
Posts: 6070
Joined: Tue Oct 20, 2015 3:22 pm

Re: Update Legacy Feather M0 w/LoRa to CircuitPython

by RocketScientist on Sat May 01, 2021 3:03 pm

Yup. Was just coming to that realization. How do I force execution on the MPU?

RocketScientist
 
Posts: 82
Joined: Wed Jan 11, 2017 11:43 pm

Re: Update Legacy Feather M0 w/LoRa to CircuitPython

by dastels on Sat May 01, 2021 3:21 pm

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

dastels
 
Posts: 6070
Joined: Tue Oct 20, 2015 3:22 pm

Re: Update Legacy Feather M0 w/LoRa to CircuitPython

by RocketScientist on Sat May 01, 2021 4:36 pm

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 ...

RocketScientist
 
Posts: 82
Joined: Wed Jan 11, 2017 11:43 pm

Re: Update Legacy Feather M0 w/LoRa to CircuitPython

by RocketScientist on Sun May 02, 2021 4:26 pm

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.

RocketScientist
 
Posts: 82
Joined: Wed Jan 11, 2017 11:43 pm

Please be positive and constructive with your questions and comments.