XLF208 XN file missng flash pins Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
aelder
Active Member
Posts: 37
Joined: Mon Sep 24, 2012 1:45 pm

XLF208 XN file missng flash pins

Post by aelder »

I'm working on a .xn file for custom hardware based on the XLF208.

I started with file XLF208-128-TQ64-C10 shipped with xTimeComposer tools. Since the XLF208 part has embedded flash, I was expecting to see sections that looked something like

Code: Select all

         <Boot>
            <Source Location="bootFlash"/>
          </Boot>
          <Tile Number="0" Reference="tile[0]">
            <Port Location="XS1_PORT_1B" Name="PORT_SQI_CS"/>
            <Port Location="XS1_PORT_1C" Name="PORT_SQI_SCLK"/>
            <Port Location="XS1_PORT_4B" Name="PORT_SQI_SIO"/>
          </Tile>
and

Code: Select all

  <ExternalDevices>
    <Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K">
      <Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
      <Attribute Name="PORT_SQI_SCLK"   Value="PORT_SQI_SCLK"/>
      <Attribute Name="PORT_SQI_SIO"  Value="PORT_SQI_SIO"/>
      <Attribute Name="QE_REGISTER" Value="quad_spi_qe_location_status_reg_0"/>
      <Attribute Name="QE_BIT" Value="quad_spi_qe_bit_6"/>
    </Device>
  </ExternalDevices>
But the above sections are missing. Is this pin specification done some other way that I am unaware of?

Thanks,
Andrew


View Solution
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Wow, that is an interesting observation. Indeed that section of the xn file is empty. Section 8 of the respective datasheet offers the details of this internal flash and how it is mapped.

Have you attempted to flash this internal device? If the empty xn file fails, consider to insert your definition using the port pins they note in the datasheet. Could be a toolchain typo so perhaps open a support ticket on the xmos.com website to receive proper closure on this case.
aelder
Active Member
Posts: 37
Joined: Mon Sep 24, 2012 1:45 pm

Post by aelder »

Thanks for the response. Yes, section 8 does look clear enough to me. I will open a support ticket.
matthew1
Active Member
Posts: 48
Joined: Mon Oct 19, 2015 2:12 pm

Post by matthew1 »

Looks a genuine issue to me, I'll follow up internally. In the short term, you could create a custom xn based on the XLF208-256-TQ64-C10.xn file (which is OK in 14.3.3) but change 256 to 128 where appropriate.

Cheers,

Matthew.
XMOS
aelder
Active Member
Posts: 37
Joined: Mon Sep 24, 2012 1:45 pm

Post by aelder »

On a related note, I see
xflash: Warning: F03149 QE_REGISTER and/or QE_BIT locations not found in XN file for this flash device. Using default quad_spi_qe_location_status_reg_0 and quad_spi_qe_bit_6.
Should these also be defined?
Post Reply