Which XMOS audio board do you have ? Is it from XMOS or XMOS based but 3rd party ?
Please review the markings on the IC, p/n
XU
F216-512-TQ128-C20 ; will have internal flash
XU216-512-TQ128-C20 ; will require an external flash
XFLASH stuff..
https://www.xmos.com/support/tools/docu ... ion=latest
http://www.xcore.com/viewtopic.php?f=26&t=2647
Use this document (2016 datecode vs another document which is still active and perhaps stale as it is marked with a 2013 datecode):
https://www.xmos.com/download/private/X ... 74B%29.pdf
We recommend that you test with gentle non-destructive SPI commands to the flash device such as "read the flash ID"
Code: Select all
--spi-read-id cmd
Reads the spi manufacturer’s id from the attached device. The
cmd can be obtained from the spi manufacturer’s datasheet. If there is more than one device in a network
then all id’s will be returned.
The xflash tool depends on the proper SPI pin definition from your .XN file when you compile your source code. Using this information, the tool can communicate with the target SPI flash memory device. In some cases, you can take advantage of the QSPI memory speed vs. standard and slower SPI commands. Varying with your project and code size, there is a benefit to consider QSPI mode where available.
Once you relay the details of your XMOS audio board, can review which device is soldered onto the PCB. Suspecting you have the XUF216 series which features an internal flash memory device.
Update:
1) start with ONLY read commands till you have the comfort of knowing that you are chatting reliably with the flash device
ie. read flash ID is a great start
2) then progress to dumping the flash memory to a target file (binary format is standard by the tool)
3) repeat with another filename for the dump read.
4) Use a freeware binary tool and compare the 2 image files to be sure they are 100% the same
5) only if the files match and look to be logical in size -> then consider to erase and apply your custom firmware
If your board is from XMOS then the firmware should be floating around somewhere here on the xmos.com website already. At the very least you should be able to recompile from the source code to build up the "original XMOS IP". If you do indeed have an external flash device, consider to extract from the IC directly - that is what we did for one of the XMOS board to be extra safe. Now have some zero force ZIF sockets for the 8 pin SOIC footprint to allow for production.