开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date

Re: Trouble connecting the TinySA Ultra to PC

 

Can you try if a terminal emulator SW like Tera can connect to the tinySA serial port?
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


Trouble connecting the TinySA Ultra to PC

 

I'm having trouble connecting the tiny SA Ultra to my Windows 10 laptop. The drivers are installed, and I can see a USB serial device appearing in the device manager. However, when I run tinySA-APP, select the proper port, and click connect, it initially shows as connected. However, after a short while, it displays as disconnected again, and I've never been able to see a plot even when it's supposedly connected.
?
The log available under 'Tiny SA Comms' simply states 'rx link timeout... disconnecting'. Do you have any suggestions or clues that might help resolve this issue?

I've just tried connecting to another laptop this time running Windows 11, but I encountered the same result. So it doesn't seem to be related to a specific PC.

HW version: V0.4.5.1 (168)
SW Version: tinySA4_v1.4-49-g4f5396a
Build time: Feb 9 2023 - 09:51:54






Re: What to do when a selftest fails

 

Its a clone
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


Re: What to do when a selftest fails

 

Dear Erik,

I bought a TinySA Ultra at HamGeek Store on AliExpress and the device is failing self test No. 10.
I hope you can help me and identify the problem. I updated the SA with the newest firmware.
Everythings seems to be fine. But now the self test fails at step 10.
I am now not quite sure if it is a clone or not.
Any help on this issue will be greatly appreciated.



Regards Frank


Re: Enhancement Requests: File Management Sort By Name and Rename

 

Guess the file rename should be possible?
Yes, rename possible
I think add "Name" button like "DEL", after enable it, next click on filename - call text input dialog for enter name and after rename it if ok (but leave file extension)
need use?f_rename(old, new) function
Add use this function increase code size


Re: Enhancement Requests: File Management Sort By Name and Rename

 

I was not actually expecting a programmatic resort and had assumed the underlying core SD i/o would support directory file listing with multiple sort options (like filename, create date, modify date) so the list of filenames could just be retrieved again in the desired order. Appears my assumption was wrong.

Peter


Re: Enhancement Requests: File Management Sort By Name and Rename

 

@ctech, Here is a link to the source on Github. If you find a way to do sorting within the TinySA memory limits, please submit a pull request.

https://github.com/erikkaashoek/tinySA


Re: Enhancement Requests: File Management Sort By Name and Rename

 

@DiSlord
Guess the file rename should be possible?
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


Re: Enhancement Requests: File Management Sort By Name and Rename

 

TinySA contain only 48k RAM, for all

I add file browser option in NanoVNA and Tiny. For all I use 4k RAM, shared vs LCD buffer (for all, include read buffers, FAT cache, and small text draw buffer)
Also limits in code size.
For sorting need load all filenames (if use short names 8 byte for file, for long name up to 255 bytes)

Interesting how possible sort something and not load in memory, sort operation mean swap objects, lot of swaps. There store sort results?

PS?adding a file browser even in this form, given the resource limitations, was quite a non-trivial task.


Re: Enhancement Requests: File Management Sort By Name and Rename

 

In the wiki you can find the link to the github repository with the code.
Feel free to study how the file names are read from the SD card and displayed on the screen
Any proposal for some way to sort without loading all file names in memory is most welcome.
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


Re: Enhancement Requests: File Management Sort By Name and Rename

 

@Erik
I would think an in-place sort wouldn't use any extra memory. Bubble-sort for instance is very easy to implement, if not the best performance.

I don't know anything about this firmware or the structures used so maybe there is some other limitation that makes simple sorting not possible? If so maybe that's another area that could be optimized. Is any of this code available to look at? Maybe from the NanoVNA?


Re: Finally got to make use of the TinySA

 

On Fri, Mar 1, 2024 at 07:45 AM, <phil@...> wrote:
I've got Webrx up and running on a Pi4 but still only playing with it as I've not got any decent antennas.
Hi Phil,

