¿ªÔÆÌåÓý

Re: Firmware update #tinysa


 

¿ªÔÆÌåÓý

Karl,

please see comments below. For the avoidance of doubt, one feels your pain.

HTH, 73,

Robin, G8DQX

On 28/03/2022 00:01, Karl W4KRL wrote:
None of the instructions for firmware updating are either understandable or workable.
Unless one is quite specific it's very hard for a potential helper to know which set of instructions have been attempted to be followed.

The first approach was to use the instructions for?Updating the firmware using a bin file and STM32CubeProgrammer(Windows) unfortunately the link is dead.
The link at? looks very live (that link is quoted in )

Next:?Updating the firmware using a bin file and dfu-util(Windows, Linux and Mac) I downloaded the bin file and renamed it to tinyAS.bin. However the step "Download dfu-util from and check you can execute it" is meaningless.? I downloded dfu-util-0.11.tar.gz?but none of the files contained in it are executable. Likewise?DFU_LOAD_BIN.bat cannot be run on Windows 11 due to security issues.

The step "The tinySA should now be updating with the tinySA.bin file using dfu-util-static.exe" does not work because dfu-util-static.exe does not execute.

I then copied the first command from the bat file and ran it in a Windows command window:

C:\Users\User\Downloads>.\dfu-util-static.exe? -a 0 -s 0x08000000:leave -D .\tinySA.bin
dfu-util 0.9
?
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to
?
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Cannot open DFU device 0483:df11
No DFU capable USB device available

That means one or both of (at least) two things:

a) that the tinySA has not been put in to DFU mode, or

b) that there is no Windows DFU driver installed. The same firmware update mode is also used for the nanoVNA, and there is a clear-looking explanation of installing the driver under Windows 10 to be found at /g/nanovna-users/message/20899.

The DFU driver issue is not mentioned in the STM32Cube instructions [I don't know if this is an omission or the Cube programmer automagically sorts things out.]

The DFU Driver issue is also not mentioned (is missing) in the generic firmware update instructions to be found at .


I then Googled tinysa firmware update and found the YouTube by Lockdown Electronics. This looked promising until discovering that dfuse demo is no longer available. All links go to STM32CubeProgrammer and the instructions are no longer valid.

I tried a few more YouTube video and gave up after about three hours of useless effort.

Are there any instructions for firmware updating that are relevant and understandable for Windows 11 in March 2022?

AFAIK there is no set of instructions for firmware update that specifically address Windows 11. As for understandable that rather depends on who the specific audience member is, their domain specific knowledge &c.

Full disclosure: this author is not currently using any Windows machine, 11 or otherwise.

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