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
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
Dear Erik, |
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
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: 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 |
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:
Peter |
to navigate to use esc to dismiss