This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
resources:tools-software:linux-software:sigmadsp_genfirmware [03 Jan 2013 20:42] – external edit | resources:tools-software:linux-software:sigmadsp_genfirmware [26 Jun 2014 05:52] – [Export XML firmware file from SigmaStudio] Lars-Peter Clausen | ||
---|---|---|---|
Line 48: | Line 48: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ===== Export XML firmware file from SigmaStudio ===== | ||
+ | |||
+ | 1) Open your design in SigmaStudio and click the "Link Compile Connect" | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 2) Click the " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 3) Open up the location where you stored the exported system files and look for a file with the .xml extension. | ||
+ | |||
+ | {{: | ||
+ | ===== Generate the binary firmware file ===== | ||
+ | |||
+ | Currently the SigmaDSP Firmware Utility for Linux only runs on a Linux system. The next step is to copy the XML file from the previous instructions to a Linux machine. | ||
+ | |||
+ | If you want to support multiple samplerates with your firmware file you need to export a XML file for each samplerate. Each file needs to be specified on the command line followed by the samplerate it was generated for. The last parameter is the name of the output file. | ||
+ | |||
+ | E.g. | ||
+ | |||
+ | < | ||
+ | > ./fwgen.py design_48000.xml 48000 design_32000.xml 32000 design_16000.xml 16000 ... ssm4329.bin | ||
+ | </ | ||
+ | |||
+ | When such a firmware file with support for multiple samplerates is loaded the kernel driver will automatically take care of programming the correct design for the currently selected samplerate to the SigmaDSP. | ||
===== Load the firmware on the target system ===== | ===== Load the firmware on the target system ===== |