OK sounds good, PM me if you wish to discuss in greater detail. It will save cluttering up the forum.

Regards,

Martin


Re: Finally got to make use of the TinySA

 

Thanks for that Martin, I listened for a while, I've got Webrx up and running on a Pi4 but still only playing with it as I've not got any decent antennas.

Phil


Re: New FW release: Small selftest update

 

If you have 4.5.1 on the display and 4.5.1.1 on the back
Where/when did you buy and can you post a photo of front and back?
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


Re: Enhancement Requests: File Management Sort By Name and Rename

 

Peter,
Sorting the file names is not possible due to limited memory.
Will look into renaming
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


Re: New FW release: Small selftest update

 

Strongly recommend running a self-test BEFORE firmware update for baseline.

Peter


Re: New FW release: Small selftest update

 

开云体育

Hello All,

This has been discussed multiple times in the group but it is worth raising it again.

On both of the TinySA and TinySA Ultra firmware download pages on Erik's website, there is an excellent explanation on how to use STMCubeProgrammer to update the firmware on either of the TinySA variants. It also mentions the fact that the screen will go white on the original TinySA and blank on the Ultra when in DFU Mode.
For Windows, STMCube is definitely the easiest way to do a firmware update on the the TinySA (and NanoVNA-H & -H4).

After you update the firmware, make sure you do the following:
1. Clear Config
2. Calibrate
3. Run Self Test

If it fails Self Test, make sure you have connected the 2 SMA connectors together with a short SMA-M to SMA-M cable supplied with the unit and repeat the above three steps.
It is also recommended that you fit SMA M-F "connector saver" adaptors to each port to minimise wear in the device connectors.
These are much easier to replace than the device PCB mounted connectors:-).

HTH...Bob VK2ZRE


On 29/02/2024 11:40 pm, Leif M wrote:

Somehow I got an email? asking how I? did the updating. As I have confused two programs in my PC, it is best to answer here. I used STM32CubeProgrammer

First you need STM32CubeProgrammer, mine is a bit old but it works in? Win7. This? a link to several versions of it.

When I plugged in? the USB cable it was a bit tight and I had to press harder to? for it to make contact
Then I pressed the Jog wheel down and turned the SA on. USB cable was connected now. Windows noticed that a USB device was connected, but the display of SA stayed blank.
Then I clicked a button on the STM32CubeProgrammer and loaded the FW file and updating started.

The STM32 ST-LINK Utility is not the most intuitive or easiest program? to use, but it is small, so this does not really matter. There is only? limited number things you can do with it.
This is what I used, sorry about the confusion


Re: Enhancement Requests: File Management Sort By Name and Rename

 

Github issues #99 and #100 created.


Enhancement Requests: File Management Sort By Name and Rename

 

I have found many neat uses for my Ultra and find the capabilities quite rich and the device very easy to use and configure. Thank you!

I do have a couple suggestions around file management. Perhaps either one is already implemented and I just missed it?

1. In the dialogs where filenames are displayed, it appears files are sorted by file creation date. I find in most cases, for me anyway, a sort by name would be much preferred. My next preferred sort would be reverse by modification date (most recently modified first).

2. Additionally, it would be great if there were a way to rename files (directly, not by connecting a PC or other device).

As a thought to solve both of these, two control buttons could be added to the "Preset / Load SD" page:

  1. One on the left-bottom corner to the right of the DEL control labeled REN for REName. This would permit selection of a file followed by the file naming dialog.
  2. One on the right-bottom corner to the left of the X control labeled SRT for SoRT. This would toggle the file sort order between whatever options are permitted (preference being name, modification date, creation date). Bonus points if sort order saved across boots.

Peter


Re: New FW release: Small selftest update

 

Should match the HW version number on the label on the back of your unit - mostly. I had the 4.5.1 on the display like you and on the back the label had HW Version V0.4.5.1.1