Search found 158 matches
- Mon Jan 02, 2017 11:38 am
- Forum: Development Tools and Programming
- Topic: AN00120_100Mbit_ethernet_demo crashes
- Replies: 6
- Views: 6650
Re: AN00120_100Mbit_ethernet_demo crashes
Ah, I see. It gets ARP/IP packets. Not sure what is meant with "line rate" and no clue about IFG. When If its a 100 mbps version, I meant this as line rate; with IFG being the inter-frame gap as per the spec, but host python script may not ve control on this parameter. When I remove the &q...
- Sun Jan 01, 2017 8:46 pm
- Forum: Development Tools and Programming
- Topic: AN00120_100Mbit_ethernet_demo crashes
- Replies: 6
- Views: 6650
Re: AN00120_100Mbit_ethernet_demo crashes
Hi, The demo filters ARP and ICMP packets and hence there won't be any rx.packet_ready() events for UDP packets to this core! Btw, where exactly the below code is added, inside the same case()? { timer tmr; unsigned t; tmr :> t; tmr when timerafter(t + XS1_TIMER_MHZ * 200) :> void; } regards, /srinie
- Sun Jan 01, 2017 8:25 pm
- Forum: Development Tools and Programming
- Topic: AN00120_100Mbit_ethernet_demo crashes
- Replies: 6
- Views: 6650
Re: AN00120_100Mbit_ethernet_demo crashes
Hi Sternmull, Just a note if that could be of any use: While the Ethernet component would 've been tested for line rate, there could be a suspicion on the data rate that the device receives. Is it possible to check the IFG of the packets from the host once? A delay at the host sends in the while(1) ...
- Mon Aug 29, 2016 7:50 pm
- Forum: Development Tools and Programming
- Topic: __XS2A__?
- Replies: 4
- Views: 5125
Re: __XS2A__?
Hi, If your target platform is using XS2 devices, then this macro check becomes true (expanded in xml file I believe!? during build time). In specific i2c_master_single_port.xc file, this check "__XS2A__" facilitates the following: Since XS2 devices support dual fetch and execute, I presum...
- Mon Aug 29, 2016 7:35 pm
- Forum: Development Tools and Programming
- Topic: REFERENCE_PARAM()?
- Replies: 4
- Views: 4321
Re: REFERENCE_PARAM()?
Please refer to xccompat.h from the toolchain install folder::
#ifdef __XC__
#define REFERENCE_PARAM(type, name) type &name
#else
#define REFERENCE_PARAM(type, name) type *name
#endif
Useful for api defines when used across *.xc and *.c files.
#ifdef __XC__
#define REFERENCE_PARAM(type, name) type &name
#else
#define REFERENCE_PARAM(type, name) type *name
#endif
Useful for api defines when used across *.xc and *.c files.
- Mon Aug 29, 2016 7:32 pm
- Forum: Development Tools and Programming
- Topic: To receive data under xtcp_ack_recv_mode
- Replies: 2
- Views: 3293
Re: To receive data under xtcp_ack_recv_mode
Hi,
As xtcp_ack_recv_mode() closes the connection on the socket temporarily till the client issues xtcp_ack_recv(), this is to be followed whenever we get new data from xtcp server.
Regards,
/srinie
As xtcp_ack_recv_mode() closes the connection on the socket temporarily till the client issues xtcp_ack_recv(), this is to be followed whenever we get new data from xtcp server.
Regards,
/srinie
- Fri Apr 01, 2016 10:31 am
- Forum: Other Applications
- Topic: AVB Endpoint with DSP
- Replies: 1
- Views: 3682
Re: AVB Endpoint with DSP
Hi, Based on few of my test trials, AVB_6.1.1 configured for 8 channels, 48Khz, 24-bit should work out of box. But having 5 sec audio delay is a huge memory and could call fo SDRAM addition, and if so, would be tight to accomodate hw and processing wise. Examples for delay and Eq functions on XS1 de...
- Fri Apr 01, 2016 10:20 am
- Forum: Development Tools and Programming
- Topic: QuadFlash incompatible with lib_webserver?
- Replies: 3
- Views: 4202
Re: QuadFlash incompatible with lib_webserver?
Hi,
My understanding is that when flash usage switch is suppressed in lib_webserver, flash ports would be passed as null and hence should not cause any issue while build.
Can you post the error/simple project to build and check?
Regards,
srinie
My understanding is that when flash usage switch is suppressed in lib_webserver, flash ports would be passed as null and hence should not cause any issue while build.
Can you post the error/simple project to build and check?
Regards,
srinie
- Fri Apr 01, 2016 10:13 am
- Forum: Development Tools and Programming
- Topic: sw_serial_to_ethernet.zip(2.1.0) exception issue
- Replies: 5
- Views: 5128
Re: sw_serial_to_ethernet.zip(2.1.0) exception issue
Hi, The channel resource looks fine from the snapshot. Can you check if your telnet sockets are active at the time of crash? It will be good to check the states of other cores as well - can you post the dumpstate? What is the actual setup? Is the device directly connected to the Win host? Does the i...
- Tue Mar 01, 2016 6:13 am
- Forum: Q&A
- Topic: Does lib_i2c support I2C on 2 different 4-bit ports
- Replies: 3
- Views: 5377