@ -27,23 +27,26 @@ Use github issue list only for firmware bugs and preferrably cross post to: http
## Prepare ARM Cross Tools
**UPDATE**: Recent gcc version works to build tinySA, no need old version.
The released firmware is built with **Arm GNU Toolchain 11.3.Rel1** (arm-none-eabi-gcc 11.3.1 20220712), on Windows the "GNU Tools ARM Embedded\11.3 2022.08" toolchain of ChibiStudio. Use exactly this version. Parts of the firmware depend on how fast the compiled code runs, and firmware built with other gcc versions is known to show noise or fail the self test (issues #70 and #152).
All versions are on the [Arm GNU Toolchain downloads](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads) page. Check the version in use with
$ arm-none-eabi-gcc --version
### MacOSX
Install cross tools and firmware updating tool.
Install the cross tools and the firmware updating tool.
Download arm cross tools from [here](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads).
@ -66,7 +69,7 @@ For tinySA Ultra use this command
### Build firmware using docker
Using [this docker image](https://hub.docker.com/r/edy555/arm-embedded) and without installing arm toolchain, you can build the firmware.
Using [this docker image](https://hub.docker.com/r/edy555/arm-embedded) and without installing arm toolchain, you can build the firmware. Note that this image has gcc 8.2, not the release toolchain (see above).
$ cd tinySA
$ docker run -it --rm -v $(PWD):/work edy555/arm-embedded:8.2 make
- Console: "measure {mode} [value]..." starts a measurement of the MEASURE menu, the values the menu asks for are the arguments, e.g. "measure channel_power 5800M 20M". Modes: off|harmonic|oip3|phase_noise|snr|3db_width|occupied_width|am|fm|thd|channel_power|linear, on the Ultra also nf_tinysa|nf_store|nf_validate|nf_amp
- Console: "recall defaults" loads the factory settings in low input mode, as PRESET > LOAD DEFAULTS, but does not store them as the startup preset
- Console: "freq {frequency}" sets zero span at the frequency, as "sweep cw" (it only paused the sweep)
- Console: after "scan {start} {stop}" the sweep is back on its own frequencies and points, the frequencies of the scan stayed and following commands such as "frequencies" and "scan" used wrong frequencies
- Console: with MULTI BAND on, "scan {start} {stop}" scans the given range instead of the bands. The next scan took about 30 s and "sweep" showed a wrong stop frequency (Ultra only)
- Console: "hop {start} {stop} {points}" measures exactly that number of points, the last one at stop (it measured one more), and an invalid range no longer leaves the sweep paused (Ultra only)
- Console: the usage text of "if" and "sd_read" showed "usage:" twice
V1.4305 2026-11-10 For all tinySA Ultra models
- Signal generator: BURST modulation switches the output on and off: ON TIME of every PERIOD, continuously or COUNT bursts. With MODULATION > BURST selected the FREQ, AM DEPTH and FM DEVIATION buttons set PERIOD (2us..89s), ON TIME and COUNT (0 = continuous) and START SWEEP becomes START BURST, which starts the COUNT bursts or restarts the continuous bursts. The frequency is not changed during a burst. Burst works up to 1.13 GHz and above it with OUTPUT "Highest accuracy", not with "Cleanest signal" (MOD: BURST N/A)
- Console: "modulation burst|period|ontime|count|trigger", e.g. "modulation period 1m", "modulation ontime 100u", "modulation count 5", "modulation trigger"