Re: Question about socket

2018-01-01 Thread jameszxj
The problem is caused by the define of FD_SETSIZE The default FD_SETSIZE is 64 I redefine FD_SETSIZE or change select to poll, The tcp server runs correctly. -- Original -- From: "jameszxj";; Date: Thu, Dec 28, 2017 10:47 AM To: "rtems-us...@rtems.org"; Su

Re: Re: The system initialization API

2018-01-01 Thread bin.w...@qkmtech.com
sorry, i did not find it in what you said in cpukit/ bin.w...@qkmtech.com From: Joel Sherrill Date: 2017-12-30 01:41 To: bin.wang CC: rtems-us...@rtems.org Subject: Re: The system initialization API On Dec 28, 2017 8:24 PM, "bin.w...@qkmtech.com" wrote: hi when i read the rtems c user pdf

libi2c causes board to halt

2018-01-01 Thread William Busacker
I'm having an issue with libi2c causing my program to completely halt. Basic setup it this: I have multiple tasks each running their own rate monotonic with modes all interupts, timeslicing, and preemption, with one task making calls to an SPI driver using libi2c. At times after an spi transact