XEF232 custom board, is not booting from internal flash of 2mb

New to XMOS and XCore? Get started here.
New User
Posts: 2
Joined: Thu Jan 19, 2017 8:34 am

XEF232 custom board, is not booting from internal flash of 2mb

Postby Sanjeev » Sun Apr 07, 2019 10:25 am

We have created a custom board using XEF232. It has internal flash of 2MB. I am able to flash (using xTime composer 14.3.3) on the internal flash memory, but the unit is not booting from its internal flash. Do I need to write my own bootloader?

Thanks in advance..

The xn file generated out of xTime Composer14.3.3, is as below:

<?xml version="1.0" encoding="UTF-8"?>
<Network xmlns="http://www.xmos.com"
xsi:schemaLocation="http://www.xmos.com http://www.xmos.com">
<Name>XEF232-1024-FB374-C40 Device</Name>

<Declaration>tileref tile[4]</Declaration>
<Declaration>tileref usb_tile[2]</Declaration>

<Package id="0" Type="XS2-UEFnA-1024-FB374">
<Node Id="0" InPackageId="0" Type="XS2-L16A-512" SystemFrequency="500MHz" OscillatorSrc="1">
<Source Location="bootFlash0"/>
<Bootee NodeId="2"/>
<Tile Number="0" Reference="tile[0]">
<Port Location="XS1_PORT_1B" Name="PORT_SQI_CS_0"/>
<Port Location="XS1_PORT_1C" Name="PORT_SQI_SCLK_0"/>
<Port Location="XS1_PORT_4B" Name="PORT_SQI_SIO_0"/>
<Tile Number="1" Reference="tile[1]"/>
<Node Id="2" InPackageId="2" Type="XS2-L16A-512" SystemFrequency="500MHz" OscillatorSrc="3">
<Source Location="LINK" BootMode="4"/>
<Tile Number="0" Reference="tile[2]"/>
<Tile Number="1" Reference="tile[3]"/>
<Node Id="1" InPackageId="1" Type="periph:XS1-SU" Reference="usb_tile[0]">
<Node Id="3" InPackageId="3" Type="periph:XS1-SU" Reference="usb_tile[1]">
<Link Encoding="5wire" Delays="3clk">
<LinkEndpoint NodeId="0" Link="7"/>
<LinkEndpoint NodeId="2" Link="0"/>
<Link Encoding="5wire" Delays="3clk">
<LinkEndpoint NodeId="0" Link="4"/>
<LinkEndpoint NodeId="2" Link="3"/>
<Link Encoding="5wire" Delays="3clk">
<LinkEndpoint NodeId="0" Link="6"/>
<LinkEndpoint NodeId="2" Link="1"/>
<Link Encoding="5wire" Delays="3clk">
<LinkEndpoint NodeId="0" Link="5"/>
<LinkEndpoint NodeId="2" Link="2"/>
<Link Encoding="5wire">
<LinkEndpoint NodeId="0" Link="8" Delays="52clk,52clk"/>
<LinkEndpoint NodeId="1" Link="XL0" Delays="1clk,1clk"/>
<Link Encoding="5wire">
<LinkEndpoint NodeId="2" Link="8" Delays="52clk,52clk"/>
<LinkEndpoint NodeId="3" Link="XL0" Delays="1clk,1clk"/>

<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash0">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS_0"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK_0"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO_0"/>

<JTAGDevice NodeId="0"/>
<JTAGDevice NodeId="2"/>

User avatar
XCore Addict
Posts: 243
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Tue Apr 23, 2019 4:28 pm

As a quick check, did you ensure X0D01 has a 1K pull-up to VDDIO per the data sheet?

Who is online

Users browsing this forum: No registered users and 0 guests