Page 1 of 1

Flash Programming on eXplorer Kit

Posted: Wed Jul 03, 2019 11:48 am
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?

Re: Flash Programming on eXplorer Kit

Posted: Wed Jul 03, 2019 11:48 am
by alwalker
The Internal; Error Message

Re: Flash Programming on eXplorer Kit

Posted: Wed Jul 03, 2019 12:34 pm
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

Re: Flash Programming on eXplorer Kit

Posted: Thu Jul 04, 2019 10:36 am
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!

Re: Flash Programming on eXplorer Kit

Posted: Sun Jul 07, 2019 10:54 am
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.