xflash: Warning: F03148 --quad-spi-clock not given, using default 15.62MHz

Technical questions regarding the XTC tools and programming with XMOS.
Sanjeev
Member++
Posts: 16
Joined: Thu Jan 19, 2017 8:34 am

Post by Sanjeev »

Hello Colin,
I am using a custom board using XEF232; It has an Internal flash of 2MBytes (IS25LQ016B), I flashed using the 14.3.3. XTime Composer with --quad-spi-clock=25Mhz; I am able execute and run my application using XTAG/JTAG but the same application is not running when flashed to the internal flash memory.
Can you throw some light on this..

Also is there a way, that I can use debug messages in the flashmode to o/p printf messages? In case yes, how?
Thanks,
Sanjeev


User avatar
rcalhoun
Junior Member
Posts: 5
Joined: Mon Sep 21, 2020 2:29 pm

Post by rcalhoun »

colin wrote: Mon Jun 05, 2017 9:33 am XFLASH in tools 14.3 is using a new lib_quad_spi library that is soon to be published on our XMOS github repository....

Code: Select all

  <ExternalDevices>
    <Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="IS25LQ032B">
      <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>
  
Updating an old post: with XMOS_XTC_15.1.4 it appears the QSPI flash attributes have changed to (for the XUF216-512-TQ128):

Code: Select all

  <ExternalDevices>
    <Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="IS25LP016D" PageSize="256" SectorSize="4096" NumPages="8192">
      <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="flash_qe_location_status_reg_0"/>
      <Attribute Name="QE_BIT" Value="flash_qe_bit_6"/>
    </Device>
  </ExternalDevices>
-Rob