Giga R1 installed micropyton

I went through this forum for a few days now, I went through the youtube videos (only one popped up today, attempting to explayn). None of this work. My problem is simple. I want to load micropython, that is it nothing more nothing less.

At this time there is not one sungle tutorial that starts off by saying for ubuntu:
Download the latest version of dfu, install brew by following these steps:
1.
2.
3.
Then once you installed brew, install brew to your local folder
brew install dfu-util
Only at this point can you run
dfu-util -l
But remember to press the reset button twice.
Now for the firts time it will actually connect to enable your micro python, but there is more
You now want to flash the fantastic micro python to the board, using the command: (as is explained: dfu-util -w -a 0 -d 2341:0366 -D ARDUINO_GIGA-20230413-unstable-v1.19.1-1015-g0acc73344.dfu
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
Waiting for device, exit with ctrl-C
Opening DFU capable USB device...
Device ID 2341:0366
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash 2MB "
dfu-util: Only DfuSe file version 1.1a is supported
dfu-util: (for raw binary download, use the --dfuse-address option)

I can't be the only person who are trying to upload micropython, Just to get to this point took me two days and it is still not solved.

I keep on reading and reading this forum, surely we can save the time and improve the quality of live of everybody who believe that this board is fantastic, by just publishing a single page or in this forum just post (For an ubuntu install do this), (For an Windows install do this), (For a MAC do this).

Just to get it up and running with micropython, heck throw a blinky in. But wasting time like this is not helping me buy the second and third board.

Great board but very expensive to get going, very very expensive. Time wated can never be returned and with the time i hav enow lost and can never have back, I feel cheated.

Did you try the directions from https://micropython.org/download/ARDUINO_GIGA/


dfu-util -w -a 0 -d 2341:035b -D build-ARDUINO_GIGA/firmware.dfu

Where “firmware.dfu” is one of the nightly builds?

I only got sorted when I followed this YouTube: Start micropython on Arduino GIGA - YouTube, but.... I had to use this ARDUINO_GIGA-20230411-unstable-v1.19.1-1010-ga22136a73.dfu from the arduino site to actually get it working.

I literally wasted days to get to a point where I finally have microconda installed. It is now solved, I suspect similar issues will pop up with loading what should be standard sketches, but need to get there with this board.

It should have been a lot simpler. Ps. that YouTube video was only posted 6 hours before my post on this forum. I want to hook this board up as a real personal assistant with heart rate monitoring etc. (Also with the large language models etc.) it was this one task that was supposed to be very simple that got me to vent a little. But none of the manuals worked out of the box and even the best video I have now seen, I had to make a change to get it to work.

Glad you got it working.

1 Like

This site and Arduino in general are community driven. Please consider improving the experience for others by writing a tutorial on the process and posting it in the tutorials section. You can help facilitate the improvement that you recommended.

Glad you got it working, I have not had a reason to spring for one yet, but when I do it would be awesome to use your tutorial to load uPython onto one of the cores.

Good point. I will see if I can do a bit of a write-up start to finish on how to get micropython installed. Paying it forward as they say. I agree, in life one should not always look to take, but give back.

Will keep you posted (pun intended).

2 Likes

Hi @dbands, you can find tutorials on using the GIGA R1 WiFi in the official documentation: https://docs.arduino.cc/hardware/giga-r1-wifi

At this page, you can also find the MicroPython installation tutorial, which is a step by step guide.

Thank you for this, but I had to use this in conjunction with the video I referenced. I had to combine the youtube video, with the page you referenced (As this was where I got the Brew install), and then I had to ignore the reference the page gave to the version of micropython and use one of the nightly builds,I must add that I used a clean Ubuntu install: These were the steps that I had to take:

Download the version of micropython into folder

Download from here into a folder you have easy access to
https://docs.arduino.cc/micropython/

Click on GIGA R1 Firmware
Select a version with a .dfu extention

setup dfu-util

sudo apt update
sudo apt upgrade

Install Brew

sudo apt-get install build-essential
sudo apt install git -y
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/h2s/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

#Now install dfu-util
brew install dfu-util

Test the version installed it must be dfu-util 0.11 or higher

dfu-util --version

Click rst twice

If dfu-util > 0.11 then

dfu-util -w -a 0 -d 2341:0366 {replace this with the downloaded .dfu}

Click rst once

Board shows up as folder -> Then you won.

2 Likes

I posted the steps, this is a great board.