From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31542 invoked by alias); 13 Apr 2013 23:21:38 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 31520 invoked by uid 89); 13 Apr 2013 23:21:37 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 13 Apr 2013 23:21:36 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 8AE664680011 for ; Sun, 14 Apr 2013 00:21:33 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SIOcjPOWVHav; Sun, 14 Apr 2013 00:21:29 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001397] I2C driver for Kinetis microcontrollers Date: Sat, 13 Apr 2013 23:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: ilijak@siva.com.mk X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: attachments.isobsolete Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg00052.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001397 Ilija Kocho changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #2179|0 |1 is obsolete| | Attachment #2182|0 |1 is obsolete| | --- Comment #48 from Ilija Kocho --- Created attachment 2183 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2183&action=edit I2C driver 130414 Mike I had assigned wrong pins for K60, no wonder why there's no clock. Now I have corrected them and I hope now it will work. I am on a trip so my testing ability is limited. You will notice some additions in the CDL. Since more than one frequency divider register setting may fit requested frequency, I added an option to choose a fit. You will find some other CDLs such as C2 register options, Glitch and SMB but they are not active in code. I guess SMB shall need considerable work and you can do better about SMB than me. But let's leave it off for the time being. We may remove SMB option for first release. Subsequent to this patch, I am posing another, HAL with corrected pin settings. Ilija (In reply to comment #47) > Created attachment 2182 [details] > Lock up from I2C > > Sadly, now that I have the correct symbolic link to the newly patched tree, > the code locks up on a condition as shown in the jpg. This occurs on the > first write transaction. The scope was set on single shot and there are no > clocks, as one would expect. > > I apologize for the mistake. I should have suspected something when I > imported my ecm and it did not complain about the change in the CDL from > period to frequency. -- You are receiving this mail because: You are on the CC list for the bug.