Flash Programming on eXplorer Kit

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

Flash Programming on eXplorer Kit

Postby alwalker » Wed Jul 03, 2019 11:48 am

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
Member
Posts: 15
Joined: Sun Apr 08, 2018 11:19 pm

Postby alwalker » Wed Jul 03, 2019 11:48 am

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: 1518
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Wed Jul 03, 2019 12:34 pm

Hi.

Which MacOS release are you on?

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

Do review the following threads:

viewtopic.php?t=6362

viewtopic.php?t=7003

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

Postby alwalker » Thu Jul 04, 2019 10:36 am

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
Member
Posts: 15
Joined: Sun Apr 08, 2018 11:19 pm

Postby alwalker » Sun Jul 07, 2019 10:54 am

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.

Who is online

Users browsing this forum: No registered users and 4 guests