Feather M4 Uf2 firmware flash

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ashsk
 
Posts: 23
Joined: Tue Dec 15, 2020 7:39 am

Feather M4 Uf2 firmware flash

Post by ashsk »

Hi,

I'm using Feather M4 for a lot of projects and I'm curious to know if I can flash the firmware over USB by just drag and drop of the .uf2 file? I understand that's how easy it is to flash the micropython scripts by copying the relevant files to the USB storage drive. I've already tried upgrading the bootloader using the Uf2, but I'm trying to find out if I could also flash my firmware similarly?

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M4 Uf2 firmware flash

Post by dastels »

Yes, that's how you install the CircuitPython firmware. You copy a uf2 to the FEATHERBOOT drive. You can also use Arduino or PlatformIO.

Dave

User avatar
ashsk
 
Posts: 23
Joined: Tue Dec 15, 2020 7:39 am

Re: Feather M4 Uf2 firmware flash

Post by ashsk »

Perhaps my question wasn't clear enough. I meant can I write a C code and generate the binary file which is converted to uf2 format to flash on the FEATHERBOOT disk?

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M4 Uf2 firmware flash

Post by dastels »


User avatar
ashsk
 
Posts: 23
Joined: Tue Dec 15, 2020 7:39 am

Re: Feather M4 Uf2 firmware flash

Post by ashsk »

I did take a look that. I actually followed the instructions and was able to generate a uf2 file from the Arduino LED blink example. When I copied it to the Feather M4 in the bootloader mode, the bootloading cycle happens and then nothing happens. The LED on pin 13 is supposed to blink but it does not.

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M4 Uf2 firmware flash

Post by dastels »

To confirm a couple things:

The code works when uploaded directly from/by Arduino?
You copied the UF2 to FEATHERBOOT?

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”