Boot an XS1-L01A-TQ128 through its XlinkB
Posted: Fri Mar 30, 2012 9:04 am
Hi guys,
This post is linked to my last one (https://www.xcore.com/forum/viewtopic.php?f=26&t=1681). The goal is to link two XK-1A boards and make them boot on the same flash memory. There were two problems that made impossible to make a slave XK-1A boot on a master XK-1A memory flash via an Xlink : only XlinkB had to be used and I had to force the boot mode on "XlinkB mode", that meant put the pins of the XS1 Mode3/Mode2=10. I have made some changes on the boards to correct these two problems : now the slave XK-1A is connected to the master via its XlinkB, and I placed this board in the XlinkB boot mode. So for me, there is no more problems and this should work. But sadly it's not. When I turn on the boards, nothing happens (some leds on both boards should light one after the other). Do you have any explanations, things that I forgot?
Thanks
PS : you can take a look at my .xn file
This post is linked to my last one (https://www.xcore.com/forum/viewtopic.php?f=26&t=1681). The goal is to link two XK-1A boards and make them boot on the same flash memory. There were two problems that made impossible to make a slave XK-1A boot on a master XK-1A memory flash via an Xlink : only XlinkB had to be used and I had to force the boot mode on "XlinkB mode", that meant put the pins of the XS1 Mode3/Mode2=10. I have made some changes on the boards to correct these two problems : now the slave XK-1A is connected to the master via its XlinkB, and I placed this board in the XlinkB boot mode. So for me, there is no more problems and this should work. But sadly it's not. When I turn on the boards, nothing happens (some leds on both boards should light one after the other). Do you have any explanations, things that I forgot?
Thanks
PS : you can take a look at 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>Board</Type>
<Declarations>
<Declaration>core stdcore[2]</Declaration>
</Declarations>
<Packages>
<Package id="P1" Type="XS1-L1A-TQ128">
<Nodes>
<Node Id="Master" Type="XS1-L1A" InPackageId="0">
<Boot>
<Source Location="SPI:bootFlash_0"/>
<Bootee NodeId="Slave" Core="0"/>
</Boot>
<Core Number="0" Reference="stdcore[0]">
<Port Location="XS1_PORT_1I" Name="PORT_UART_RX_0"/>
<Port Location="XS1_PORT_1J" Name="PORT_UART_TX_0"/>
<Port Location="XS1_PORT_1K" Name="PORT_BUTTON_0_0"/>
<Port Location="XS1_PORT_1L" Name="PORT_BUTTON_1_0"/>
<Port Location="XS1_PORT_1M" Name="PORT_SPI_MISO_0"/>
<Port Location="XS1_PORT_1N" Name="PORT_SPI_SS_0"/>
<Port Location="XS1_PORT_1O" Name="PORT_SPI_CLK_0"/>
<Port Location="XS1_PORT_1P" Name="PORT_SPI_MOSI_0"/>
<Port Location="XS1_PORT_4F" Name="PORT_LED_0"/>
</Core>
</Node>
</Nodes>
</Package>
<Package id="P2" Type="XS1-L1A-TQ128">
<Nodes>
<Node Id="Slave" Type="XS1-L1A" InPackageId="0">
<Boot>
<Source Location="XMOSLINK"/>
</Boot>
<Core Number="0" Reference="stdcore[1]">
<Port Location="XS1_PORT_1I" Name="PORT_UART_RX_1"/>
<Port Location="XS1_PORT_1J" Name="PORT_UART_TX_1"/>
<Port Location="XS1_PORT_1K" Name="PORT_BUTTON_0_1"/>
<Port Location="XS1_PORT_1L" Name="PORT_BUTTON_1_1"/>
<Port Location="XS1_PORT_1M" Name="PORT_SPI_MISO_1"/>
<Port Location="XS1_PORT_1N" Name="PORT_SPI_SS_1"/>
<Port Location="XS1_PORT_1O" Name="PORT_SPI_CLK_1"/>
<Port Location="XS1_PORT_1P" Name="PORT_SPI_MOSI_1"/>
<Port Location="XS1_PORT_4F" Name="PORT_LED_1"/>
</Core>
</Node>
</Nodes>
</Package>
</Packages>
<Links>
<Link Encoding="2wire" Delays="4,4">
<LinkEndpoint NodeId="Master" Link="X0LD"/>
<LinkEndpoint NodeId="Slave" Link="X0LB"/>
</Link>
</Links>
<ExternalDevices>
<Device NodeId="Master" Core="0" Class="SPIFlash" Name="bootFlash_0" Type="AT25FS010">
<Attribute Name="PORT_SPI_MISO" Value="PORT_SPI_MISO_0"/>
<Attribute Name="PORT_SPI_SS" Value="PORT_SPI_SS_0"/>
<Attribute Name="PORT_SPI_CLK" Value="PORT_SPI_CLK_0"/>
<Attribute Name="PORT_SPI_MOSI" Value="PORT_SPI_MOSI_0"/>
</Device>
</ExternalDevices>
<JTAGChain>
<JTAGDevice NodeId="Master"/>
<JTAGDevice NodeId="Slave"/>
</JTAGChain>
</Network>