I've been working with SigmaStudio and have created a DSP project there that does what I want to do. I then followed the instructions in https://github.com/hifiberry/hifiberry-dsp/blob/master/doc/dspprofiles.md to export an XML file from SigmaStudio and I tried to install the profile using dsptoolkit. I get the following error:
dsptoolkit install-profile ElephantEARS-v0.1.1-Profile.xml
Failed to install DSP profile ElephantEARS-v0.1.1-Profile.xml
I put the sigmatcpserver into debug mode and got the following output:
INFO:root:running as root, data will be stored in /var/lib/hifiberry
INFO:root:not using ALSA volume control
INFO:root:not enabling LG Sound Sync
INFO:root:detected ADAU14xx DSP
INFO:root:/bin/systemd-notify --ready
INFO:root:starting TCP server
INFO:root:calling /bin/systemd-notify --ready
No status data could be sent: $NOTIFY_SOCKET was not set
INFO:root:writing XML file: b'<?xml version="1.0" standalone="no"?>\n<ROM IC="ADAU1451" IC_Address="1" Address_byte_length="2">\n <dateTime>20
INFO:root:preparing for memory update
ERROR:root:exception during EEPROM write: '@ParamName'
ERROR:root:'@ParamName'
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/hifiberrydsp/server/sigmatcp.py", line 445, in write_eeprom_content
KeyError: '@ParamName'
INFO:root:reading profile /var/lib/hifiberry/dspprogram.xml
INFO:root:caching program memory checksum
INFO:root:checksum memory: b'88[J]\x90u\x03\x07\xab\x94\xd6\x19\x10\r\x92', xmlfile: bytearray(b'~\x8c\x14\x87\xa59i\xaa$\x99\x1eY\x03\xe1]S')
ERROR:root:checksums do not match, aborting
INFO:root:writing XML file: b'<?xml version="1.0" standalone="no"?>\n<ROM IC="ADAU1451" IC_Address="1" Address_byte_length="2">\n <dateTime>20
INFO:root:preparing for memory update
ERROR:root:exception during EEPROM write: '@ParamName'
ERROR:root:'@ParamName'
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/hifiberrydsp/server/sigmatcp.py", line 445, in write_eeprom_content
KeyError: '@ParamName'
INFO:root:aborting
I'm not sure why the server is trying to read a different file as indicated in the logging: INFO:root:reading profile /var/lib/hifiberry/dspprogram.xml
I must have missed a step etc. Any tips?