Flash Programming on eXplorer Kit

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
Post Reply
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?
Attachments
Console Screenshot.png
(38.24 KiB) Not downloaded yet
Console Screenshot.png
(38.24 KiB) Not downloaded yet
Flash Configurations Screenshot.png
(94.46 KiB) Not downloaded yet
Flash Configurations Screenshot.png
(94.46 KiB) Not downloaded yet
Terminal Screenshot.png
(91.56 KiB) Not downloaded yet
Terminal Screenshot.png
(91.56 KiB) Not downloaded yet


alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Post by alwalker »

The Internal; Error Message
Attachments
Internal Error Screenshot.png
Internal Error Screenshot.png (27.36 KiB) Viewed 3736 times
Internal Error Screenshot.png
Internal Error Screenshot.png (27.36 KiB) Viewed 3736 times
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

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
(88.19 KiB) Not downloaded yet
xmos_flash_mac.png
(88.19 KiB) Not downloaded yet
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!
Attachments
XFlash Oprions Screenshot.png
(80.79 KiB) Not downloaded yet
XFlash Oprions Screenshot.png
(80.79 KiB) Not downloaded yet
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.
Attachments
XMOS Flash Successful.png
(160.55 KiB) Not downloaded yet
XMOS Flash Successful.png
(160.55 KiB) Not downloaded yet
Post Reply