From: Teboho N. <TNy...@cs...> - 2007-10-11 05:53:16
|
Hi Dave, I am using buildroot r1539. I modified one of your c programs (see attached= ) so that I could test the functions you committed to r1538. I am getting t= he following error: # modprobe i2c-dev i2c /dev entries driver # modprobe i2c-pxa : Enabling slave mode I2C: i2c-0: PXA I2C adapter, slave address 1 # ./i2c-hello i2c: error: exhausted retries i2c: msg_num: 0 msg_idx: -2000 msg_ptr: 0 i2c: ICR: 00002fe0 ISR: 00000002 i2c: log: [00000447:00002fe0] ERROR: I2cReceiveByte: ioctl failed: Remote I/O error (121) ERROR: I2cReceiveByte failed: -1 # Please help. regards Teboho >>> "Dave Hylands" <dhy...@gm...> 04/10/2007 09:43 >>> Hi Teboho, > I commited a new version of robostix/gumstix/Common/i2c-api.c with two > new functions: > I2cReceiveByte and I2cSendByte (these are in revision 1537). > > I've verified that they compile fine, but I don't have any way of testing= them. > Thanks Dave, I will test them. I realized that I forgot to add the prototypes to i2c-api.h, so I just added that as well (rev 1358) --=20 Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/=20 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/=20 _______________________________________________ gumstix-users mailing list gum...@li...=20 https://lists.sourceforge.net/lists/listinfo/gumstix-users --=20 This message is subject to the CSIR's copyright terms and conditions, e-mai= l legal notice, and implemented Open Document Format (ODF) standard.=20 The full disclaimer details can be found at http://www.csir.co.za/disclaime= r.html. This message has been scanned for viruses and dangerous content by MailScan= ner,=20 and is believed to be clean. MailScanner thanks Transtec Computers for the= ir support. |