¿ªÔÆÌåÓý

Restore presets after firmware update? #feature_request


 

I know you can restore custom calibrations, but is there a way to save preset configurations? I usually have all of them with custom ranges and parameters, and while it isn't really hard to recreate this, it is a bit "fiddly" using the small controls. (Squinty eyes and fat fingers here!) Maybe a dump through the serial console?

73,

Alan
WA4SCA


 

On Mon, Nov 28, 2022 at 10:02 PM, Alan WA4SCA wrote:
... is there a way to save preset configurations?
Alan?WA4SCA,

You can save and restore the configuration data with the help of the command line tool dfu-util, available as and as??from Erik's site.

Switch the device in DFU mode with "MENU / CONFIG / -> DFU / ENTER DFU" and save (upload to PC) it with:
? dfu-util --device 0483:df11 --alt 0 --dfuse-address 0x0801D000 --upload tinySA_config.bin
Chose the file name to store as you like, e.g. 'tinySA_config.bin' - this file shall not exist before otherwise the command fails. So you cannot overwrite already existing set-up data.

Switch to DFU mode and restore (download to tinySA) the saved config:?
? dfu-util --device 0483:df11 --alt 0 --dfuse-address 0x0801D000 --download tinySA_config.bin

For tinySA Ultra the config address in flash has changed, the command are (untested):
? dfu-util --device 0483:df11 --alt 0 --dfuse-address 0x0803C000 --upload tinySA_Ultra_config.bin
?dfu-util --device 0483:df11 --alt 0 --dfuse-address 0x0803C000 --download tinySA_Ultra_config.bin
If you make a small HW modification you can enter the DFU mode for tinySA simply by pressing the jog switch while turning power on.

Martin


 

Martin,

Thanks for the clear, complete instructions on how to do this. Very much appreciated.

73,

Alan
WA4SCA


 

Another method would be to have a text file with the necessary commands to create and save the PRESETS in TinySA. Just copy it and enter it through the console or the app after the update.?
For instance, the attached file is the one I use to load the presets to monitor the TV channels in my house, also with markers:
- As startup (preset #0) we see all the band occupied.
- In preset #1 there is an analog channel.
- In presets #2, #3 and #4 there are several digital DTT channels.?

I hope it will be useful
Toni
?


 

Hmmmm. 30+ years ago, when packet was big, I used a very similar approach to saving a TNC configuration, and then restoring it later. Thanks for the reminder!

73,

Alan
WA4SCA