xflash: Error: F03096

If you have a simple question and just want an answer.
tomb123
New User
Posts: 2
Joined: Tue Mar 15, 2016 6:08 pm

xflash: Error: F03096

Post by tomb123 »

Hi,

I'm currently trying to flash my XK-Audio-216-MC-AB dev board, and every time I try to flash this I get the following Error:

xflash: Error: F03096 Node "0" is configured to boot from a device but no suitable device was found.

I've used both the XE216 and XU216 (-512-TQ128-C20 Device) as the target in the Makefile, and have got the same result. This is also true when using the I20 Device.

I know the board is present as both device manager, and xTIMEcomposer 14.1.2 can see my device. Im not sure if this is a node lock if so I have no idea how to turn that off even that is what I needed to do?

Please could you advise a solution, as this issue along with the other issue I have posted regarding the error ".gdbinit: no such file or directory" causing debug to fail, has made the tools and the device all but useless.

Please note: I'm running windows 8.1, java SE dev kit 8 update 73


Choughtosh
Member++
Posts: 22
Joined: Thu Apr 10, 2014 9:39 am

Post by Choughtosh »

Good morning,

For the xFlash to be able to work, it needs to know what flash device is attached to the xCORE-200. This is specified in an .XN file. When you set the target in the makefile to a specific device like XU216-512-TQ128-C20, the .xn file which is used (which can be found in [XMOS_INSTALL_DIR]/targets) does not contain any information regarding the flash devices.

To provide the appropriate information to xFlash you need to specify the target in the makefile to point to the .xn file which describes your board. In the case of the Multichannel Audio board the appropriate XN file can be found in the USB Audio Reference design. Copy the .xn file from the app_usb_aud_xk_216_mc\src\core directory and reference as the target in the make file (as per the make file for the app_usb_aud_xk_216_mc application.

Rob
Kiran1605
Newbie
Posts: 1
Joined: Thu Jun 23, 2022 6:13 pm

Post by Kiran1605 »

Hi,
I'm having the same issue xflash: Error: F03096 Node "0" is configured to boot from a device but no suitable device was found.

The .xn file is in the project folder, but I still get this error message.

Is it possible to use the XU216 file instead of the XE216. The chip is the XE version, but I will only be using USB and no ethernet.

# The TARGET variable determines what target system the application is
# compiled for. It either refers to an XN file in the source directories
# or a valid argument for the --target option when compiling
TARGET = XU216-512-TQ128-C20

regards,
Kiran
User avatar
akp
XCore Expert
Posts: 567
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

Post your makefile and target file
Kiran1605
Newbie
Posts: 1
Joined: Thu Jun 23, 2022 6:13 pm

Post by Kiran1605 »

Hi,

thx for the response. I guess I have to define the JTAG device for NodeId="0" in the .xn file right? Not sure how to though.

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>Device</Type>
  <Name>XE216-512-TQ128-C20 Device</Name>

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

  <Packages>
    <Package id="0" Type="XS2-UnA-512-TQ128">
      <Nodes>
        <Node Id="0" InPackageId="0" Type="XS2-L16A-512" Oscillator="24MHz" SystemFrequency="500MHz" referencefrequency="100MHz"> //OscillatorSrc="1">
          <Tile Number="0" Reference="tile[0]"/>
          <Tile Number="1" Reference="tile[1]"/>
        </Node>
        <Node Id="1" InPackageId="1" Type="periph:XS1-SU" Reference="usb_tile" Oscillator="24MHz">
        </Node>
      </Nodes>
      <Links>
        <Link Encoding="5wire">
          <LinkEndpoint NodeId="0" Link="8" Delays="52clk,52clk"/>
          <LinkEndpoint NodeId="1" Link="XL0" Delays="1clk,1clk"/>
        </Link>
      </Links>
    </Package>
  </Packages>

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

</Network>

Code: Select all

# The TARGET variable determines what target system the application is
# compiled for. It either refers to an XN file in the source directories
# or a valid argument for the --target option when compiling
TARGET = XE216-512-TQ128-C20

# the project name
APP_NAME = Dac_Module_IV2_XU216
# The APP_NAME variable determines the name of the final .xe file. It should
# not include the .xe postfix. If lef

# The USED_MODULES variable lists other module used by the application.
USED_MODULES = 

# The flags passed to xcc when building the application
# You can also set the following to override flags for a particular language:
# XCC_XC_FLAGS, XCC_C_FLAGS, XCC_ASM_FLAGS, XCC_CPP_FLAGS
# If the variable XCC_MAP_FLAGS is set it overrides the flags passed to
# xcc for the final link (mapping) stage.
XCC_FLAGS = -O2 -g

# The XCORE_ARM_PROJECT variable, if set to 1, configures this
# project to create both xCORE and ARM binaries.
XCORE_ARM_PROJECT = 0

# The VERBOSE variable, if set to 1, enables verbose output from the make system.
VERBOSE = 1

XMOS_MAKE_PATH ?= ../..
-include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common
Last edited by Kiran1605 on Fri Jul 08, 2022 10:05 am, edited 1 time in total.
User avatar
akp
XCore Expert
Posts: 567
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

For this device I would create a new .xn file. If you start with the xk-audio-216-mc.xn that would probably work, depending on your flash. It seems like you're not using the embedded FLASH. https://www.xmos.ai/login?destination=/ ... .15.2).zip