10.4 flash programming failure with xtag-2

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
Active Member
Posts: 51
Joined: Fri Jan 29, 2010 4:36 pm

10.4 flash programming failure with xtag-2

Postby boeserbaer » Fri Jul 16, 2010 7:32 pm

Anyone having any luck using 10.4 to program their flash? 9.9.2 works fine. I am bringing up a new board, and it wouldn't program the flash. Tried programming the flash on my XK-1 same problem. Ok now for really weird, I went back to 10.4 and attempted to program the flash and it works.

What is different? I suspect that it is because I created my project in 9.9.2, then cleaned and rebuilt in 10.4. Failure on both XK-1 and custom boards was after creating both projects in 10.4.

Hopefully it will keep working.

For reference my working xn file:

<?xml version="1.0" encoding="UTF-8"?>
<Network xmlns="http://www.xmos.com"
xsi:schemaLocation="http://www.xmos.com http://www.xmos.com">
<Name>XK-1 Development Board</Name>

<Declaration>core stdcore[1]</Declaration>

<Node Id="0" Type="XS1-L1A" Oscillator="20MHz" SystemFrequency="400MHz">
<Source Location="SPI:bootFlash"/>
<Core Number="0" Reference="stdcore[0]">
<Port Location="XS1_PORT_1I" Name="PORT_UART_RX"/>
<Port Location="XS1_PORT_1J" Name="PORT_UART_TX"></Port>

<Port Location="XS1_PORT_4E" Name="PORT_COMM_SETTINGS"/>
<Port Location="XS1_PORT_8D" Name="PORT_DISPLAY_DATA"/>

<Port Location="XS1_PORT_4F" Name="PORT_DISPLAY_CONTROL"/>
<Port Location="XS1_PORT_1B" Name="PORT_SPI_SS"></Port>
<Port Location="XS1_PORT_1C" Name="PORT_SPI_CLK"/>
<Port Location="XS1_PORT_1D" Name="PORT_SPI_MOSI"/>

<Port Location="XS1_PORT_1A" Name="PORT_SPI_MISO"></Port>
<Port Location="XS1_PORT_4A" Name="PORT_SPI1_SS"></Port>
<Port Location="XS1_PORT_1E" Name="PORT_SPI1_CLK"></Port>
<Port Location="XS1_PORT_1F" Name="PORT_SPI1_MISO"></Port>
<Port Location="XS1_PORT_1G" Name="PORT_SPI1_MOSI"></Port>
<Port Location="XS1_PORT_32A" Name="PORT_GP_INPUTS"></Port>

<Package id="0" Type="XS1-L1A-TQ128">
<Component NodeId="0" InPackage="0"/>


<Device NodeId="0" Core="0" Class="SPIFlash" Name="bootFlash" Type="AT25DF041A">
<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"/>

<JTAGDevice NodeId="0"/>

User avatar
Posts: 30
Joined: Sat Dec 12, 2009 7:14 pm
Location: Silicon Valley

Postby Jerry » Fri Jul 16, 2010 8:23 pm

I have successfully programmed the flash on my SparkFun board using 10.4.

Who is online

Users browsing this forum: No registered users and 2 guests