¿ªÔÆÌåÓý

Re: Can't update firmware


 

Personally i have been updating FW using my Android phone and the stmdfuusb application.



Put the tinySA in dfu, connect it to the phone USB port, select the firmware and flash.

It supports many fw formats (hex, bin extensions) so just make sure to select the correct format.

/Niel

On Thu, Aug 26, 2021, 20:16 Terry Perdue <K8tp@...> wrote:
The device manager didn't change after installing the driver either.

Sorry to be taking up so much bandwidth with this...

On 8/26/2021 11:11 AM, Terry Perdue wrote:
Yes, I put DFUdemo on my wife's laptop, and it too didn't find the tinySA, which was in DFU mode.

In the folder shown below, I opened the version.txt file, and it said to double-click on dpinst_amd64.exe for a 64-bit system. I did that in the Win10 folder, and it installed the driver. But dfusedemo still doesn't see the device (in DFU mode), and the tinySA app still gives gives the result I posted in an early screenshot. In other words, no change. BTW, thanks for your continued help. Hopefully there will be a Duh! moment soon.

Terry


On 8/26/2021 10:44 AM, Ted Chesley wrote:
Hey Terry, apparently the DFU driver is not loading and showing up in the USB Devices section. This driver (two of them) are installed with the DFUdemo program from ST Micro. I¡¯m not around my computer right now but I¡¯ll look it up when I get back home. It¡¯s possible something went wrong when the ST program was installed. Your ST version number is the same as mine so should be compatible. Look in the program file under ST Micro and see what drivers are listed. Again I¡¯ll look at mine and send you a screen shot later. I am using both Win10 and Win7 with no problems. You mentioned you tried the update on your wife¡¯s laptop, did you also put DFUdemo on it?



On Aug 26, 2021, at 9:53 AM, Terry Perdue <K8tp@...> wrote:

? Ted,

I'm good until your step 3. Going into DFU mode clears the COM port line and adds the 'Universal Serial Bus devices' line, which has no drop-down. What next? And where do I find the driver I need, and how do I install it?

<ljhjpncojjecinbk.png>


On 8/26/2021 9:41 AM, Ted Chesley wrote:
Good Morning Terry, Take a look at this to see if the unit is setting up correct drivers as noted by Ignacio:

1. Go into Device Manager and look at the ports section. Connect the TinySA and turn ON. A new ST Micro port should show up as COM PORT #.

2. Place the TinySA in DFU mode. The Ports section COM port should clear.?

3. Go to Universal Serial Bus Controllers and look for an entry "STM Device in DFU mode". If it is there and doesn't have the yellow triangle by it, the DFU driver has loaded correctly. If it is not there,? or has the yellow triangle, the driver is incorrect on not loaded.? I had this issue once a while back. I believe I uninstalled, and reinstalled the driver and everything was back to normal.?

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

From: "Terry Perdue"
To: [email protected]
Cc:
Sent: Thursday August 26 2021 9:09:54AM
Subject: Re: [tinysa] Can't update firmware

Is this what I'm looking for?



On 8/26/2021 8:33 AM, EB4APL wrote:

Hi Terry, a very basic question: Did you updated the firmware ever before? If not, probably you don't have the correct driver for the DFU mode, this is not the driver used to communicate with the PC apps. The DFU mode driver comes with the dfusedemo app and without it the firmware can not be uploaded.

Ignacio EB4APL


El 26/08/2021 a las 16:51, Larry Acklin escribi¨®:
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.



Libre de virus.




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