16 Mar
2015
16 Mar
'15
6:13 p.m.
On 03/16/2015 05:25 PM, Takashi Sakamoto wrote: [..]
We can see the data in 7th MBLA data channel influences data in next data block (data block is represented as 'frame' in driver code). The pattern is what you discovered. In my understanding, this is the lack of my implementation.
Do you mean this issue?
yes, precisely.
Though from the information Damien sent me it looked like it wraps around in the current frame, rather then progress to the next..
Anyway, in this case the original code at https://github.com/x42/003amdtp is also wrong and the driver will have to allocate space for the state and retain it for subsequent calls. Using a static on the stack won't work in case someone has multiple of those devices.
best, robin