Search found 23 matches

by goodfeather
Sun Jan 08, 2017 11:57 am
Forum: Development Tools and Programming
Topic: lib_xtcp quessions
Replies: 1
Views: 2178

lib_xtcp quessions

Dear Sirs, When reading lib_xtcp source code, two questions trouble me: 1. In several places (such as xtcpd_service_client0(), xtcp_queue_event() of xtcp_server.xc), the xtcp_server will perform outct(xtcp, XS1_CT_END) and will wait for XS1_CT_END token in xtcpd_service_client0(). But I can not find...
by goodfeather
Mon Nov 28, 2016 4:00 pm
Forum: Development Tools and Programming
Topic: miiInterrupt exception
Replies: 10
Views: 12460

Re: miiInterrupt exception

Dear Peter,
Do you have any advice for custom exception handler? Or do you have a better way to deal with run time exception? I want to re-start the system when exception happens.

Thanks
by goodfeather
Fri Nov 25, 2016 7:18 am
Forum: Development Tools and Programming
Topic: miiInterrupt exception
Replies: 10
Views: 12460

Re: miiInterrupt exception

Dear Peter,
The unstable issue is due to our design bugs. We found out on your debugging advice.

Thanks
by goodfeather
Thu Nov 24, 2016 4:27 am
Forum: Development Tools and Programming
Topic: miiInterrupt exception
Replies: 10
Views: 12460

Re: miiInterrupt exception

Dear Peter,
Thanks for your help. We fix the unstable issue on lib_ethernet.

BTW, do you have any example code for customized exception handler? We want to reboot the system when exception.

Thanks
by goodfeather
Tue Nov 15, 2016 2:41 pm
Forum: Development Tools and Programming
Topic: miiInterrupt exception
Replies: 10
Views: 12460

Re: miiInterrupt exception

Dear Peter,
Sorry for me to confuse you. My last post shows you a Slicekit picture to see that Slicekit is OK in the same environment but XL208 is not. The disassembly of miiClientUser() is different.

I attached the files. Please kindly help check.

Thanks
by goodfeather
Tue Nov 15, 2016 11:27 am
Forum: Development Tools and Programming
Topic: miiInterrupt exception
Replies: 10
Views: 12460

Re: miiInterrupt exception

Dear Peter, Thanks for your quick reply! We also checked that lib_ethernet is double-word aligned. Now we want to run XL208 with module_ethernet instead of lib_ethernet due to some unstable issues. SliceKit is OK on the same Studio14 environment. The disassembly is different as the picture shows. If...
by goodfeather
Tue Nov 15, 2016 4:17 am
Forum: Development Tools and Programming
Topic: miiInterrupt exception
Replies: 10
Views: 12460

miiInterrupt exception

Dear Sirs, Due to troubles with lib_xtcp/lib_ethernet, we try to run X200 on module_ethernet and module_xtcp. An exception happens when miiInterruptHandler() calls miiClientUser() as the picture shows. Disassembly shows that the exception seems due to "std r5, r4, sp[0x0]" which asks for S...
by goodfeather
Fri Sep 16, 2016 2:35 pm
Forum: Getting started
Topic: i2c signalling?
Replies: 20
Views: 27822

Re: i2c signalling?

Dear Kumar,
Thanks for your help. We will move to Xcore200.

Best Regards
by goodfeather
Fri Sep 16, 2016 12:49 pm
Forum: Getting started
Topic: i2c signalling?
Replies: 20
Views: 27822

Re: i2c signalling?

Dear Kumar, I plan to use single port I2C design instead of two 1-bit ports. But after reading " module_i2c_single_port " and " lib_i2c3.1.6 "source code, I found XS1 can not perform reading registers from the slave device under these modules. To my understanding, if XS1 master c...
by goodfeather
Fri Sep 16, 2016 11:00 am
Forum: Getting started
Topic: i2c signalling?
Replies: 20
Views: 27822

Re: i2c signalling?

Dear Sirs,
After studying your discussion, I still do not know the reason why XS1 "module_i2c_single_port" can not perform reading registers from the slave device.

Could you please give me more details?

Thanks