¿ªÔÆÌåÓý

How to update using Mac


 

Can someone tell how to update the firmware using a iMac in simple terms. I looked over the Wiki, but over my head, seems to be Windows biased.


 

Hi Guido,

The instructions which are the same for all OS are not duplicated. Below is a modified portion for macOS:

Download the current firmware from the provided site link and rename it to tinySA.bin (remember the folder name).

Download dfu-util from??and check you can execute in the Terminal program.

From within the Terminal program, ensure you are in the folder where you downloaded dfu-util and the renamed tinySA.bin
(cd to Download for example)

Now from the Terminal shell prompt, type the following exactly (remember, in UNIX upper case is different from lower case).

dfu-util -a 0 -s 0x08000000:leave -D tinySA.bin

Hope this helps.

Larry
AC9OX


 

Download
Extract .tar archiv via double click on the file
Open the Terminal program
# change directory to download folder
$ cd <and drag the folder dfu-util-0.11-binaries with the mouse from Finder to the Terminal> ENTER
$ cd dfu-util-0.11-binaries/darwin-x86_64
# test for the right program
$ dfu-util -V
dfu-util 0.10
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt

# flash tinySA
# Enter DFU mode, when connected via USB
tinySA Menu->CONFIG/DFU->ENTER DFU

Download actual firmware in same folder:
http://athome.kaashoek.com/tinySA/DFU/
actual: tinySA_v1.3-347-g31eb02e.dfu
# flash the firmware
$ dfu-util -a 0 -D tinySA_v1.3-347-g31eb02e.dfu
# Reset tinySA

# Later copy the dfu-util program to a convenient place.

73, Rudi DL5FA


 

Totally lost now. I just don't understand what you guys are telling me. Seems to be two different ways that you showing me. ?Also when I click on??http://dfu-util.sourceforge.net/releases there are whole list of files, which ones to use, all or just one?


 

On Sat, Jun 18, 2022 at 02:31 AM, <fastguido@...> wrote:
Totally lost now.
Hello Guido,
OK, if you have never used the Terminal program under MacOS it is not so easy.
When you go web page
you will see a big green button, labeled Download, see below:



Click on that green button and a download? of file dfu-util-0.11-binaries.tat.xz starts to MacOS folder Download (usually).
Then you need to rename in Finder file dfu-util-0.11-binaries.tar.xz to dfu-util-0.11-binaries.tar, which is an archive file.
With a double click of the mouse on file dfu-util-0.11-binaries.tar this file is unpacked to folder dfu-util-0.11-binaries.
Then you have to use the Terminal.

If you have never used the Terminal in MacOS, you have to learn something new.
Good luck.

73, Rudi DL5FA


 

On Fri, Jun 17, 2022 at 08:37 PM, Rudi wrote:
https://sourceforge.net/projects/dfu-util/
I tried to download, but Safari won't allow me to, "connection not private"


 

"connection not private"
Yes, safari does that to me all the time, even on a PC! I do not u derstand it.


 

Sometimes you have the option to go to an advance screen and ¡°allow¡± the connection. ?Sometimes you can adjust options within the browser to allow the connection.

Mostly this is a ¡°protection¡± to preclude you from being scammed¡­

For Macintosh:

1-Search Google for ¡°Safari connection not private¡±

2-If you have Chrome or Firefox browser(s), try them.

3-Call Apple Support (free) and ask for help (also free) and they will talk you through it.

Larry
AC9OX


 

On Sun, Jun 19, 2022 at 07:16 PM, <fastguido@...> wrote:
tried to download, but Safari won't allow me to, "connection not private"
Hello Guido,
I tried the download at an actual iMac with Safari.
Safari asked me, if I realy want to download the file.
I clicked on Yes, and the download started.
After removing the extension .xz a double click unpacked the archive.
73, Rudi


 

Dump safari and use Chrome. Problem sorted.


 

Ok, finally got the dfu-util downloaded, now what?


 

Hi Guido,

It depends on the actual name of the file you downloaded.

It might be a binary file which can be used directly or it might be compressed and will need to be uncompressed.

Then you will need to open a Terminal and access the file to see that it runs OK.

Let¡¯s get there first before going further.

Take car,

Larry
AC9OX


 

The dfu-util -0.11-binaries is what downloaded from sourceforge.


 

On Tue, Jun 21, 2022 at 07:39 PM, <fastguido@...> wrote:
The dfu-util -0.11-binaries is what downloaded from sourceforge
Hello Guido,

As I have written in my post /g/tinysa/message/7126
now with more details:

Download
Extract dfu-util-0.11-binaries.tar.xz archiv via double click on the file
Open the Terminal program
# change directory to download folder
$ cd <and drag the folder dfu-util-0.11-binaries with the mouse from Finder to the Terminal> ENTER

# Change Directory to the binary files
$ cd darwin-x86_64

# test for the right program
$ dfu-util -V
dfu-util 0.10
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt

# flash tinySA
# Enter DFU mode, when connected via USB
tinySA Menu->CONFIG/DFU->ENTER DFU

Download actual firmware in same folder:

actual: tinySA_v1.3-347-g31eb02e.dfu
# flash the firmware
$ dfu-util -a 0 -D tinySA_v1.3-347-g31eb02e.dfu
# Reset tinySA

# Later copy the dfu-util? folder with the libraries (darwin-x86_64) to a convenient place.

73, Rudi DL5FA


 

What is #, $CD, $?
Can I just drag?darwin-x86_64 into the terminal program? How do I test for right program?


 

On the PC, I just download the file, open the flashing program and press a button.........
That is why I use Windows.............................................................. ;)


 

On Tue, 21 Jun 2022, G4XRZ via groups.io wrote:

On the PC, I just download the file, open the flashing program and press a
button.........
That is why I use
Windows.............................................................. ;)
The most insecure OS in the world, requiring monthly patches to fix major
security defects and previous patches that didn't work? Your choice, I
suppose...

For the record, my Mac is just a client into my FreeBSD server (plus some
stuff like Gnuplot etc); the various BSD systems are probably the most
secure around.

-- Dave VK2KFU


 

On Wed, Jun 22, 2022 at 01:05 AM, <fastguido@...> wrote:
Can I just drag?darwin-x86_64 into the terminal program? How do I test for right program?
Hello Guido,
Unfortunately I have to give up.
I am using an old MAC computer with MacOS Mojave 10.14.6 (32 and 64 bit programs).
At this OS version installing dfu-util was easy.

Now I have tried the installation at my wife's iMac with actual MacOS Monteray 12.2.1.
It looked like to use *Homebrew* for the dfu-util installation.
But first you have to install *Xcode* via App store, about 20 GB on the SSD.
Then to install *Homebrew*. https://brew.sh
Next via teminal:
$ brew install dfu-util
# By the way *$* stands for the terminap prompt of the shell program, # for a comment.
That worked fine.
Starting dfu-util gave an error message; can not load USB library.
At this point I gave up, sorry.

73, Rudi DL5FA


 

Starting dfu-util gave an error message; can not load USB library.
¡ª-

I have tried the same with macOS 10.12 High Sierra on a 2012 MacBook Pro and have this same USB library issue.

In addition, I don¡¯t think that this is an easy solution for someone who is not familiar with working in the shell.

Larry
AC9OX


 

@Dave VK2KFU
What ever you would prefer Dave ;) however misguided and brainwashed you may be.
I prefer to go off real world personal experience backed by industry leading qualifications.
Joe, G4XRZ (CISSP)