Code: Select all
xcc -w -Xmapper --dontenablesodlinks -x xn "target-xn-v0-dcc00625" -O2 -lquadspi -D xnPORT_SQI_CS0=PORT_SQI_CS -D xnPORT_SQI_SCLK0=PORT_SQI_SCLK -D xnPORT_SQI_SIO0=PORT_SQI_SIO -x xc "fw-3a317d7a" -o "fw-ba84ee36"
XFlash_Utils::BuildRunCommand : xrun --io fw-ba84ee36
xrun: First stage multi-node boot failed, please check XN file and Xmos link connectivity
Error: F03013 Failed to run : 0x309240be0.
Code: Select all
xflash --erase-all
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Network xmlns="http://www.xmos.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xmos.com http://www.xmos.com" ManuallySpecifiedRouting="true">
<Type>Board</Type>
<Name>XS2 MC Audio</Name>
<Declarations>
<Declaration>tileref tile[2]</Declaration>
<Declaration>tileref usb_tile</Declaration>
</Declarations>
<Packages>
<Package id="0" Type="XS2-UEnA-512-FB236">
<Nodes>
<Node Id="0" InPackageId="0" Type="XS2-L16A-512" Oscillator="24MHz" SystemFrequency="500MHz" referencefrequency="100MHz">
<Boot>
<Source Location="SPI:bootFlash"/>
</Boot>
<Tile Number="0" Reference="tile[0]">
<Port Location="XS1_PORT_1B" Name="PORT_SQI_CS"/>
<Port Location="XS1_PORT_1C" Name="PORT_SQI_SCLK"/>
<Port Location="XS1_PORT_4B" Name="PORT_SQI_SIO"/>
<!-- Audio Ports -->
<Port Location="XS1_PORT_1A" Name="PORT_PLL_REF"/>
<Port Location="XS1_PORT_1D" Name="PORT_MCLK_IN"/>
<Port Location="XS1_PORT_1E" Name="PORT_I2S_LRCLK"/>
<Port Location="XS1_PORT_1F" Name="PORT_I2S_BCLK"/>
<Port Location="XS1_PORT_1G" Name="PORT_I2S_DAC0"/>
<port Location="XS1_PORT_1I" Name="PORT_I2S_DAC1"/>
<port Location="XS1_PORT_1K" Name="PORT_I2S_DAC2"/>
<port Location="XS1_PORT_1M" Name="PORT_I2S_DAC3"/>
<Port Location="XS1_PORT_1H" Name="PORT_I2S_ADC0"/>
<Port Location="XS1_PORT_1J" Name="PORT_I2S_ADC1"/>
<Port Location="XS1_PORT_1L" Name="PORT_I2S_ADC2"/>
<Port Location="XS1_PORT_1N" Name="PORT_I2S_ADC3"/>
<!-- <Port Location="XS1_PORT_4A" Name="PORT_I2C"/> -->
<!-- <Port Location="XS1_PORT_1M" Name="PORT_DSD_DAC0"/> -->
<!-- <port Location="XS1_PORT_1M" Name="PORT_DSD_DAC1"/> -->
<!-- <Port Location="XS1_PORT_1M" Name="PORT_DSD_CLK"/> -->
<!-- <Port Location="XS1_PORT_1M" Name="PORT_ADAT_OUT"/> D: COAX E: OPT -->
<!-- <Port Location="XS1_PORT_1M" Name="PORT_SPDIF_OUT"/> D: COAX E: OPT -->
</Tile>
<Tile Number="1" Reference="tile[1]">
<Port Location="XS1_PORT_1H" Name="PORT_USB_TX_READYIN"/>
<Port Location="XS1_PORT_1J" Name="PORT_USB_CLK"/>
<Port Location="XS1_PORT_1K" Name="PORT_USB_TX_READYOUT"/>
<Port Location="XS1_PORT_1I" Name="PORT_USB_RX_READY"/>
<Port Location="XS1_PORT_1E" Name="PORT_USB_FLAG0"/>
<Port Location="XS1_PORT_1F" Name="PORT_USB_FLAG1"/>
<Port Location="XS1_PORT_1G" Name="PORT_USB_FLAG2"/>
<Port Location="XS1_PORT_8A" Name="PORT_USB_TXD"/>
<Port Location="XS1_PORT_8B" Name="PORT_USB_RXD"/>
<!-- Audio Ports -->
<Port Location="XS1_PORT_16B" Name="PORT_MCLK_COUNT"/>
<Port Location="XS1_PORT_1O" Name="PORT_MCLK_IN_USB"/>
<Port Location="XS1_PORT_1M" Name="PORT_MIDI_IN"/>
<Port Location="XS1_PORT_1N" Name="PORT_MIDI_OUT"/>
<Port Location="XS1_PORT_1L" Name="PORT_ADAT_IN"/> <!-- P: COAX O: OPT -->
<Port Location="XS1_PORT_1P" Name="PORT_SPDIF_IN"/> <!-- P: COAX O: OPT -->
</Tile>
</Node>
<Node Id="1" InPackageId="1" Type="periph:XS1-SU" Reference="usb_tile" Oscillator="24MHz">
</Node>
</Nodes>
<Links>
<Link Encoding="5wire">
<LinkEndpoint NodeId="0" Link="8" Delays="52clk,52clk"/>
<LinkEndpoint NodeId="1" Link="XL0" Delays="1clk,1clk"/>
</Link>
</Links>
</Package>
</Packages>
<Nodes>
<Node Id="2" Type="device:" RoutingId="0x8000">
<Service Id="0" Proto="xscope_host_data(chanend c);">
<Chanend Identifier="c" end="3"/>
</Service>
</Node>
</Nodes>
<Links>
<Link Encoding="2wire" Delays="4,4" Flags="XSCOPE">
<LinkEndpoint NodeId="0" Link="XL0"/>
<LinkEndpoint NodeId="2" Chanend="1"/>
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="W25Q16DV" PageSize="256" SectorSize="4096" NumPages="8192">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_1"/>
<Attribute Name="QE_BIT" Value="flash_qe_bit_1"/>
</Device>
</ExternalDevices>
<JTAGChain>
<JTAGDevice NodeId="0"/>
<JTAGDevice NodeId="1"/>
</JTAGChain>
</Network>
and this is the makefile config I'm trying to run:
Code: Select all
INCLUDE_ONLY_IN_CUSTOM =
XCC_FLAGS_CUSTOM = $(BUILD_FLAGS) -DI2S_CHANS_ADC=8 \
-DI2S_CHANS_DAC=8 \
-DNUM_USB_CHAN_IN=8 \
-DNUM_USB_CHAN_OUT=8 \
-DXUA_PCM_FORMAT=XUA_PCM_FORMAT_TDM \
-DMAX_FREQ=48000 \
-DXUA_POWERMODE=XUA_POWERMODE_SELF \
-DMIXER=0 \
-DXUA_DFU_EN=0