Page 1 of 1

Can't compile AVB Daisy Chain Firmware

Posted: Wed Aug 03, 2016 12:29 pm
by JohnnyRoehn
Hello,

I am having problems in compiling the default AVB Daisy Chain Firmware (v.1.0.6). I am using xTimeComposer v14.2.0 and I always get the error "passing non-local alias to function `acmp_send_response' which accesses a global variable" at line 485 of file avb_1722_1_acmp_periodic.xc. I have highlighted the line in the code:

Code: Select all

int i = acmp_inflight_timeout_idx[LISTENER];
            avb_1722_1_acmp_inflight_command *inflight = &acmp_listener_inflight_commands[i];
            if (inflight->retried)
            {
                inflight->command.sequence_id = inflight->original_sequence_id;
                // + 7 of the message_type transforms a CONNECT_TX_COMMAND to a CONNECT_RX_RESPONSE etc.
              ------->  acmp_send_response(inflight->command.message_type + 7, &inflight->command, ACMP_STATUS_LISTENER_TALKER_TIMEOUT, c_tx); <------
                // Remove inflight command
                inflight->in_use = 0;
Anyone having the same problem? I haven't changed anything from the default firmware provided on the website...

Re: Can't compile AVB Daisy Chain Firmware

Posted: Wed Aug 03, 2016 3:11 pm
by infiniteimprobability
Hi, the DC software is a an older snapshot of the AVB IP and, looking at the docs, it was tested using tools 13.
I quickly tried a few versions of the tools 14 and ran into the same issue you report.

However, I downloaded version 13.2.3 from here:

https://www.xmos.com/support/tools/archive

and it built OK. I suggest doing this as there were a lot of big changes to the tools from major version 13->14...

Re: Can't compile AVB Daisy Chain Firmware

Posted: Fri Aug 05, 2016 5:12 pm
by larry
As infiniteimprobability pointed out, DC is an older version that is not supported on tools version newer than 13

Re: Can't compile AVB Daisy Chain Firmware

Posted: Thu May 11, 2017 7:59 pm
by ahogen
Sorry to necropost...

Any idea if the AVB/TSN Daisy Chain firmware will be re-written for the new XMOS libraries, new xTIMEcomposer toolchain, and xCORE-200 parts?

Thanks!