Control transfer failed: -1


#1

This error occurs anytime I try to play live any patches which make use of audio samples like sample drum machine.axp,
or using the play fn stereo object.
Any solutions?

block uploaded @ 0x20011000 length 12320
Done uploading patch
Start starting patch
Done starting patch
Start locking
Done locking
Control transfer failed: -1
Ping: WaitSync Timeout, disconnecting now
Disconnect request


#2

I have the same problem. I usually just disconnect the Micro USB cable and connect it again and then it is working. You almost have to do this every time you make a change to the patch and especially if you change the sample!

There can be other reasons too. I noticed also if I have 2 sample players loaded with the same sample in both, the patch doesn't compile at all. But it is another fail code for this one, just wanted to let you know.

Which platform are you on? I am on OSX.


#3

Yes I'm on OsX too but unfortunately your procedure doesn't work for me frowning
I've tried almost anything about disconnecting cables etc...


#4

Could you please post a picture of the patch?

Are you using subpatches with sample players in that patch?

Or do you have keyboard(for note, vel, etc.) or tables in subpatches in the patch?

I used the search function and found a little bit more about it:
https://sebiik.github.io/community.axoloti.com.backup/t/can-tables-be-used-in-subpatches-in-polyphonic-mode/


#5

Hi Jaffasplaffa,

thank you for your help!
No I'm not using any kind of sub patches or MIDI stuff, I'm trying to keep as simple as possibile so I can figure out exactly where's the problem in that. By now, this is the patch, sometimes it works, sometimes not...the Control transfer failed error doesn't appear anymore but the path still works random times


#6


#7

Hey Adrian!
I had similar problem i guess, i dont really remember exact error log but axoloti always crashed when i tried to to play a sample from microSD. I had a microSDHC and decided to try a plain microSD card and it works now.


#8

does this fail, sometimes , or every time ? and with all wave files ?

if you only get this with patches using the sd card, id go with @kausto and try another SD card (brand/type/size).


#9

My SD card is 8 gigs A Class. From what I read A class is the best for these task.


#10

Ha!

Mine is also SDHC and fails most of the time. I can get it working but with a lot of failed attempts by reconnecting Micro USB. I will try one normal one too.


#11

you just want the sample to play once after sending midi clock signal to Axo?


#12

Very strange issue not related with Control Transfer Failed: -1

I have two patches, same content, different names: AX1 and AX2.
AX1 loads and compile, AX2 loads but when compiling disconnect the Axoloti and never compile.
I'm going crazy.


#13

does the patch continue to play? i.e. has it just disconnected from the UI or has the board crashed?

so far, (excluding firmware dev) Ive the 4 most likely reasons for the board to crash are:

  • CPU load too high e.g. take a complex poly patch increase the number of voices, you may find it running ok at 10 voices (say at 95%), but at 11 voice it crashes. BUT this can also happen if the patch is doing something wrong.

  • using a lot of RAM e.g. delays/tables in RAM rather than SDRAM, you usually can get a link error but, at the 'edge' of limits you don't... this I think is because the stack grows down in used memory. (i.e. there is enough room for the table/delay but once the patch uses memory it runs out)

  • accessing invalid memory, usually not possible... unless you write C, but possible, i think probably related to above.

  • bug in an object/code - e.g. modulation sources in poly... (this is the only known issue I think so far) but probably SDCard related issues fall into this.

generally, if you have a patch crashing, first try to reduce the resources it uses (delays/tables sizes/cpu) and see if that helps.

(also lets be clear the different between compiling and crashing... if the patch fails to compile it should not be uploaded to the board, so cannot be run... unless bug in software :))


#14

I ran into this error a few times yesterday, power cycling and restarting the editor fixed it both times.


#15

I'm still having problems with audio files, all the patches where more than one audio files are present doesn't seems to be able to go in Live mode even disconnecting and reconnecting the Axoloti. I'm able to play two audio files but only very short ones.

At the same time, another similar error "Control transfer failed: -4" appears every time I map some MIDI parameters to my controller using a patch with audio files charged on the microSDHC. Any other get this kind of error when using a MIDI Controller?

I'm gonna try with a plain microSD 'cause it seems this could be the problem.


#16

I'm using SDHC 8 & 4Gb cards, seems pretty impossible to find standard microSD! Did you find on amazon or similar?


#17

I found a 4gb regular microsd card for $5 or so at Frys Electronics.


#18

I don't believe non-SDHC cards are any better.
To test if your card is fully working, create an empty patch, put a "wave/sdbenchmark" object in it, and run the patch, and you'll get some benchmark numbers.
The root of the problem seems to be specific to the wave/play family of objects. Perhaps a race condition... Stay tuned.


#19

well my patches crashes most of the Time
Control transfer failed: -9
Ping: WaitSync Timeout, disconnecting now .....what does that mean?


#20

the error messages are explained in the 'user guide' category.

these errors are all related to issue reported on another topic here

you'll be pleased to know, it looks like @johannes has a fix for it... (see other topic)

Im going to close this topic, as basically its now duplicating the other topic.... and if the fix works etc should be discussed on that topic.