I need help with a new board that I build. I took the XS1-A16A-128-FB217 silicon and I created the layout like the datasheet on page 31 with XSCOPE.
PIN 6 -> XLB1 out ( 33 Ohm )
PIN 10 -> XLB0 out ( 33 Ohm )
PIN 14 -> XLB0 in
PIN 18 -> XLB1 in
I use the XMOS xTAG3 to program the IC and it works fine. But, if I want to flash the SPI I get following error message: ( xTIMEcomposer 14.1.2 )
xrun: First stage multi-node boot failed, please check XN file and Xmos link connectivity
Now my question. Can anyone help me with my XN-File?
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">
  <Type>Device</Type>
  <Name>XS1-A16A-128-FB217-C10 Device</Name>
  <Declarations>
    <Declaration>tileref tile[2]</Declaration>
    <Declaration>tileref analog_tile</Declaration>
  </Declarations>
  <Packages>
    <Package ID="0" Type="XS1-AnA-128-FB217">
      <Nodes>
        <Node Id="0" InPackageId="0" Type="XS1-L8A-64" OscillatorSrc="2" SystemFrequency="500MHz">
          <Boot>
            <Source Location="SPI:bootFlash" />
            <Bootee NodeId="1" Tile="0"/>
          </Boot>
          <Tile Number="0" Reference="tile[0]">
            <!-- SPI Ports -->
            <Port Location="XS1_PORT_1A" Name="PORT_SPI_MISO"/>
            <Port Location="XS1_PORT_1B" Name="PORT_SPI_SS"/>
            <Port Location="XS1_PORT_1C" Name="PORT_SPI_CLK"/>
            <Port Location="XS1_PORT_1D" Name="PORT_SPI_MOSI"/>
           <!--   <Port Location="XS1_PORT_8D" Name="PORT_SPI_DISABLE"/>      -->
          </Tile>
        </Node>
        <Node Id="1" InPackageId="1" Type="XS1-L8A-64" OscillatorSrc="2" SystemFrequency="500MHz">
        <Boot>
          <Source Location="LINK"/>
        </Boot>
          <Tile Number="0" Reference="tile[1]"/>
        </Node>
        <Node Id="2" InPackageId="2" Type="periph:XS1-SU" Reference="analog_tile" Oscillator="24MHz">
          <Service Proto="xs1_a_adc_service(chanend c)">
            <Chanend Identifier="c" end="2" remote="31"/>
          </Service>
        </Node>
      </Nodes>
    </Package>
  </Packages>
  <Nodes>
    <Node Id="3" Type="device:" routingId="0x8000">
      <Service Id="0" Proto="xscope_host_data(chanend c);">
        <Chanend Identifier="c" end="3"/>
      </Service>
    </Node>
  </Nodes>
  <Links>
    <Link Encoding="5wire" Delays="0,1">
      <LinkEndpoint NodeId="0" Link="XLG"/>
      <LinkEndpoint NodeId="1" Link="XLF"/>
    </Link>
    <Link Encoding="5wire" Delays="0,1">
      <LinkEndpoint NodeId="0" Link="XLH"/>
      <LinkEndpoint NodeId="1" Link="XLE"/>
    </Link>
    <Link Encoding="5wire" Delays="0,1">
      <LinkEndpoint NodeId="0" Link="XLE"/>
      <LinkEndpoint NodeId="1" Link="XLH"/>
    </Link>
    <Link Encoding="5wire" Delays="0,1">
      <LinkEndpoint NodeId="0" Link="XLF"/>
      <LinkEndpoint NodeId="1" Link="XLG"/>
    </Link>
    <Link Encoding="5wire">
      <LinkEndpoint NodeId="0" Link="XLC" Delays="52clk,52clk"/>
      <LinkEndpoint NodeId="2" Link="XLC" Delays="1clk,1clk"/>
    </Link>
    <Link Encoding="2wire" Delays="5clk" Flags="XSCOPE">
      <LinkEndpoint NodeId="0" Link="X0LB" />
      <LinkEndpoint NodeId="3" Chanend="1" />
    </Link>
  </Links>
  <ExternalDevices>
    <Device NodeId="0" Tile="0" Name="bootFlash" Class="SPIFlash" Type="S25FL204K">
      <Attribute Name="PORT_SPI_MISO" Value="PORT_SPI_MISO" />
      <Attribute Name="PORT_SPI_SS" Value="PORT_SPI_SS" />
      <Attribute Name="PORT_SPI_CLK" Value="PORT_SPI_CLK" />
      <Attribute Name="PORT_SPI_MOSI" Value="PORT_SPI_MOSI" />
    </Device>
  </ExternalDevices>
  <JTAGChain>
    <JTAGDevice NodeId="2"/>
    <JTAGDevice NodeId="0"/>
    <JTAGDevice NodeId="1"/>
  </JTAGChain>
</Network>
Many thanks in advance for any help!
Best regards
Schorsch
