Having trouble using the xflash command --image-search-sector. When I type:
xflash --image-search-sector
I get:
Error: F03089 When multiple upgrade images and no global factory image is specified a target must be specified with --target.!!
Next, tried creating a my-xmos.xn file and put it in C:\Program Files (x86)\XMOS\xTIMEcomposer\Community_14.3.2\targets\MY-XMOS/ folder...
xflash --image-search-sector --target MY-XMOS
I get:
Error: F03021 No Factory or Upgrade image to build.
my-xmos.xn file attached.
Anyone know how to use --image-search-sector???
Thanks,
John
--image-search-sector usage?
-
- Junior Member
- Posts: 5
- Joined: Thu Sep 26, 2013 11:59 am
--image-search-sector usage?
You do not have the required permissions to view the files attached to this post.
-
- Active Member
- Posts: 62
- Joined: Mon Jun 10, 2013 2:14 pm
The XFLASH manual says --image-search-sector is the default mode as of tools 14.2.
What are you trying to do with xflash?
What are you trying to do with xflash?
-
- Junior Member
- Posts: 5
- Joined: Thu Sep 26, 2013 11:59 am
Based on the description of the command in the Xflash manual, I was hoping --image-search-sector and/or --image-search-page would tell us what version(s) of bootable images are in the Flash. I'm testing various field upgrade routines and looking for a convenient way to know if they are working. I'm also working with a remote partner who is doing some testing and they are not XMOS-literate... thought --image-search-sector might be a convenient way for them to know what version they are running. Might even be helpful when I receive a board in from a customer. I just cant seem to figure out how to make the command work and there is precious little info online. Thanks.
-
- Active Member
- Posts: 62
- Joined: Mon Jun 10, 2013 2:14 pm
Use the libflash API to iterate through the available images in the flash. See app_flash_util for an example. It may already be compatible with your board.