we used 2 LS1-64 chip for our design , and we want
xmos chip 0 was master use flash boot
xmos chip 1 was slave use xb-link (2 wire) boot from xmos chip 0
we used debug were no problem happened (xmos chip 0 mode jump to JTAG)
but when we try to use xflash for download code to flash
almost time get this error message
xflash: Error: F03105 Node "1" is configured to boot from XMOSLINK but no device is configured to boot it.
by the way we never download code to flash and use SPI mode boot chip successful
we try 2mode always get fail
and short mode2.3 and TRST_n like EVB board still fail...
continue is my xn file
<?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>Board</Type>
<Name>XS1-L1A-LQ64</Name>
<Declarations>
<Declaration>core stdcore[2]</Declaration>
</Declarations>
<Packages>
<Package id="P1" Type="XS1-L1A-LQ64">
<Nodes>
<Node Id="0" InPackageId="0" Type="XS1-L1A" Oscillator="20MHz" SystemFrequency="400MHz">
<Core Number="0" Reference="stdcore[0]">
<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"/>
</Core>
<Boot>
<Source Location="SPI:bootFlash"/>
<Bootee NodeId="1"/>
</Boot>
</Node>
</Nodes>
</Package>
<Package id="P2" Type="XS1-L1A-LQ64">
<Nodes>
<Node Id="1" InPackageId="0" Type="XS1-L1A" Oscillator="20MHz" SystemFrequency="400MHz">
<Boot>
<Source Location="XMOSLINK"/>
</Boot>
<Core Number="0" Reference="stdcore[1]">
<!-- UART -->
</Core>
</Node>
</Nodes>
</Package>
</Packages>
<Links>
<Link Encoding="2wire" Delays="6,6">
<LinkEndpoint NodeId="0" Link="X0LB"/>
<LinkEndpoint NodeId="1" Link="X0LB"/>
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Core="0" Class="SPIFlash" Name="bootFlash" Type="AT25FS010">
<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="0"/>
<JTAGDevice NodeId="1"/>
</JTAGChain>
</Network>
2 chip link with xflash problem
-
- New User
- Posts: 3
- Joined: Tue Sep 20, 2011 11:40 am
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
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>Board</Type>
<Declarations>
<Declaration>core stdcore[2]</Declaration>
</Declarations>
<Packages>
<Package Id="P1" Type="XS1-L1A-LQ64">
<Nodes>
<Node Id="0" Type="XS1-L1A" InPackageId="0" Oscillator="20MHz" SystemFrequency="400MHz">
<Boot>
<Source Location="SPI:bootFlash"/>
<Bootee NodeId="1" Core="0"/>
</Boot>
<Core Number="0" Reference="stdcore[0]">
<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"/>
</Core>
</Node>
</Nodes>
</Package>
<Package Id="P2" Type="XS1-L1A-LQ64">
<Nodes>
<Node Id="1" Type="XS1-L1A" InPackageId="0" Oscillator="20MHz" SystemFrequency="400MHz">
<Boot>
<Source Location="XMOSLINK"/>
</Boot>
<Core Number="0" Reference="stdcore[1]"/>
</Node>
</Nodes>
</Package>
</Packages>
<Links>
<Link Encoding="2wire" Delays="6,6">
<LinkEndpoint NodeId="0" Link="X0LB"/>
<LinkEndpoint NodeId="1" Link="X0LB"/>
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Core="0" Class="SPIFlash" Name="bootFlash" Type="AT25FS010">
<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="0"/>
<JTAGDevice NodeId="1"/>
</JTAGChain>
</Network>
Only difference is <Bootee NodeId="1" Core="0"/>