Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Tinysa
- Messages
Search
SOLVED: tinySA Basic dfu-util stuck at 0% forever when trying to update firmware
#firmware_update
#tinysa
Workaround:
Firmware update successful when using an external USB hub (USB 3 also).? After successful flash, I try again without USB hub and gets stuck at 0%. With USB hub, success.
?
?
Original message:?
Please help, dfu-util connection is working (finds device) but flash not responding.
?
Bought from ?>1 year ago
Self-test: 12/12 pass
Firmware is from 2023
?
I try to update firmware. I follow https://tinysa.org/wiki/pmwiki.php?n=Main.UpdatingTheFirmware
?
Ubuntu 24.04 LTS
USB 3 port
$ sudo apt install dfu-util
(I also try manual dfu-util from provided link in wiki, same result)
$ curl -o tinySA.bin
$ dfu-util -a 0 -s 0x08000000:leave -D tinySA.bin
(I censor vendor:device)
Stuck at 0% forever. ?
Verbose output with -v still stuck at 0% forever
?
If I try to read data, also stuck at 0% forever.
$ dfu-util -a 0 -s 0x08000000:1024 -U newfile.bin
?
Please help I tried for 2 hours no luck |
Re: ZS-407 is here
Ordered mine a couple days ago! At the official store!? Roy? WA0YMH On Sat, Jan 11, 2025, 2:41?PM Clyde Lambert via <clyde.lambert=[email protected]> wrote:
|
Re: ZS-407 is here
Does anyone know if Zeenko Store has stock?? On Sat, 11 Jan 2025 at 09:04, Erik Kaashoek via <erik=[email protected]> wrote:
|
Re: Issues with TinySA USB Connection in C#
On Fri, Jan 10, 2025 at 09:57 AM, <voloshyn.v.v@...> wrote:
read_data = unpack('cBB'*N_points,bin_data[1:-5]) Perhaps Martin's script at: ?? will get you on the right track.?
?
Herb? |
Re: ZS-407 is here
开云体育The original ZS-407 announcement post on Facebook says that the LNA on the ZS-407 only goes down to 1MHz vs 100kHz for the 406 and earlier models. Is that correct? If so, that difference is not included in the comparison table linked below.?Regards, Jeff On Jan 10, 2025, at 8:28?AM, Erik Kaashoek via groups.io <erik@...> wrote:
|
Re: ZS-407 is here
is the 407 ready to order on AliExpress ?? On Sat, Jan 11, 2025 at 5:32?AM AF7RU via <mdk32366=[email protected]> wrote:
|
Re: Issues with TinySA USB Connection in C#
i use this improrts?
from struct import unpack
import numpy as np
read_data = unpack('cBB'*N_points,bin_data[1:-5]) I get this errror here struct.error: unpack requires a buffer of 30 bytes could you please advise what is wrong here? ps I dont know python at all :( ? |
Re: Issues with TinySA USB Connection in C#
On Fri, Jan 10, 2025 at 05:45 AM, <voloshyn.v.v@...> wrote:
Could you please advise how to use "scanraw" instead of "data" console command in this case.In addition to Erik's Wiki reference, here is an example of a function pulled from a web search: ?
def get_tinysa_scanraw(f_low, f_high, N_points):
? ? ser.timeout = 100 ? ? ser.flushInput() ? ? ser.flushOutput() ? ? ser.flush() ? ? ser.read_all() ? ? scan_command = "scanraw"+" "+str(int(f_low))+" "+str(int(f_high))+" "+str(int(N_points)) ? ? result = "" ? ? data = "" ? ? ser.write(str(scan_command + "\r").encode('ascii')) ? ? ? sleep(0.05) ? ? ser.readline() ? ? ser.readline() ? ? bin_data = ser.read_until(b"}ch> ") ? ? read_data = unpack('cBB'*N_points,bin_data[1:-5]) ? ? m_power = np.zeros(N_points, dtype=np.float64) ? ? for i in range(N_points): ? ? ? ? m_power[i] = (read_data[i*3+1] + read_data[i*3+2]*256)/32-174 ? ? return m_power ?
?
Please note this is for the tinySA Ultra.? The tinySA uses a scaling offset of 128 instead of 174.? Also, I have not tested the code, but the math looks OK to me.
?
Herb |
Presets and Frequency Markers
I am having trouble with frequency Markers and Presets, that hopefully someone can help with.
I've set the markers with 'Search' -> 'Enter Frequency' and set the marker to 733MHz. 'Tracking' is turned off.? This works fine, and the marker does what I want it to. Then I save it as a 'Preset', and later when I load that Preset the the marker frequency has changed. E.g. to 733.2MHz. Each time I reload the Preset, the Marker Frequency stays the same (e.g. always 733.2MHz), but is not the set frequency. But If I save the preset again, it might change to a different marker value (e.g. 736.6MHz) I've tried this with Presets on the device, and on the SD Card. I've also tried it with 'Save Settings' enabled and disabled. Should 'Enter Frequency' lock the marker, and should this be saved with the Preset? Many thanks to anyone for any advice that you might have. |
Re: ZS-407 is here
Many thanks.? Congratulations on a great product. On Fri, Jan 10, 2025 at 8:29?AM Erik Kaashoek via <erik=[email protected]> wrote:
|
Re: ZS-407 is here
Is there a summary of the differences I can reference somewhere?? The Tiny SA, in my opinion, is revolutionary.? Like handing mankind fire. On Fri, Jan 10, 2025 at 6:32?AM David Feldman via <wb0gaz=[email protected]> wrote: |
to navigate to use esc to dismiss