Flash Programming on eXplorer Kit

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Flash Programming on eXplorer Kit

Post by alwalker »

I’m having problems programming the flash memory in the XC-200 eXplorer Kit development board using an executable file that I can run successfully on it via the Run Configurations. This is the first time that I’ve used the command line environment or tried to program the flash memory.

If I double-click on the SetEnv.command icon in MacOS Finder to launch a Terminal session, typing the xflash -l option to identify the connected JTAG adapter, then that works ok, but then attempting to flash the XC-200 eXplorer Kit from the command line results in a file not found, even though the .xe file exists in the Workspace.

xflash —id ID program.xe as described in Section 26.1 of the xTIMEcomposer User Guide results in the below error.


If I attempt to flash the eXplorer Board via the development environment, I get an internal error.

What am I missing please?
You do not have the required permissions to view the files attached to this post.
alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Post by alwalker »

The Internal; Error Message
You do not have the required permissions to view the files attached to this post.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

Hi.

Which MacOS release are you on?

Also can you share the details of the FLASH OPTIONS screen?

Do review the following threads:

https://www.xcore.com/viewtopic.php?t=6362

https://www.xcore.com/viewtopic.php?t=7003

xmos_flash_mac.png
You do not have the required permissions to view the files attached to this post.
alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Post by alwalker »

Hi, I'm running macOS Mojave 10.14.5. I've seen plenty of stability issues with xTIMEcomposer in the past, but at the moment it seems fine.

XFlash options screenshot attached.

Thanks very much!
You do not have the required permissions to view the files attached to this post.
alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Post by alwalker »

Problem solved, at least using the command line approach. So for anyone else in the same situation:

1) Double-click the SetEnv.command icon in macOS finder to launch Terminal

2) Use the xflash -l command to get the Adapter ID

3) Type xflash --id Adapter ID and drag the icon for the .xe file into Terminal so that the path to the .xe file is specified.
You do not have the required permissions to view the files attached to this post.