programmer goes to "in use" under linux

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
VLoTech
New User
Posts: 3
Joined: Wed Aug 25, 2010 5:22 pm

programmer goes to "in use" under linux

Post by VLoTech »

Hi,

I've been struggling with debugging and running a simple project on the multichannel audio platform.
I'm running on linux and as soon as I try to flash/program the board, the debugger stops and tells another process is using the programmer.
I've checked if there's a second process running, but there isn't.

The only way to clear it, is by disconnecting all and retrying (and of course again without success).

Can somebody point me in the right direction?

Kind regards,
Vincent


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Not sure if this will help but review this thread which notes which distributions are working and some other small tweaks for the fonts:

http://www.xcore.com/viewtopic.php?f=47 ... nux#p30177

Do you have the required JRE version?
Java Runtime Environment (JRE) 1.6 or later
Linux 32-bit (requires 32-bit JRE)

Centos 6.6
Ubuntu 12.04 LTS
Ubuntu 14.04 LTS

Linux 64-bit (requires 64-bit JRE)

Centos 6.6
Ubuntu 12.04 LTS
Ubuntu 14.04 LTS
otherwise best to post more details of your setup so someone using Linux can assist. Personally, have to chase some other Linux demons tomorrow to cross compile for Windows (on Linux). This learning fun never ends...
VLoTech
New User
Posts: 3
Joined: Wed Aug 25, 2010 5:22 pm

Post by VLoTech »

Thanks for the info.

For the square characters, I had the same.

I did notice some messages in /var/log/syslog about VirtualBox wanted to claim or do something with the USB when attaching. Perhaps that is the cause.
I tested with 14.1.x version I did use previously and that did work, except after one run, Cinnamon crashes (so no desktop anymore...)

I am using Linux Mint 18.1 by the way.
User avatar
andrewxcav
Active Member
Posts: 62
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Post by andrewxcav »

Have you tried:

killall xrun xgdb

repeatedly until you get

"no such process"?
VLoTech
New User
Posts: 3
Joined: Wed Aug 25, 2010 5:22 pm

Post by VLoTech »

There was no xgdb running at all.
I've checked this.
Looks like the USB driver is claimed by something.

Does anyone know what the actual driver is, which is used. Or is it using /proc/bus/usb or similar?
User avatar
andrewxcav
Active Member
Posts: 62
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Post by andrewxcav »

Which version of the tools is it not working under? Also are you flashing a binary built with the same version?
Post Reply