Hi,
I programmed an Explorer Kit module using xflash --id 'adapter ID' filename.xe and would like to erase it.
I've looked at the xTIMEcomposer guide xflash command line chapter, but it doesn't give full syntax examples.
I've tried xflash --id 'adapter ID' --target XCORE-200-EXPLORER.xn --erase-all but get the attached error in Bash, can anyone help please?
Thanks in advance,
Al
Syntax for erasing Explorer Kit flash Topic is solved
-
- Experienced Member
- Posts: 83
- Joined: Sun Apr 08, 2018 11:19 pm
Syntax for erasing Explorer Kit flash
You do not have the required permissions to view the files attached to this post.
View Solution
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Can you apply the --verbose flag to the command line and post the detailed log?
-
- Experienced Member
- Posts: 83
- Joined: Sun Apr 08, 2018 11:19 pm
Thanks very much for the reply, please see attached. I tried a couple of variations of the sequence with the --verbose flag option, but with no effect.
Cheers,
Al
Cheers,
Al
You do not have the required permissions to view the files attached to this post.
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Hi. I knew I was forgetting something about your posted syntax...after some digging, found the relevant post from Sethu (formerly of XMOS):
review if the file name for the target kit XN file is 100% as you are passing to this command line utility and use:
xflash --target-file XCORE-200-EXPLORER.xn --erase-all
Please post your results.
So:If you want to specify a target based on list of targets which are available in XMOS tools, you need to specify as below:
xflash --target <target_file> <binary.xe> ; here you can pass a kit macro name (if one exists)
you can get the list of installed targets from the following directory:
XMOS_xTIMEcomposer_Enterprise_13.2.0/targets/
But If you want to flash to custom board, you need to specify the target file as shown below:
xflash --target-file custom.xn <binary.xe>
review if the file name for the target kit XN file is 100% as you are passing to this command line utility and use:
xflash --target-file XCORE-200-EXPLORER.xn --erase-all
Please post your results.
-
- Experienced Member
- Posts: 83
- Joined: Sun Apr 08, 2018 11:19 pm
Hi,
Thanks very much, I've been able to erase the flash on the Explorer Kit successfully.
The only issue was that I found that I had to drag the .xn file into macOS Terminal to fully specify the file path for the xflash command to be able to find it.
Kind regards,
Al
Thanks very much, I've been able to erase the flash on the Explorer Kit successfully.
The only issue was that I found that I had to drag the .xn file into macOS Terminal to fully specify the file path for the xflash command to be able to find it.
Kind regards,
Al
You do not have the required permissions to view the files attached to this post.