Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:
 </xterm> </xterm>
 </WRAP> </WRAP>
 +
 +===== Export XML firmware file from SigmaStudio =====
 +
 +1) Open your design in SigmaStudio and click the "Link Compile Connect" button for your Project.
 +
 +{{:resources:tools-software:linux-software:sigmastudio_export1.png?500|}}
 +
 +2) Click the "Export System Files" button and select a location and a name for the exported system files.
 +
 +{{:resources:tools-software:linux-software:sigmastudio_export2.png?500|}}
 +
 +{{:resources:tools-software:linux-software:sigmastudio_export3.png?500|}}
 +
 +3) Open up the location where you stored the exported system files and look for a file with the .xml extension.
 +
 +{{:resources:tools-software:linux-software:sigmastudio_export4.png?500|}}
 +===== 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.
 +
 +<xterm>
 +> ./fwgen.py design_48000.xml 48000 design_32000.xml 32000 design_16000.xml 16000 ... ssm4329.bin
 +</xterm>
 +
 +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 =====
resources/tools-software/linux-software/sigmadsp_genfirmware.txt · Last modified: 01 Jul 2014 09:48 by Lars-Peter Clausen