¿ªÔÆÌåÓý

Re: Can't update firmware


 

THis is what I did- Larry

Get the tinySA_version_number.bin file from and also download from there the files with names starting with DFU
(so the latest is tinySA_v1.3-317-g9d82970.bin)
THe other "DFU"??files?are important- the batch file and etc.

Rename the downloaded file to tinySA.bin

Connect the tinySA with USB, switch the tinySA on and enter DFU mode.

Download dfu-util from and check you can execute it.

For windows, open a command window and go to the folder with the downloaded files and run DFU_LOAD_BIN.bat. The tinySA should now be updating with the tinySA.bin file using dfu-util-static.exe

I did the?above on a W10 PC.

On Linux and Mac make sure dfu-util can run from the command prompt. Go to the folder where you downloaded and renamed tinySA.bin and execute
dfu-util -a 0 -s 0x08000000:leave -D tinySA.bin

On Thu, Aug 26, 2021 at 10:46 AM Terry Perdue <K8tp@...> wrote:
Version is 1.3-111-gcb2fe54. The tinySA app works great, except for the upgrading function. After selecting the file, the app puts the tinySA into DFU mode automatically, but as you can see from the screenshot I posted, the app seems to lose communication with it. Same result if I put the unit in DFU mode manually before selecting the file. And the dfusedemo app can't even detect the device when it's in DFU mode, regardless of whether I enter the mode before or after running the app.

On 8/25/2021 10:58 PM, Ted Chesley wrote:
Hey Terry, what FW version do you have loaded in the TinySA (menu=CONFIG/ VERSION)? And, when connecting to the TinySA app (before you try to update) does everything work Ok, you get a sweep and can control the unit from the app?

It appears the program is not sensing the unit is in DFU mode. Does the TinySA appear to go into that mode when selected in menu= CONFIG/DFU/ENTER DFU, before trying to upgrade?

Perhaps one of our group more familiar with this might have some suggestions.?


On Aug 25, 2021, at 8:21 PM, Terry Perdue <K8tp@...> wrote:

? Thanks, that got me closer. I found that when thought I copied the firmware file, I actually copied the link to the file, hence the .URL. Using the .dfu file you supplied I followed your step-by-step, and it still fails, with this display:

<foackeggcpkdcopi.png>


On 8/25/2021 7:59 PM, Ted Chesley wrote:
Hi Terry, see attached, re: TinySA update with TinySA app. maybe it will help. Not a complicated process. The application does it all. if you follow the steps attached. You need to have the correct .dfu file downloaded from the site. I have attached it as well (latest ver 1.3.317). Just copy to a file on the computer that you can browse to when the program requests it. Remember, as soon as you click on the file it will update and you can track the progress (which is just a few seconds) in the test block.?



-----------------------------------------

From: "Terry Perdue"
To: [email protected]
Cc:
Sent: Wednesday August 25 2021 7:05:52PM
Subject: Re: [tinysa] Can't update firmware

? I don¡¯t see anything in the upgrade document about renaming any file. Can you elaborate?



On Aug 25, 2021, at 5:08 PM, Larry Acklin <acklin@...> wrote:

?
I had the same issues. I used dfu-util, a bit of a PITA but figured it out. You need to follow the how to and also rename the file to what the batch file expects. It¡¯s a DOS based process but mine is running latest and works- passes self test and Cal.?

And Windows 10 needed to recognize the tinySA as a usb device- running zadig helped get it recognized. ?


Good Luck?
Larry?
KB3CUF?

On Wed, Aug 25, 2021 at 7:25 PM <K8tp@...> wrote:
I've downloaded dfusedemo, version 3.0.6. With it running, I connect the TinySA and put it in DFU mode, but the application doesn't find it. If it's any help, when I enter DFU mode I get the 'USB disconnect' sound.

I've viewed a couple of YouTube videos, and can't figure out what I could be doing wrong. Also, if I click CHOOSE and select the new .DFU file, the application reports that the file doesn't have the correct format. Seems I have two different issues.


Join [email protected] to automatically receive all group messages.